Home
last modified time | relevance | path

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

12345

/linux/scripts/coccinelle/api/alloc/
H A 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\|
H A 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/scripts/coccinelle/null/
H A 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/scripts/coccinelle/api/
H A 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\|
H A 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/drivers/dma/idxd/
H A Dinit.c198 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
226 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
298 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
362 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
429 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl()
611 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
858 kzalloc_node(sizeof(*saved_group), GFP_KERNEL, in idxd_device_config_save()
884 kzalloc_node(sizeof(*saved_engine), GFP_KERNEL, in idxd_device_config_save()
922 kzalloc_node(sizeof(*saved_wq), GFP_KERNEL, in idxd_device_config_save()
1045 kzalloc_node(sizeof(*idxd_saved), GFP_KERNEL, in idxd_reset_prepare()
H A 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/drivers/crypto/intel/qat/qat_dh895xccvf/
H A 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/drivers/crypto/intel/qat/qat_c62xvf/
H A 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/drivers/crypto/intel/qat/qat_c3xxxvf/
H A 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c406 bank->rings = kzalloc_node(size, GFP_KERNEL, in adf_init_bank()
428 kzalloc_node(sizeof(atomic_t), in adf_init_bank()
482 etr_data = kzalloc_node(sizeof(*etr_data), GFP_KERNEL, in adf_init_etr_data()
489 etr_data->banks = kzalloc_node(size, GFP_KERNEL, in adf_init_etr_data()
H A Dqat_crypto.c152 inst = kzalloc_node(sizeof(*inst), GFP_KERNEL, in qat_crypto_create_instances()
/linux/drivers/usb/host/
H A 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()
377 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc()
461 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx()
493 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_port_bw_ctx()
630 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info()
841 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info()
1655 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc()
1736 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command()
1742 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command()
[all …]
H A Dxhci-sideband.c429 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
/linux/block/
H A Dblk-flush.c483 fq = kzalloc_node(sizeof(*fq), flags, node); in blk_alloc_flush_queue()
490 fq->flush_rq = kzalloc_node(rq_sz, flags, node); in blk_alloc_flush_queue()
H A Dblk-ia-ranges.c266 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
/linux/net/core/
H A Ddevmem.c202 binding = kzalloc_node(sizeof(*binding), GFP_KERNEL, in net_devmem_bind_dmabuf()
262 owner = kzalloc_node(sizeof(*owner), GFP_KERNEL, in net_devmem_bind_dmabuf()
/linux/arch/x86/kernel/apic/
H A Dx2apic_cluster.c167 cmsk = kzalloc_node(sizeof(*cmsk), GFP_KERNEL, node); in alloc_clustermask()
/linux/kernel/
H A Dsmpboot.c174 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir()
H A Duar.c106 up = kzalloc_node(sizeof(*up), GFP_KERNEL, node); in alloc_uars_page()
/linux/kernel/events/
H A Dring_buffer.c849 rb = kzalloc_node(size, GFP_KERNEL, node); in rb_alloc()
929 rb = kzalloc_node(size, GFP_KERNEL, node); in rb_alloc()
/linux/kernel/sched/
H A Dtopology.c953 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain()
2388 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc()
2395 sds = kzalloc_node(sizeof(struct sched_domain_shared), in __sdt_alloc()
2402 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc()
2411 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
/linux/drivers/ntb/
H A Dntb_transport.c402 client_dev = kzalloc_node(sizeof(*client_dev), in ntb_transport_register_client_dev()
663 entry = kzalloc_node(sizeof(*entry), GFP_KERNEL, node); in ntb_transport_setup_qp_mw()
1298 nt = kzalloc_node(sizeof(*nt), GFP_KERNEL, node); in ntb_transport_probe()
2081 entry = kzalloc_node(sizeof(*entry), GFP_KERNEL, node); in ntb_transport_create_queue()
2092 entry = kzalloc_node(sizeof(*entry), GFP_KERNEL, node); in ntb_transport_create_queue()
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c358 rx = kzalloc_node(sizeof(*rx), GFP_KERNEL, dd->node); in hfi1_alloc_rx()

12345