/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/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\)(...)
|
/kernel/linux/linux-5.10/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\|
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxx/ |
D | adf_drv.c | 98 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_drv.c | 98 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62x/ |
D | adf_drv.c | 98 accel_dev = kzalloc_node(sizeof(*accel_dev), GFP_KERNEL, in adf_probe() 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
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()
|
/kernel/linux/linux-5.10/block/ |
D | blk-flush.c | 475 fq = kzalloc_node(sizeof(*fq), flags, node); in blk_alloc_flush_queue() 482 fq->flush_rq = kzalloc_node(rq_sz, flags, node); in blk_alloc_flush_queue()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 373 kzalloc_node(sizeof(atomic_t), in adf_init_bank() 425 etr_data = kzalloc_node(sizeof(*etr_data), GFP_KERNEL, in adf_init_etr_data() 432 etr_data->banks = kzalloc_node(size, GFP_KERNEL, in adf_init_etr_data()
|
D | adf_admin.c | 232 admin = kzalloc_node(sizeof(*accel_dev->admin), GFP_KERNEL, in adf_init_admin_comms()
|
D | qat_crypto.c | 224 inst = kzalloc_node(sizeof(*inst), GFP_KERNEL, in qat_crypto_create_instances()
|
/kernel/linux/linux-5.10/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() 478 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx() 642 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info() 864 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 1684 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc() 1766 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command() 1772 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | x2apic_cluster.c | 140 cluster_hotplug_mask = kzalloc_node(sizeof(*cluster_hotplug_mask), in alloc_clustermask()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 55 cq = kzalloc_node(sizeof(*cq), GFP_KERNEL, node); in mlx4_en_create_cq()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | cpumap.c | 425 rcpu = kzalloc_node(sizeof(*rcpu), gfp, numa); in __cpu_map_entry_alloc() 441 rcpu->queue = kzalloc_node(sizeof(*rcpu->queue), gfp, numa); in __cpu_map_entry_alloc()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | topology.c | 902 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain() 1850 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc() 1857 sds = kzalloc_node(sizeof(struct sched_domain_shared), in __sdt_alloc() 1864 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc() 1873 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()
|
/kernel/linux/linux-5.10/drivers/crypto/virtio/ |
D | virtio_crypto_algs.c | 377 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req() 434 iv = kzalloc_node(ivsize, GFP_ATOMIC, in __virtio_crypto_skcipher_do_req()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-probe.c | 1320 drive = kzalloc_node(sizeof(*drive), GFP_KERNEL, node); in ide_port_alloc_devices() 1332 drive->id = kzalloc_node(SECTOR_SIZE, GFP_KERNEL, node); in ide_port_alloc_devices() 1355 host = kzalloc_node(sizeof(*host), GFP_KERNEL, node); in ide_host_alloc() 1366 hwif = kzalloc_node(sizeof(*hwif), GFP_KERNEL, node); in ide_host_alloc()
|
/kernel/linux/linux-5.10/kernel/ |
D | smpboot.c | 178 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
|