| /linux/scripts/coccinelle/api/alloc/ |
| H A 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\|
|
| H A 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/scripts/coccinelle/null/ |
| H A 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/scripts/coccinelle/api/ |
| H A 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\|
|
| H A 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/drivers/dma/idxd/ |
| H A D | init.c | 192 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 220 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 281 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 339 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 404 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl() 596 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc() 843 kzalloc_node(sizeof(*saved_group), GFP_KERNEL, in idxd_device_config_save() 869 kzalloc_node(sizeof(*saved_engine), GFP_KERNEL, in idxd_device_config_save() 907 kzalloc_node(sizeof(*saved_wq), GFP_KERNEL, in idxd_device_config_save() 1031 kzalloc_node(sizeof(*idxd_saved), GFP_KERNEL, in idxd_reset_prepare()
|
| H A D | dma.c | 220 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device() 275 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A 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() 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 D | adf_telemetry.c | 68 telemetry = kzalloc_node(sizeof(*telemetry), GFP_KERNEL, node); in adf_tl_alloc_mem() 90 tl_data_regs = kzalloc_node(regs_sz, GFP_KERNEL, node); in adf_tl_alloc_mem()
|
| H A D | qat_crypto.c | 152 inst = kzalloc_node(sizeof(*inst), GFP_KERNEL, in qat_crypto_create_instances()
|
| /linux/tools/include/linux/ |
| H A D | slab.h | 11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_cluster.c | 167 cmsk = kzalloc_node(sizeof(*cmsk), GFP_KERNEL, node); in alloc_clustermask()
|
| /linux/net/core/ |
| H A D | devmem.c | 214 binding = kzalloc_node(sizeof(*binding), GFP_KERNEL, in net_devmem_bind_dmabuf() 289 owner = kzalloc_node(sizeof(*owner), GFP_KERNEL, in net_devmem_bind_dmabuf()
|
| /linux/kernel/ |
| H A D | smpboot.c | 174 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_lib.c | 106 cmdq = kzalloc_node(sizeof(*cmdq), GFP_KERNEL, ndev->node); in nitrox_alloc_aqm_queues()
|
| /linux/drivers/crypto/virtio/ |
| H A D | virtio_crypto_skcipher_algs.c | 360 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req() 417 iv = kzalloc_node(ivsize, GFP_ATOMIC, in __virtio_crypto_skcipher_do_req()
|
| /linux/kernel/events/ |
| H A D | ring_buffer.c | 851 rb = kzalloc_node(size, GFP_KERNEL, node); in rb_alloc() 931 rb = kzalloc_node(size, GFP_KERNEL, node); in rb_alloc()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-sideband.c | 419 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | uar.c | 106 up = kzalloc_node(sizeof(*up), GFP_KERNEL, node); in alloc_uars_page()
|
| /linux/kernel/sched/ |
| H A D | topology.c | 1244 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain() 2684 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc() 2691 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc() 2700 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc() 2757 sds = kzalloc_node(sizeof(struct sched_domain_shared), in __sds_alloc()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci-ioda-tce.c | 419 tgl = kzalloc_node(sizeof(struct iommu_table_group_link), GFP_KERNEL, in pnv_pci_link_table_and_group()
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 522 buf = kzalloc_node(sizeof(*buf), GFP_KERNEL, cpu_to_node(cpu)); in vpa_dtl_setup_aux()
|
| /linux/arch/x86/events/amd/ |
| H A D | core.c | 542 nb = kzalloc_node(sizeof(struct amd_nb), GFP_KERNEL, cpu_to_node(cpu)); in amd_alloc_nb() 584 cpuc->lbr_sel = kzalloc_node(sizeof(struct er_account), GFP_KERNEL, in amd_pmu_cpu_prepare()
|
| /linux/net/rds/ |
| H A D | ib_frmr.c | 70 ibmr = kzalloc_node(sizeof(*ibmr), GFP_KERNEL, in rds_ib_alloc_frmr()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | icm.c | 161 chunk = kzalloc_node(sizeof(*chunk), in mlx4_alloc_icm()
|