Home
last modified time | relevance | path

Searched refs:kmem_cache_zalloc (Results 1 – 25 of 187) sorted by relevance

12345678

/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci3 /// 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\|
Dzalloc-simple.cocci83 + 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/
Dmemory.c60 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/
Deno.cocci21 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/
Dvfio_ccw_drv.c173 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/
Dhashtab.c54 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in __hashtab_insert()
152 tmp = kmem_cache_zalloc(hashtab_node_cachep, in hashtab_duplicate()
Debitmap.c61 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/
Dasync_pf.c179 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/
Dmalloc.c280 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/
Dallowedips.c190 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()
Dpeer.c33 peer = kmem_cache_zalloc(peer_cache, GFP_KERNEL); in wg_peer_create()
/kernel/linux/linux-5.10/include/acpi/platform/
Daclinuxex.h67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
/kernel/linux/linux-5.10/security/selinux/
Davc.c300 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/
Dtrans.c55 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/
Dfile.c201 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/
Dsuper.c20 kmem_cache_zalloc(epfs_inode_cachep, GFP_KERNEL); in epfs_alloc_inode()
/kernel/linux/linux-5.10/fs/orangefs/
Dorangefs-cache.c120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
Dsched_fence.c161 fence = kmem_cache_zalloc(sched_fence_slab, GFP_KERNEL); in drm_sched_fence_create()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Drtas_flash.c328 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/
Ddm-uevent.c48 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
/kernel/linux/linux-5.10/kernel/
Duser.c185 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
Ddelayacct.c36 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_dynamic_pool.c113 hmm_page = kmem_cache_zalloc(dypool_info->pgptr_cache, in free_pages_to_dynamic_pool()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_icreate_item.c100 icp = kmem_cache_zalloc(xfs_icreate_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_icreate_log()
/kernel/linux/linux-5.10/fs/ext4/
Dpage-io.c60 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()

12345678