/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 3 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. 6 //# kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc, 34 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 57 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 80 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 97 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
|
D | zalloc-simple.cocci | 83 + x = kmem_cache_zalloc(E3,E4); 86 + x = kmem_cache_zalloc(E3,E4); 89 + x = (T)kmem_cache_zalloc(E3,E4); 290 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x)
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | memory.c | 60 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb() 75 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
|
/kernel/linux/linux-5.10/scripts/coccinelle/null/ |
D | eno.cocci | 21 x = \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\|kmallo… 31 *x = \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_al…
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | vfio_ccw_drv.c | 173 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe() 178 private->cmd_region = kmem_cache_zalloc(vfio_ccw_cmd_region, in vfio_ccw_sch_probe() 183 private->schib_region = kmem_cache_zalloc(vfio_ccw_schib_region, in vfio_ccw_sch_probe() 189 private->crw_region = kmem_cache_zalloc(vfio_ccw_crw_region, in vfio_ccw_sch_probe()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | hashtab.c | 54 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in __hashtab_insert() 152 tmp = kmem_cache_zalloc(hashtab_node_cachep, in hashtab_duplicate()
|
D | ebitmap.c | 61 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_cpy() 187 e_iter = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_netlbl_import() 324 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_set_bit() 427 tmp = kmem_cache_zalloc(ebitmap_node_cachep, GFP_KERNEL); in ebitmap_read()
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | async_pf.c | 179 work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN); in kvm_setup_async_pf() 211 work = kmem_cache_zalloc(async_pf_cache, GFP_ATOMIC); in kvm_async_pf_wakeup_all()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | allowedips.c | 190 node = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 205 newnode = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 234 node = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add()
|
D | peer.c | 33 peer = kmem_cache_zalloc(peer_cache, GFP_KERNEL); in wg_peer_create()
|
/kernel/linux/linux-5.10/include/acpi/platform/ |
D | aclinuxex.h | 67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | avc.c | 300 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, in avc_xperms_decision_alloc() 307 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 313 xpd->auditallow = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 319 xpd->dontaudit = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc() 348 xp_node = kmem_cache_zalloc(avc_xperms_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_alloc() 504 node = kmem_cache_zalloc(avc_node_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_alloc_node()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | trans.c | 55 tr = kmem_cache_zalloc(gfs2_trans_cachep, GFP_NOFS); in gfs2_trans_begin() 133 bd = kmem_cache_zalloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL); in gfs2_alloc_bufdata()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | file.c | 201 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open() 269 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open()
|
/kernel/linux/linux-5.10/fs/epfs/ |
D | super.c | 20 kmem_cache_zalloc(epfs_inode_cachep, GFP_KERNEL); in epfs_alloc_inode()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | orangefs-cache.c | 120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/ |
D | sched_fence.c | 161 fence = kmem_cache_zalloc(sched_fence_slab, GFP_KERNEL); in drm_sched_fence_create()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | rtas_flash.c | 328 uf->flist = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 339 fl->next = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 348 p = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-uevent.c | 48 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
|
/kernel/linux/linux-5.10/kernel/ |
D | user.c | 185 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
|
D | delayacct.c | 36 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_dynamic_pool.c | 113 hmm_page = kmem_cache_zalloc(dypool_info->pgptr_cache, in free_pages_to_dynamic_pool()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_icreate_item.c | 100 icp = kmem_cache_zalloc(xfs_icreate_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_icreate_log()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | page-io.c | 60 io_end_vec = kmem_cache_zalloc(io_end_vec_cachep, GFP_NOFS); in ext4_alloc_io_end_vec() 281 ext4_io_end_t *io_end = kmem_cache_zalloc(io_end_cachep, flags); in ext4_init_io_end()
|