/linux-6.6.21/scripts/coccinelle/api/ |
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);
|
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-6.6.21/scripts/coccinelle/api/alloc/ |
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\|
|
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-6.6.21/scripts/coccinelle/null/ |
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-6.6.21/include/linux/ |
D | slab.h | 606 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node() function 696 return kmalloc_node(bytes, flags, node); in kmalloc_array_node() 731 return kmalloc_node(size, flags | __GFP_ZERO, node); in kzalloc_node()
|
/linux-6.6.21/lib/ |
D | cpumask.c | 61 *mask = kmalloc_node(cpumask_size(), flags, node); in alloc_cpumask_var_node()
|
D | fortify_kunit.c | 154 kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \
|
D | genalloc.c | 157 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
|
/linux-6.6.21/drivers/infiniband/sw/rdmavt/ |
D | mmap.c | 124 ip = kmalloc_node(sizeof(*ip), GFP_KERNEL, rdi->dparms.node); in rvt_create_mmap_info()
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | uv_irq.c | 86 chip_data = kmalloc_node(sizeof(*chip_data), GFP_KERNEL, in uv_domain_alloc()
|
D | uv_time.c | 150 head = kmalloc_node(struct_size(head, cpu, in uv_rtc_allocate_timers()
|
/linux-6.6.21/kernel/events/ |
D | callchain.c | 90 entries->cpu_entries[cpu] = kmalloc_node(size, GFP_KERNEL, in alloc_callchain_buffers()
|
/linux-6.6.21/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 133 ctxt = kmalloc_node(sizeof(*ctxt), GFP_KERNEL, node); in svc_rdma_recv_ctxt_alloc() 136 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_recv_ctxt_alloc()
|
D | svc_rdma_rw.c | 65 ctxt = kmalloc_node(struct_size(ctxt, rw_first_sgl, SG_CHUNK_SIZE), in svc_rdma_get_rw_ctxt() 238 info = kmalloc_node(sizeof(*info), GFP_KERNEL, in svc_rdma_write_info_alloc() 309 info = kmalloc_node(sizeof(*info), GFP_KERNEL, in svc_rdma_read_info_alloc()
|
D | svc_rdma_sendto.c | 132 ctxt = kmalloc_node(struct_size(ctxt, sc_sges, rdma->sc_max_send_sges), in svc_rdma_send_ctxt_alloc() 136 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_send_ctxt_alloc()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | pd.c | 190 uar = kmalloc_node(sizeof(*uar), GFP_KERNEL, node); in mlx4_bf_alloc()
|
D | icm.c | 144 icm = kmalloc_node(sizeof(*icm), in mlx4_alloc_icm()
|
/linux-6.6.21/kernel/bpf/ |
D | memalloc.c | 139 void **obj = kmalloc_node(c->percpu_size, flags, node); in __alloc() 151 return kmalloc_node(c->unit_size, flags | __GFP_ZERO, node); in __alloc()
|
/linux-6.6.21/net/iucv/ |
D | iucv.c | 597 iucv_irq_data[cpu] = kmalloc_node(sizeof(struct iucv_irq_data), in iucv_cpu_prepare() 603 iucv_param[cpu] = kmalloc_node(sizeof(union iucv_param), in iucv_cpu_prepare() 608 iucv_param_irq[cpu] = kmalloc_node(sizeof(union iucv_param), in iucv_cpu_prepare()
|
/linux-6.6.21/mm/ |
D | slab.c | 538 ac = kmalloc_node(memsize, gfp, node); in alloc_arraycache() 634 alc = kmalloc_node(memsize, gfp, node); in __alloc_alien_cache() 821 n = kmalloc_node(sizeof(struct kmem_cache_node), gfp, node); in init_cache_node() 1154 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list() 1760 cachep->node[node] = kmalloc_node( in setup_cpu_cache() 2287 freelist = kmalloc_node(cachep->freelist_size, in alloc_slabmgmt()
|
D | zswap.c | 457 dst = kmalloc_node(PAGE_SIZE * 2, GFP_KERNEL, cpu_to_node(cpu)); in zswap_dstmem_prepare() 461 mutex = kmalloc_node(sizeof(*mutex), GFP_KERNEL, cpu_to_node(cpu)); in zswap_dstmem_prepare()
|
/linux-6.6.21/tools/perf/Documentation/ |
D | examples.txt | 16 kmem:kmalloc_node [Tracepoint event]
|
/linux-6.6.21/Documentation/trace/ |
D | events-kmem.rst | 22 kmalloc_node call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d
|
/linux-6.6.21/kernel/ |
D | taskstats.c | 314 s = kmalloc_node(sizeof(struct listener), in add_del_listener()
|