/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 | 74 + x = kzalloc_node(E1,E2,E3); 77 + x = kzalloc_node(E1,E2,E3); 80 + x = (T)kzalloc_node(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 …lloc\|kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...) 31 …e_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_alloc_node@p1\|kmalloc_node@p1\|kzalloc_node@p1\)(...)
|
/linux-6.6.21/scripts/coccinelle/api/ |
D | kfree_mismatch.cocci | 26 kmalloc_node\|kzalloc_node\|kmalloc_array\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 69 * kzalloc_node\|kmalloc_array\|kmalloc_array_node\| 83 kzalloc_node\|kmalloc_array\|kmalloc_array_node\|
|
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\|
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxxvf/ |
D | adf_drv.c | 92 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xccvf/ |
D | adf_drv.c | 92 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62xvf/ |
D | adf_drv.c | 92 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xcc/ |
D | adf_drv.c | 99 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 118 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62x/ |
D | adf_drv.c | 99 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 118 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxx/ |
D | adf_drv.c | 99 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 118 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/linux-6.6.21/tools/include/linux/ |
D | slab.h | 11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
|
/linux-6.6.21/drivers/dma/idxd/ |
D | init.c | 165 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 192 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 237 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 284 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 352 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl() 526 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
|
D | dma.c | 204 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device() 257 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/ |
D | adf_transport.c | 406 bank->rings = kzalloc_node(size, GFP_KERNEL, in adf_init_bank() 428 kzalloc_node(sizeof(atomic_t), in adf_init_bank() 483 etr_data = kzalloc_node(sizeof(*etr_data), GFP_KERNEL, in adf_init_etr_data() 490 etr_data->banks = kzalloc_node(size, GFP_KERNEL, in adf_init_etr_data()
|
D | qat_bl.c | 80 bufl = kzalloc_node(sz, flags, node); in __qat_bl_sgl_to_bufl() 138 buflout = kzalloc_node(sz_out, flags, node); in __qat_bl_sgl_to_bufl() 279 bufl = kzalloc_node(sz, GFP_KERNEL, node); in qat_bl_sgl_map()
|
D | qat_compression.c | 136 inst = kzalloc_node(sizeof(*inst), GFP_KERNEL, in qat_compression_create_instances() 204 obuff = kzalloc_node(ovf_buff_sz, GFP_KERNEL, dev_to_node(dev)); in qat_compression_alloc_dc_data()
|
/linux-6.6.21/block/ |
D | blk-flush.c | 491 fq = kzalloc_node(sizeof(*fq), flags, node); in blk_alloc_flush_queue() 498 fq->flush_rq = kzalloc_node(rq_sz, flags, node); in blk_alloc_flush_queue()
|
D | blk-ia-ranges.c | 268 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
|
/linux-6.6.21/drivers/usb/host/ |
D | xhci-mem.c | 39 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc() 50 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc() 379 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc() 469 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx() 609 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info() 820 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 1635 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc() 1716 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command() 1722 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command() 2243 ir = kzalloc_node(sizeof(*ir), flags, dev_to_node(dev)); in xhci_alloc_interrupter()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | x2apic_cluster.c | 167 cmsk = kzalloc_node(sizeof(*cmsk), GFP_KERNEL, node); in alloc_clustermask()
|
/linux-6.6.21/kernel/ |
D | smpboot.c | 178 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 55 cq = kzalloc_node(sizeof(*cq), GFP_KERNEL, node); in mlx4_en_create_cq()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | alloc.c | 139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir()
|
/linux-6.6.21/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()
|