Searched refs:kvmalloc_node (Results 1 – 16 of 16) sorted by relevance
/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)
|
/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\|
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 128 一起使用是有限制的;请看kvmalloc_node()参考文档。注意, `kvmalloc` 可能会返回物理上不连
|
/linux/include/linux/ |
H A D | slab.h | 1022 #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 D | mm-api.rst | 47 :functions: kfree_const kvmalloc_node kvfree
|
H A D | memory-allocation.rst | 165 flags can be used with `kvmalloc`; please see kvmalloc_node() reference
|
/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()
|
/linux/mm/ |
H A D | sparse.c | 710 return kvmalloc_node(array_size(sizeof(struct page), in populate_section_memmap()
|
/linux/lib/ |
H A D | overflow_kunit.c | 663 DEFINE_TEST_ALLOC(kvmalloc_node, kvfree, 0, 1, 1); 690 check_allocation_overflow(kvmalloc_node); in overflow_allocation_test()
|
H A D | fortify_kunit.c | 284 kvmalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \
|
/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()
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 2462 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 D | sch_fq.c | 880 array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, in fq_resize()
|
/linux/net/netfilter/ |
H A D | x_tables.c | 1355 i->jumpstack[cpu] = kvmalloc_node(size, GFP_KERNEL, in xt_jumpstack_alloc()
|