Home
last modified time | relevance | path

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

/linux/scripts/coccinelle/api/alloc/
H A 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\|
H A 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)
/linux/scripts/coccinelle/api/
H A 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);
H A 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/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst128 一起使用是有限制的;请看kvmalloc_node()参考文档。注意, `kvmalloc` 可能会返回物理上不连
/linux/include/linux/
H A Dslab.h1022 #define kvmalloc_node(...) alloc_hooks(kvmalloc_node_noprof(__VA_ARGS__)) macro
1024 #define kvmalloc(_size, _flags) kvmalloc_node(_size, _flags, NUMA_NO_NODE)
1028 #define kvzalloc_node(_size, _flags, _node) kvmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
/linux/Documentation/core-api/
H A Dmm-api.rst47 :functions: kfree_const kvmalloc_node kvfree
H A Dmemory-allocation.rst165 flags can be used with `kvmalloc`; please see kvmalloc_node() reference
/linux/net/rds/
H A Dib_cm.c474 hdrs = kvmalloc_node(sizeof(*hdrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
479 hdr_daddrs = kvmalloc_node(sizeof(*hdr_daddrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
/linux/mm/
H A Dsparse.c710 return kvmalloc_node(array_size(sizeof(struct page), in populate_section_memmap()
/linux/lib/
H A Doverflow_kunit.c663 DEFINE_TEST_ALLOC(kvmalloc_node, kvfree, 0, 1, 1);
690 check_allocation_overflow(kvmalloc_node); in overflow_allocation_test()
H A Dfortify_kunit.c284 kvmalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c2462 rx_ring->rx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_rx_resources()
2553 tx_ring->tx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_tx_resources()
/linux/net/sched/
H A Dsch_fq.c880 array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, in fq_resize()
/linux/net/netfilter/
H A Dx_tables.c1355 i->jumpstack[cpu] = kvmalloc_node(size, GFP_KERNEL, in xt_jumpstack_alloc()