Home
last modified time | relevance | path

Searched refs:kmem_cache_alloc (Results 1 – 25 of 250) sorted by relevance

12345678910

/Linux-v4.19/fs/jffs2/
Dmalloc.c130 ret = kmem_cache_alloc(full_dnode_slab, GFP_KERNEL); in jffs2_alloc_full_dnode()
144 ret = kmem_cache_alloc(raw_dirent_slab, GFP_KERNEL); in jffs2_alloc_raw_dirent()
158 ret = kmem_cache_alloc(raw_inode_slab, GFP_KERNEL); in jffs2_alloc_raw_inode()
172 ret = kmem_cache_alloc(tmp_dnode_info_slab, GFP_KERNEL); in jffs2_alloc_tmp_dnode_info()
188 ret = kmem_cache_alloc(raw_node_ref_slab, GFP_KERNEL); in jffs2_alloc_refblock()
251 ret = kmem_cache_alloc(node_frag_slab, GFP_KERNEL); in jffs2_alloc_node_frag()
265 ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL); in jffs2_alloc_inode_cache()
/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.cocci37 kmalloc_node(E1, ...)\|kmem_cache_alloc(...)\|kmem_alloc(E1, ...)\|
90 - x = kmem_cache_alloc(E3,E4);
93 - x = (T *)kmem_cache_alloc(E3,E4);
96 - x = (T)kmem_cache_alloc(E3,E4);
270 x = (T)kmem_cache_alloc@p(E2,E3);
288 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x)
/Linux-v4.19/arch/sparc/include/asm/
Dpgalloc_64.h28 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pgd_alloc()
45 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pud_alloc_one()
55 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pmd_alloc_one()
/Linux-v4.19/arch/sh/mm/
Dpgtable.c35 return kmem_cache_alloc(pgd_cachep, PGALLOC_GFP); in pgd_alloc()
51 return kmem_cache_alloc(pmd_cachep, PGALLOC_GFP); in pmd_alloc_one()
/Linux-v4.19/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h46 return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
59 return kmem_cache_alloc(PGT_CACHE(PUD_INDEX_SIZE), in pud_alloc_one()
89 return kmem_cache_alloc(PGT_CACHE(PMD_CACHE_INDEX), in pmd_alloc_one()
/Linux-v4.19/mm/
Dkmemleak-test.c65 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
67 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
/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/lib/
Dtest_kasan.c355 p = kmem_cache_alloc(cache, GFP_KERNEL); in kmem_cache_oob()
386 p = kmem_cache_alloc(cache, GFP_KERNEL); in memcg_accounted_kmem_cache()
538 p = kmem_cache_alloc(cache, GFP_KERNEL); in kmem_cache_double_free()
563 p = kmem_cache_alloc(cache, GFP_KERNEL); in kmem_cache_invalid_free()
/Linux-v4.19/include/linux/
Dslab.h356 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
389 return kmem_cache_alloc(s, flags); in kmem_cache_alloc_node()
414 void *ret = kmem_cache_alloc(s, flags); in kmem_cache_alloc_trace()
697 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h84 pgd = kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
123 pud = kmem_cache_alloc(PGT_CACHE(PUD_CACHE_INDEX), in pud_alloc_one()
/Linux-v4.19/tools/testing/radix-tree/linux/
Dslab.h20 void *kmem_cache_alloc(struct kmem_cache *cachep, int flags);
/Linux-v4.19/arch/arm64/mm/
Dpgd.c36 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in pgd_alloc()
/Linux-v4.19/arch/sh/kernel/
Dprocess.c32 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct()
/Linux-v4.19/arch/sh/kernel/cpu/
Dfpu.c23 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu()
/Linux-v4.19/arch/s390/kernel/
Dnmi.c89 origin = (unsigned long) kmem_cache_alloc(mcesa_cache, GFP_KERNEL); in nmi_init()
109 origin = (unsigned long) kmem_cache_alloc(mcesa_cache, GFP_KERNEL); in nmi_alloc_per_cpu()
/Linux-v4.19/fs/notify/fanotify/
Dfanotify.c162 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_event()
169 event = kmem_cache_alloc(fanotify_event_cachep, gfp); in fanotify_alloc_event()
/Linux-v4.19/fs/btrfs/
Ddelayed-ref.c729 ref = kmem_cache_alloc(btrfs_delayed_tree_ref_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
733 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
808 ref = kmem_cache_alloc(btrfs_delayed_data_ref_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
824 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
879 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_extent_op()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dverbs_txreq.h82 tx = kmem_cache_alloc(dev->verbs_txreq_cache, GFP_ATOMIC); in get_txreq()
Dverbs_txreq.c103 tx = kmem_cache_alloc(dev->verbs_txreq_cache, GFP_ATOMIC); in __get_txreq()
/Linux-v4.19/fs/xfs/
Dkmem.c94 ptr = kmem_cache_alloc(zone, lflags); in kmem_zone_alloc()
/Linux-v4.19/tools/power/pm-graph/config/
Dcgskip.txt35 kmem_cache_alloc
/Linux-v4.19/fs/notify/dnotify/
Ddnotify.c292 dn = kmem_cache_alloc(dnotify_struct_cache, GFP_KERNEL); in fcntl_dirnotify()
299 new_dn_mark = kmem_cache_alloc(dnotify_mark_cache, GFP_KERNEL); in fcntl_dirnotify()
/Linux-v4.19/tools/testing/radix-tree/
Dlinux.c28 void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) in kmem_cache_alloc() function
/Linux-v4.19/net/netfilter/
Dnf_conncount.c101 conn = kmem_cache_alloc(conncount_conn_cachep, GFP_ATOMIC); in nf_conncount_add()
400 rbconn = kmem_cache_alloc(conncount_rb_cachep, GFP_ATOMIC); in insert_tree()
404 conn = kmem_cache_alloc(conncount_conn_cachep, GFP_ATOMIC); in insert_tree()

12345678910