Home
last modified time | relevance | path

Searched refs:kzalloc_node (Results 1 – 25 of 148) sorted by relevance

123456

/linux-6.6.21/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci7 //# 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\|
Dzalloc-simple.cocci74 + 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/
Deno.cocci21 …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/
Dkfree_mismatch.cocci26 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\|
Dkvmalloc.cocci35 * 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/
Dadf_drv.c92 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/
Dadf_drv.c92 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/
Dadf_drv.c92 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/
Dadf_drv.c99 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/
Dadf_drv.c99 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/
Dadf_drv.c99 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/
Dslab.h11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
/linux-6.6.21/drivers/dma/idxd/
Dinit.c165 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()
Ddma.c204 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/
Dadf_transport.c406 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()
Dqat_bl.c80 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()
Dqat_compression.c136 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/
Dblk-flush.c491 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()
Dblk-ia-ranges.c268 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
/linux-6.6.21/drivers/usb/host/
Dxhci-mem.c39 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/
Dx2apic_cluster.c167 cmsk = kzalloc_node(sizeof(*cmsk), GFP_KERNEL, node); in alloc_clustermask()
/linux-6.6.21/kernel/
Dsmpboot.c178 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c55 cq = kzalloc_node(sizeof(*cq), GFP_KERNEL, node); in mlx4_en_create_cq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()

123456