Home
last modified time | relevance | path

Searched refs:kvmalloc_node (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/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.cocci39 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/
Dkvmalloc.cocci162 + 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);
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\|
/kernel/linux/linux-5.10/Documentation/core-api/
Dmm-api.rst53 :functions: kfree_const kvmalloc_node kvfree
Dmemory-allocation.rst158 flags can be used with `kvmalloc`; please see kvmalloc_node() reference
/kernel/linux/linux-5.10/mm/
Dutil.c581 void *kvmalloc_node(size_t size, gfp_t flags, int node) in kvmalloc_node() function
625 EXPORT_SYMBOL(kvmalloc_node);
Dsparse.c725 return kvmalloc_node(array_size(sizeof(struct page), in populate_section_memmap()
Dmemcontrol.c421 new = kvmalloc_node(sizeof(*new) + size, GFP_KERNEL, nid); in memcg_expand_one_shrinker_map()
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c508 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/
Dtest_overflow.c552 DEFINE_TEST_ALLOC(kvmalloc_node, kvfree, 0, 1, 1);
/kernel/linux/linux-5.10/include/linux/
Dmm.h792 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/
Dsch_fq.c758 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/
Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
/kernel/linux/linux-5.10/net/netfilter/
Dx_tables.c1319 i->jumpstack[cpu] = kvmalloc_node(size, GFP_KERNEL, in xt_jumpstack_alloc()