Searched refs:kvmalloc_node (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 37 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\|
|
D | zalloc-simple.cocci | 39 devm_kmalloc(...,E1,...)\|kvmalloc(E1, ...)\|kvmalloc_node(E1,...)\); 118 - x = kvmalloc_node(E1,E2,E3); 121 - x = (T *)kvmalloc_node(E1,E2,E3); 124 - x = (T)kvmalloc_node(E1,E2,E3); 392 x = (T)kvmalloc_node@p(E1,E2,E3); 410 msg="WARNING: kvzalloc_node should be used for %s, instead of kvmalloc_node/memset" % (x)
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
D | kvmalloc.cocci | 162 + E = kvmalloc_node(size, flags, node); 168 + E = kvmalloc_node(size, GFP_KERNEL, node); 173 + E = kvmalloc_node(size, flags, node); 178 + E = kvmalloc_node(size, GFP_KERNEL, node); 183 + T x = kvmalloc_node(size, flags, node); 188 + T x = kvmalloc_node(size, GFP_KERNEL, node);
|
D | kfree_mismatch.cocci | 57 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\|
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | mm-api.rst | 53 :functions: kfree_const kvmalloc_node kvfree
|
D | memory-allocation.rst | 158 flags can be used with `kvmalloc`; please see kvmalloc_node() reference
|
/kernel/linux/linux-5.10/mm/ |
D | util.c | 581 void *kvmalloc_node(size_t size, gfp_t flags, int node) in kvmalloc_node() function 625 EXPORT_SYMBOL(kvmalloc_node);
|
D | sparse.c | 725 return kvmalloc_node(array_size(sizeof(struct page), in populate_section_memmap()
|
D | memcontrol.c | 421 new = kvmalloc_node(sizeof(*new) + size, GFP_KERNEL, nid); in memcg_expand_one_shrinker_map()
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_cm.c | 508 hdrs = kvmalloc_node(sizeof(*hdrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc() 513 hdr_daddrs = kvmalloc_node(sizeof(*hdr_daddrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
|
/kernel/linux/linux-5.10/lib/ |
D | test_overflow.c | 552 DEFINE_TEST_ALLOC(kvmalloc_node, kvfree, 0, 1, 1);
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 792 extern void *kvmalloc_node(size_t size, gfp_t flags, int node); 795 return kvmalloc_node(size, flags, NUMA_NO_NODE); in kvmalloc() 799 return kvmalloc_node(size, flags | __GFP_ZERO, node); in kvzalloc_node()
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_fq.c | 758 array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, in fq_resize()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | x_tables.c | 1319 i->jumpstack[cpu] = kvmalloc_node(size, GFP_KERNEL, in xt_jumpstack_alloc()
|