/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/crypto/intel/qat/qat_dh895xccvf/ |
H A 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()
|
/linux/drivers/crypto/intel/qat/qat_c62xvf/ |
H A 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()
|
/linux/drivers/crypto/intel/qat/qat_c3xxxvf/ |
H A 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()
|
/linux/drivers/crypto/intel/qat/qat_c62x/ |
H A D | adf_drv.c | 99 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/drivers/crypto/intel/qat/qat_c3xxx/ |
H A D | adf_drv.c | 99 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/drivers/crypto/intel/qat/qat_dh895xcc/ |
H A D | adf_drv.c | 99 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/drivers/dma/idxd/ |
H A D | init.c | 175 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 202 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 247 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 294 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 362 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl() 536 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
|
H A 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()
|
/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 | qat_bl.c | 80 bufl = kzalloc_node(sz, flags, node); in __qat_bl_sgl_to_bufl() 139 buflout = kzalloc_node(sz_out, flags, node); in __qat_bl_sgl_to_bufl() 281 bufl = kzalloc_node(sz, GFP_KERNEL, node); in qat_bl_sgl_map()
|
H A D | qat_compression.c | 136 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()
|
H A D | adf_telemetry.c | 68 telemetry = kzalloc_node(sizeof(*telemetry), GFP_KERNEL, node); in adf_tl_alloc_mem() 91 tl_data_regs = kzalloc_node(regs_sz, GFP_KERNEL, node); in adf_tl_alloc_mem()
|
/linux/tools/include/linux/ |
H A D | slab.h | 11 #define kzalloc_node(size, flags, node) kmalloc(size, flags) macro
|
/linux/net/core/ |
H A D | devmem.c | 192 binding = kzalloc_node(sizeof(*binding), GFP_KERNEL, in net_devmem_bind_dmabuf() 246 owner = kzalloc_node(sizeof(*owner), GFP_KERNEL, in net_devmem_bind_dmabuf()
|
/linux/block/ |
H A D | blk-flush.c | 483 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 D | blk-ia-ranges.c | 268 iars = kzalloc_node(struct_size(iars, ia_range, nr_ia_ranges), in disk_alloc_independent_access_ranges()
|
/linux/drivers/usb/host/ |
H A 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() 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() 601 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info() 812 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 1624 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc() 1705 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command() 1711 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command() 2264 ir = kzalloc_node(sizeof(*ir), flags, dev_to_node(dev)); in xhci_alloc_interrupter()
|
/linux/arch/x86/kernel/apic/ |
H A D | x2apic_cluster.c | 167 cmsk = kzalloc_node(sizeof(*cmsk), GFP_KERNEL, node); in alloc_clustermask()
|
/linux/kernel/ |
H A D | smpboot.c | 178 td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); in __smpboot_create_thread()
|
/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_skcipher_algs.c | 361 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req() 418 iv = kzalloc_node(ivsize, GFP_ATOMIC, in __virtio_crypto_skcipher_do_req()
|