/openbmc/linux/scripts/coccinelle/api/alloc/ |
H A 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\|
|
H A 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)
|
/openbmc/linux/scripts/coccinelle/api/ |
H A 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);
|
H A 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\|
|
/openbmc/linux/include/linux/ |
H A D | slab.h | 735 extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __alloc_size(1); 738 return kvmalloc_node(size, flags, NUMA_NO_NODE); in kvmalloc() 742 return kvmalloc_node(size, flags | __GFP_ZERO, node); in kvzalloc_node()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 128 一起使用是有限制的;请看kvmalloc_node()参考文档。注意, `kvmalloc` 可能会返回物理上不连
|
/openbmc/linux/Documentation/core-api/ |
H A D | mm-api.rst | 47 :functions: kfree_const kvmalloc_node kvfree
|
H A D | memory-allocation.rst | 162 flags can be used with `kvmalloc`; please see kvmalloc_node() reference
|
/openbmc/linux/mm/ |
H A D | util.c | 595 void *kvmalloc_node(size_t size, gfp_t flags, int node) in kvmalloc_node() function 646 EXPORT_SYMBOL(kvmalloc_node);
|
H A D | sparse.c | 707 return kvmalloc_node(array_size(sizeof(struct page), in populate_section_memmap()
|
H A D | vmscan.c | 236 new = kvmalloc_node(sizeof(*new) + size, GFP_KERNEL, nid); in expand_one_shrinker_info()
|
/openbmc/linux/lib/ |
H A D | fortify_kunit.c | 233 kvmalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \
|
H A D | overflow_kunit.c | 603 DEFINE_TEST_ALLOC(kvmalloc_node, kvfree, 0, 1, 1); 631 check_allocation_overflow(kvmalloc_node); in overflow_allocation_test()
|
/openbmc/linux/net/rds/ |
H A D | ib_cm.c | 474 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()
|
/openbmc/linux/net/sched/ |
H A D | sch_fq.c | 758 array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, in fq_resize()
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 2405 rx_ring->rx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_rx_resources() 2496 tx_ring->tx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_tx_resources()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
|
/openbmc/linux/net/netfilter/ |
H A D | x_tables.c | 1354 i->jumpstack[cpu] = kvmalloc_node(size, GFP_KERNEL, in xt_jumpstack_alloc()
|