/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/tools/include/linux/ |
D | slab.h | 11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
|
/linux-6.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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 | adf_admin.c | 301 admin = kzalloc_node(sizeof(*accel_dev->admin), GFP_KERNEL, in adf_init_admin_comms()
|
/linux-6.1.9/drivers/dma/idxd/ |
D | init.c | 161 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 188 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 231 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 278 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 469 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
|
D | dma.c | 209 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device() 262 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
|
/linux-6.1.9/block/ |
D | blk-flush.c | 477 fq = kzalloc_node(sizeof(*fq), flags, node); in blk_alloc_flush_queue() 484 fq->flush_rq = kzalloc_node(rq_sz, flags, node); in blk_alloc_flush_queue()
|
D | blk-ia-ranges.c | 267 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-mem.c | 38 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc() 49 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() 477 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx() 624 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info() 838 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 1657 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc() 1739 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command() 1745 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command()
|
/linux-6.1.9/arch/x86/kernel/apic/ |
D | x2apic_cluster.c | 146 cluster_hotplug_mask = kzalloc_node(sizeof(*cluster_hotplug_mask), in alloc_clustermask()
|
/linux-6.1.9/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.1.9/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.1.9/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()
|
/linux-6.1.9/arch/x86/events/amd/ |
D | uncore.c | 430 return kzalloc_node(sizeof(struct amd_uncore), GFP_KERNEL, in amd_uncore_alloc() 437 return kzalloc_node(sizeof(struct perf_event *) * num, GFP_KERNEL, in amd_uncore_events_alloc()
|
/linux-6.1.9/drivers/crypto/virtio/ |
D | virtio_crypto_skcipher_algs.c | 364 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req() 421 iv = kzalloc_node(ivsize, GFP_ATOMIC, in __virtio_crypto_skcipher_do_req()
|