Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/tools/include/linux/
Dslab.h11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
/linux-6.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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()
Dadf_admin.c301 admin = kzalloc_node(sizeof(*accel_dev->admin), GFP_KERNEL, in adf_init_admin_comms()
/linux-6.1.9/drivers/dma/idxd/
Dinit.c161 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()
Ddma.c209 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/
Dblk-flush.c477 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()
Dblk-ia-ranges.c267 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
/linux-6.1.9/drivers/usb/host/
Dxhci-mem.c38 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/
Dx2apic_cluster.c146 cluster_hotplug_mask = kzalloc_node(sizeof(*cluster_hotplug_mask), in alloc_clustermask()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c55 cq = kzalloc_node(sizeof(*cq), GFP_KERNEL, node); in mlx4_en_create_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()
/linux-6.1.9/arch/x86/events/amd/
Duncore.c430 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/
Dvirtio_crypto_skcipher_algs.c364 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()

123456