Home
last modified time | relevance | path

Searched refs:cachep (Results 1 – 3 of 3) sorted by relevance

/fs/gfs2/
Dglock.c1116 struct kmem_cache *cachep; in gfs2_glock_get() local
1128 cachep = gfs2_glock_aspace_cachep; in gfs2_glock_get()
1130 cachep = gfs2_glock_cachep; in gfs2_glock_get()
1131 gl = kmem_cache_alloc(cachep, GFP_NOFS); in gfs2_glock_get()
1140 kmem_cache_free(cachep, gl); in gfs2_glock_get()
1192 kmem_cache_free(cachep, gl); in gfs2_glock_get()
/fs/ext4/
Dmballoc.c3125 struct kmem_cache *cachep = ext4_groupinfo_caches[cache_index]; in get_groupinfo_cache() local
3127 BUG_ON(!cachep); in get_groupinfo_cache()
3128 return cachep; in get_groupinfo_cache()
3176 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_add_groupinfo() local
3200 meta_group_info[i] = kmem_cache_zalloc(cachep, GFP_NOFS); in ext4_mb_add_groupinfo()
3255 struct kmem_cache *cachep; in ext4_mb_init_backend() local
3314 cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_init_backend()
3319 kmem_cache_free(cachep, grp); in ext4_mb_init_backend()
3351 struct kmem_cache *cachep; in ext4_groupinfo_create_slab() local
3368 cachep = kmem_cache_create(ext4_groupinfo_slab_names[cache_index], in ext4_groupinfo_create_slab()
[all …]
/fs/f2fs/
Df2fs.h2745 static inline void *f2fs_kmem_cache_alloc_nofail(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc_nofail() argument
2750 entry = kmem_cache_alloc(cachep, flags); in f2fs_kmem_cache_alloc_nofail()
2752 entry = kmem_cache_alloc(cachep, flags | __GFP_NOFAIL); in f2fs_kmem_cache_alloc_nofail()
2756 static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc() argument
2760 return f2fs_kmem_cache_alloc_nofail(cachep, flags); in f2fs_kmem_cache_alloc()
2765 return kmem_cache_alloc(cachep, flags); in f2fs_kmem_cache_alloc()