Home
last modified time | relevance | path

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

123456

/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci2 /// 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\|
Dzalloc-simple.cocci91 + 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/
Dmemory.c64 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/
Deno.cocci20 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/
Debitmap.c60 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()
Dhashtab.c63 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in hashtab_insert()
/Linux-v4.19/virt/kvm/
Dasync_pf.c194 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/
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()
/Linux-v4.19/include/acpi/platform/
Daclinuxex.h67 return kmem_cache_zalloc(cache, in acpi_os_acquire_object()
/Linux-v4.19/security/selinux/
Davc.c369 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/
Dfile.c215 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/
Dorangefs-cache.c120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc()
/Linux-v4.19/drivers/gpu/drm/scheduler/
Dsched_fence.c159 fence = kmem_cache_zalloc(sched_fence_slab, GFP_KERNEL); in drm_sched_fence_create()
/Linux-v4.19/arch/powerpc/kernel/
Drtas_flash.c332 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/
Dcrypto.c124 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/
Ddm-uevent.c61 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
/Linux-v4.19/kernel/
Duser.c186 new = kmem_cache_zalloc(uid_cachep, GFP_KERNEL); in alloc_uid()
Ddelayacct.c45 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
/Linux-v4.19/net/ipv4/
Dinet_fragment.c165 q = kmem_cache_zalloc(f->frags_cachep, GFP_ATOMIC); in inet_frag_alloc()
/Linux-v4.19/drivers/target/
Dtarget_core_ua.c95 ua = kmem_cache_zalloc(se_ua_cache, GFP_ATOMIC); in core_scsi3_ua_allocate()
Dtarget_core_alua.c1314 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/
Dvfio_ccw_drv.c119 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe()
Dqdio_setup.c28 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/
Dashmem.c180 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/
Dsas_init.c46 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()

123456