/linux/scripts/coccinelle/api/ |
H A D | kvmalloc.cocci | 35 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 45 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 57 * T x = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 159 - E = kmalloc_node(size, flags, node); 165 - E = kmalloc_node(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\), node); 170 - E = kmalloc_node(size, flags | __GFP_NOWARN, node); 175 - E = kmalloc_node(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\), node); 180 - T x = kmalloc_node(size, flags | __GFP_NOWARN, node); 185 - T x = kmalloc_node(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\), node);
|
H A D | kfree_mismatch.cocci | 26 kmalloc_node\|kzalloc_node\|kmalloc_array\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 68 * E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\| 82 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|
|
/linux/scripts/coccinelle/api/alloc/ |
H A D | alloc_cast.cocci | 7 //# kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes 35 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 58 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 81 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 98 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
|
H A D | zalloc-simple.cocci | 38 kmalloc_node(E1, ...)\|kmem_cache_alloc(...)\|kmem_alloc(E1, ...)\| 73 - x = kmalloc_node(E1,E2,E3); 76 - x = (T *)kmalloc_node(E1,E2,E3); 79 - x = (T)kmalloc_node(E1,E2,E3); 242 x = (T)kmalloc_node@p(E1,E2,E3); 260 msg="WARNING: kzalloc_node should be used for %s, instead of kmalloc_node/memset" % (x)
|
/linux/scripts/coccinelle/null/ |
H A D | eno.cocci | 21 …|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)… 31 …|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_alloc_node@p1\|kmalloc_node@p1\|kzalloc_nod…
|
/linux/lib/ |
H A D | cpumask.c | 62 *mask = kmalloc_node(cpumask_size(), flags, node); in alloc_cpumask_var_node()
|
H A D | objpool.c | 88 slot = kmalloc_node(size, pool->gfp, cpu_to_node(i)); in objpool_init_percpu_slots()
|
H A D | genalloc.c | 157 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
|
H A D | overflow_kunit.c | 658 DEFINE_TEST_ALLOC(kmalloc_node, kfree, 0, 1, 1); 685 check_allocation_overflow(kmalloc_node); in overflow_allocation_test()
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | mmap.c | 124 ip = kmalloc_node(sizeof(*ip), GFP_KERNEL, rdi->dparms.node); in rvt_create_mmap_info()
|
/linux/arch/x86/platform/uv/ |
H A D | uv_irq.c | 86 chip_data = kmalloc_node(sizeof(*chip_data), GFP_KERNEL, in uv_domain_alloc()
|
H A D | uv_time.c | 150 head = kmalloc_node(struct_size(head, cpu, in uv_rtc_allocate_timers()
|
/linux/kernel/events/ |
H A D | callchain.c | 91 entries->cpu_entries[cpu] = kmalloc_node(size, GFP_KERNEL, in alloc_callchain_buffers()
|
/linux/include/linux/ |
H A D | slab.h | 930 #define kmalloc_node(...) alloc_hooks(kmalloc_node_noprof(__VA_ARGS__)) macro 1040 #define kzalloc_node(_size, _flags, _node) kmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | pd.c | 190 uar = kmalloc_node(sizeof(*uar), GFP_KERNEL, node); in mlx4_bf_alloc()
|
H A D | icm.c | 144 icm = kmalloc_node(sizeof(*icm), in mlx4_alloc_icm()
|
/linux/net/ipv4/ |
H A D | tcp_sigpool.c | 76 scratch = kmalloc_node(size, GFP_KERNEL, cpu_to_node(cpu)); in sigpool_reserve_scratch()
|
/linux/kernel/bpf/ |
H A D | memalloc.c | 143 void __percpu **obj = kmalloc_node(c->percpu_size, flags, node); in __alloc() 155 return kmalloc_node(c->unit_size, flags | __GFP_ZERO, node); in __alloc()
|
/linux/net/iucv/ |
H A D | iucv.c | 634 iucv_irq_data[cpu] = kmalloc_node(sizeof(struct iucv_irq_data), in iucv_cpu_prepare() 640 iucv_param[cpu] = kmalloc_node(sizeof(union iucv_param), in iucv_cpu_prepare() 645 iucv_param_irq[cpu] = kmalloc_node(sizeof(union iucv_param), in iucv_cpu_prepare()
|
/linux/tools/perf/Documentation/ |
H A D | examples.txt | 16 kmem:kmalloc_node [Tracepoint event]
|
/linux/Documentation/trace/ |
H A D | events-kmem.rst | 22 kmalloc_node call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d
|
/linux/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 1248 rb = kmalloc_node(sizeof(*rb), XPRTRDMA_GFP_FLAGS, node); in rpcrdma_regbuf_alloc_node() 1251 rb->rg_data = kmalloc_node(size, XPRTRDMA_GFP_FLAGS, node); in rpcrdma_regbuf_alloc_node()
|
H A D | svc_rdma_recvfrom.c | 129 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_recv_ctxt_alloc()
|
/linux/net/sunrpc/ |
H A D | svc.c | 703 rqstp->rq_argp = kmalloc_node(serv->sv_xdrsize, GFP_KERNEL, node); in svc_prepare_thread() 707 rqstp->rq_resp = kmalloc_node(serv->sv_xdrsize, GFP_KERNEL, node); in svc_prepare_thread()
|
/linux/kernel/ |
H A D | taskstats.c | 313 s = kmalloc_node(sizeof(struct listener), in add_del_listener()
|