/linux-6.1.9/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)
|
/linux-6.1.9/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…
|
/linux-6.1.9/fs/dlm/ |
D | memory.c | 89 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb() 104 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
|
/linux-6.1.9/drivers/s390/cio/ |
D | vfio_ccw_drv.c | 150 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_alloc_private() 155 private->cmd_region = kmem_cache_zalloc(vfio_ccw_cmd_region, in vfio_ccw_alloc_private() 160 private->schib_region = kmem_cache_zalloc(vfio_ccw_schib_region, in vfio_ccw_alloc_private() 166 private->crw_region = kmem_cache_zalloc(vfio_ccw_crw_region, in vfio_ccw_alloc_private()
|
/linux-6.1.9/security/selinux/ss/ |
D | hashtab.c | 55 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in __hashtab_insert() 153 tmp = kmem_cache_zalloc(hashtab_node_cachep, in hashtab_duplicate()
|
D | ebitmap.c | 62 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_cpy() 188 e_iter = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_netlbl_import() 325 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()
|
/linux-6.1.9/mm/ |
D | mm_slot.h | 28 return kmem_cache_zalloc(cache, GFP_KERNEL); in mm_slot_alloc()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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-6.1.9/fs/ksmbd/ |
D | ksmbd_work.c | 21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, GFP_KERNEL); in ksmbd_alloc_work_struct()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/acpi/platform/ |
D | aclinuxex.h | 67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
|
/linux-6.1.9/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()
|
/linux-6.1.9/fs/ecryptfs/ |
D | file.c | 195 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_open() 263 file_info = kmem_cache_zalloc(ecryptfs_file_info_cache, GFP_KERNEL); in ecryptfs_dir_open()
|
/linux-6.1.9/fs/orangefs/ |
D | orangefs-cache.c | 120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/gpu/drm/scheduler/ |
D | sched_fence.c | 155 fence = kmem_cache_zalloc(sched_fence_slab, GFP_KERNEL); in drm_sched_fence_alloc()
|
/linux-6.1.9/fs/gfs2/ |
D | trans.c | 115 tr = kmem_cache_zalloc(gfs2_trans_cachep, GFP_NOFS); in gfs2_trans_begin() 168 bd = kmem_cache_zalloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL); in gfs2_alloc_bufdata()
|
/linux-6.1.9/drivers/iommu/ |
D | fsl_pamu_domain.c | 155 info = kmem_cache_zalloc(iommu_devinfo_cache, GFP_ATOMIC); in attach_device() 202 dma_domain = kmem_cache_zalloc(fsl_pamu_domain_cache, GFP_KERNEL); in fsl_pamu_domain_alloc()
|
/linux-6.1.9/drivers/md/ |
D | dm-uevent.c | 48 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_iunlink_item.c | 164 iup = kmem_cache_zalloc(xfs_iunlink_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_iunlink_log_inode()
|
D | xfs_icreate_item.c | 101 icp = kmem_cache_zalloc(xfs_icreate_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_icreate_log()
|
/linux-6.1.9/kernel/ |
D | user.c | 199 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
|