Home
last modified time | relevance | path

Searched refs:kvzalloc_node (Results 1 – 22 of 22) sorted by relevance

/linux-6.14.4/scripts/coccinelle/api/
Dkvmalloc.cocci191 - E = kvzalloc_node(size, flags, node);
194 + E = kvzalloc_node(size, flags, node);
197 - E = kvzalloc_node(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\), node);
200 + E = kvzalloc_node(size, GFP_KERNEL, node);
202 - E = kvzalloc_node(size, flags | __GFP_NOWARN, node);
205 + E = kvzalloc_node(size, flags, node);
207 - E = kvzalloc_node(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\), node);
210 + E = kvzalloc_node(size, GFP_KERNEL, node);
212 - T x = kvzalloc_node(size, flags | __GFP_NOWARN, node);
215 + T x = kvzalloc_node(size, flags, node);
[all …]
Dkfree_mismatch.cocci57 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
123 * E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
133 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
/linux-6.14.4/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci37 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
60 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
83 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
100 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
Dzalloc-simple.cocci119 + x = kvzalloc_node(E1,E2,E3);
122 + x = kvzalloc_node(E1,E2,E3);
125 + x = (T)kvzalloc_node(E1,E2,E3);
410 msg="WARNING: kvzalloc_node should be used for %s, instead of kvmalloc_node/memset" % (x)
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c380 cqe_list = kvzalloc_node(sizeof(*ptpsq->ts_cqe_pending_list), GFP_KERNEL, numa); in mlx5e_ptp_alloc_traffic_db()
390 cqe_list->nodes = kvzalloc_node(array_size(db_sz, sizeof(*cqe_list->nodes)), in mlx5e_ptp_alloc_traffic_db()
398 kvzalloc_node(array_size(db_sz, sizeof(*metadata_freelist->data)), in mlx5e_ptp_alloc_traffic_db()
411 kvzalloc_node(array_size(db_sz, sizeof(*metadata_map->data)), in mlx5e_ptp_alloc_traffic_db()
874 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open()
Dtrap.c138 t = kvzalloc_node(sizeof(*t), GFP_KERNEL, cpu_to_node(cpu)); in mlx5e_open_trap()
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_dim.c73 dim = kvzalloc_node(sizeof(*dim), GFP_KERNEL, cpu_to_node(cpu)); in mlx5e_dim_enable()
Den_main.c335 rq->mpwqe.shampo = kvzalloc_node(sizeof(*rq->mpwqe.shampo), in mlx5e_rq_shampo_hd_alloc()
353 shampo->pages = kvzalloc_node(array_size(shampo->hd_per_wq, in mlx5e_rq_shampo_hd_info_alloc()
383 rq->mpwqe.info = kvzalloc_node(alloc_size, GFP_KERNEL, node); in mlx5e_rq_alloc_mpwqe_info()
673 aus = kvzalloc_node(array_size(len, aus_sz), GFP_KERNEL, node); in mlx5e_init_wqe_alloc_info()
677 frags = kvzalloc_node(array_size(len, sizeof(*frags)), GFP_KERNEL, node); in mlx5e_init_wqe_alloc_info()
780 rq->hw_gro_data = kvzalloc_node(sizeof(*rq->hw_gro_data), GFP_KERNEL, node); in mlx5_rq_shampo_alloc()
1409 xdpi_fifo->xi = kvzalloc_node(size, GFP_KERNEL, numa); in mlx5e_alloc_xdpsq_fifo()
1427 sq->db.wqe_info = kvzalloc_node(size, GFP_KERNEL, numa); in mlx5e_alloc_xdpsq_db()
1504 sq->db.wqe_info = kvzalloc_node(size, GFP_KERNEL, numa); in mlx5e_alloc_icosq_db()
1581 sq->db.dma_fifo = kvzalloc_node(array_size(df_sz, in mlx5e_alloc_txqsq_db()
[all …]
Deq.c435 eq_table = kvzalloc_node(sizeof(*eq_table), GFP_KERNEL, in mlx5_eq_table_init()
749 struct mlx5_eq *eq = kvzalloc_node(sizeof(*eq), GFP_KERNEL, in mlx5_eq_create_generic()
Dpci_irq.c709 irq_table = kvzalloc_node(sizeof(*irq_table), GFP_KERNEL, in mlx5_irq_table_init()
/linux-6.14.4/mm/
Dshrinker.c85 struct shrinker_info *info = kvzalloc_node(sizeof(*info) + array_size, in alloc_shrinker_info()
131 new = kvzalloc_node(sizeof(*new) + new_size, GFP_KERNEL, nid); in expand_one_shrinker_info()
/linux-6.14.4/drivers/net/ethernet/fungible/funcore/
Dfun_queue.c43 *sw_va = kvzalloc_node(sw_desc_sz * depth, GFP_KERNEL, in fun_alloc_ring_mem()
/linux-6.14.4/include/linux/
Dslab.h1051 #define kvzalloc_node(_size, _flags, _node) kvmalloc_node(_size, (_flags)|__GFP_ZERO, _node) macro
/linux-6.14.4/lib/
Dsbitmap.c132 sb->map = kvzalloc_node(sb->map_nr * sizeof(*sb->map), flags, node); in sbitmap_init_node()
Doverflow_kunit.c665 DEFINE_TEST_ALLOC(kvzalloc_node, kvfree, 0, 1, 1);
692 check_allocation_overflow(kvzalloc_node); in overflow_allocation_test()
Dfortify_kunit.c290 kvzalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \
/linux-6.14.4/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c570 c->bufs = kvzalloc_node(depth * sizeof(*c->bufs), GFP_KERNEL, node); in fun_rxq_init_cache()
/linux-6.14.4/drivers/infiniband/hw/hfi1/
Dipoib_tx.c732 kvzalloc_node(array_size(tx_ring_size, tx_item_size), in hfi1_ipoib_txreq_init()
Dsdma.c1436 kvzalloc_node(array_size(descq_cnt, in sdma_init()
/linux-6.14.4/drivers/md/
Ddm-stats.c153 p = kvzalloc_node(alloc_size, GFP_KERNEL | __GFP_NOMEMALLOC, node); in dm_kvzalloc()
Ddm.c2262 md = kvzalloc_node(sizeof(*md), GFP_KERNEL, numa_node_id); in alloc_dev()
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c294 ring->rx_info = kvzalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_rx_ring()