/Linux-v4.19/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 2 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. 5 //# kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc, 33 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 56 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 79 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 96 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
|
D | zalloc-simple.cocci | 91 + x = kmem_cache_zalloc(E3,E4); 94 + x = kmem_cache_zalloc(E3,E4); 97 + x = (T)kmem_cache_zalloc(E3,E4); 288 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x)
|
/Linux-v4.19/fs/dlm/ |
D | memory.c | 64 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb() 79 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
|
/Linux-v4.19/scripts/coccinelle/null/ |
D | eno.cocci | 20 x = \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\|kmallo… 30 *x = \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_al…
|
/Linux-v4.19/security/selinux/ss/ |
D | ebitmap.c | 60 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_cpy() 168 e_iter = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_netlbl_import() 305 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_set_bit() 406 tmp = kmem_cache_zalloc(ebitmap_node_cachep, GFP_KERNEL); in ebitmap_read()
|
D | hashtab.c | 63 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in hashtab_insert()
|
/Linux-v4.19/virt/kvm/ |
D | async_pf.c | 194 work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN); in kvm_setup_async_pf() 234 work = kmem_cache_zalloc(async_pf_cache, GFP_ATOMIC); in kvm_async_pf_wakeup_all()
|
/Linux-v4.19/fs/jffs2/ |
D | malloc.c | 280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum() 300 ref = kmem_cache_zalloc(xattr_ref_cache, GFP_KERNEL); in jffs2_alloc_xattr_ref()
|
/Linux-v4.19/include/acpi/platform/ |
D | aclinuxex.h | 67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
|
/Linux-v4.19/security/selinux/ |
D | avc.c | 369 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, GFP_NOWAIT); in avc_xperms_decision_alloc() 375 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 381 xpd->auditallow = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 387 xpd->dontaudit = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 416 xp_node = kmem_cache_zalloc(avc_xperms_cachep, GFP_NOWAIT); in avc_xperms_alloc() 572 node = kmem_cache_zalloc(avc_node_cachep, GFP_NOWAIT); in avc_alloc_node()
|
/Linux-v4.19/fs/ecryptfs/ |
D | file.c | 215 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open() 283 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open()
|
/Linux-v4.19/fs/orangefs/ |
D | orangefs-cache.c | 120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc()
|
/Linux-v4.19/drivers/gpu/drm/scheduler/ |
D | sched_fence.c | 159 fence = kmem_cache_zalloc(sched_fence_slab, GFP_KERNEL); in drm_sched_fence_create()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | rtas_flash.c | 332 uf->flist = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 343 fl->next = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 352 p = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write()
|
/Linux-v4.19/fs/crypto/ |
D | crypto.c | 124 ctx = kmem_cache_zalloc(fscrypt_ctx_cachep, gfp_flags); in fscrypt_get_ctx() 406 ctx = kmem_cache_zalloc(fscrypt_ctx_cachep, GFP_NOFS); in fscrypt_initialize()
|
/Linux-v4.19/drivers/md/ |
D | dm-uevent.c | 61 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
|
/Linux-v4.19/kernel/ |
D | user.c | 186 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
|
D | delayacct.c | 45 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
|
/Linux-v4.19/net/ipv4/ |
D | inet_fragment.c | 165 q = kmem_cache_zalloc(f->frags_cachep, GFP_ATOMIC); in inet_frag_alloc()
|
/Linux-v4.19/drivers/target/ |
D | target_core_ua.c | 95 ua = kmem_cache_zalloc(se_ua_cache, GFP_ATOMIC); in core_scsi3_ua_allocate()
|
D | target_core_alua.c | 1314 lba_map = kmem_cache_zalloc(t10_alua_lba_map_cache, GFP_KERNEL); in core_alua_allocate_lba_map() 1341 lba_map_mem = kmem_cache_zalloc(t10_alua_lba_map_mem_cache, GFP_KERNEL); in core_alua_allocate_lba_map_mem() 1414 lu_gp = kmem_cache_zalloc(t10_alua_lu_gp_cache, GFP_KERNEL); in core_alua_allocate_lu_gp() 1485 lu_gp_mem = kmem_cache_zalloc(t10_alua_lu_gp_mem_cache, GFP_KERNEL); in core_alua_allocate_lu_gp_mem() 1651 tg_pt_gp = kmem_cache_zalloc(t10_alua_tg_pt_gp_cache, GFP_KERNEL); in core_alua_allocate_tg_pt_gp()
|
/Linux-v4.19/drivers/s390/cio/ |
D | vfio_ccw_drv.c | 119 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe()
|
D | qdio_setup.c | 28 return kmem_cache_zalloc(qdio_aob_cache, GFP_ATOMIC); in qdio_allocate_aob() 144 q = kmem_cache_zalloc(qdio_q_cache, GFP_KERNEL); in __qdio_allocate_qs()
|
/Linux-v4.19/drivers/staging/android/ |
D | ashmem.c | 180 range = kmem_cache_zalloc(ashmem_range_cachep, GFP_KERNEL); in range_alloc() 252 asma = kmem_cache_zalloc(ashmem_area_cachep, GFP_KERNEL); in ashmem_open()
|
/Linux-v4.19/drivers/scsi/libsas/ |
D | sas_init.c | 46 struct sas_task *task = kmem_cache_zalloc(sas_task_cache, flags); in sas_alloc_task() 617 event = kmem_cache_zalloc(sas_event_cache, flags); in sas_alloc_event()
|