Home
last modified time | relevance | path

Searched defs:cachep (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dslab.c241 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
247 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
327 static int obj_offset(struct kmem_cache *cachep) in obj_offset()
332 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1()
339 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2()
350 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword()
359 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
360 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
361 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
392 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
[all …]
Dslab_common.c519 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
878 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
898 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
Dslab.h460 struct kmem_cache *cachep; in cache_from_obj() local
610 static inline int cache_random_seq_create(struct kmem_cache *cachep, in cache_random_seq_create()
615 static inline void cache_random_seq_destroy(struct kmem_cache *cachep) { } in cache_random_seq_destroy()
Dslob.c624 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc()
637 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node) in kmem_cache_alloc_node()
/kernel/linux/linux-6.6/mm/
Dslab.c241 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
247 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
327 static int obj_offset(struct kmem_cache *cachep) in obj_offset()
332 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1()
339 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2()
350 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword()
359 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
360 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
361 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
392 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
[all …]
Dslab.h659 struct kmem_cache *cachep; in cache_from_obj() local
840 static inline int cache_random_seq_create(struct kmem_cache *cachep, in cache_random_seq_create()
845 static inline void cache_random_seq_destroy(struct kmem_cache *cachep) { } in cache_random_seq_destroy()
Dslab_common.c517 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
1202 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1218 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
/kernel/linux/linux-6.6/tools/testing/radix-tree/
Dlinux.c31 void kmem_cache_set_non_kernel(struct kmem_cache *cachep, unsigned int val) in kmem_cache_set_non_kernel()
36 unsigned long kmem_cache_get_alloc(struct kmem_cache *cachep) in kmem_cache_get_alloc()
41 unsigned long kmem_cache_nr_allocated(struct kmem_cache *cachep) in kmem_cache_nr_allocated()
46 unsigned long kmem_cache_nr_tallocated(struct kmem_cache *cachep) in kmem_cache_nr_tallocated()
51 void kmem_cache_zero_nr_tallocated(struct kmem_cache *cachep) in kmem_cache_zero_nr_tallocated()
56 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, in kmem_cache_alloc_lru()
96 void kmem_cache_free_locked(struct kmem_cache *cachep, void *objp) in kmem_cache_free_locked()
114 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free()
121 void kmem_cache_free_bulk(struct kmem_cache *cachep, size_t size, void **list) in kmem_cache_free_bulk()
132 void kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
[all …]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dlinux.c29 void *kmem_cache_alloc(struct kmem_cache *cachep, int gfp) in kmem_cache_alloc()
62 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free()
/kernel/linux/linux-6.6/tools/include/linux/
Dslab.h34 static inline void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) in kmem_cache_alloc()
/kernel/linux/linux-6.6/net/ipv4/
Dinet_hashtables.c65 struct inet_bind_bucket *inet_bind_bucket_create(struct kmem_cache *cachep, in inet_bind_bucket_create()
88 void inet_bind_bucket_destroy(struct kmem_cache *cachep, struct inet_bind_bucket *tb) in inet_bind_bucket_destroy()
124 struct inet_bind2_bucket *inet_bind2_bucket_create(struct kmem_cache *cachep, in inet_bind2_bucket_create()
140 void inet_bind2_bucket_destroy(struct kmem_cache *cachep, struct inet_bind2_bucket *tb) in inet_bind2_bucket_destroy()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_main.c833 struct kmem_cache *cachep; in snic_global_data_init() local
/kernel/linux/linux-6.6/drivers/scsi/snic/
Dsnic_main.c819 struct kmem_cache *cachep; in snic_global_data_init() local
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c73 struct inet_bind_bucket *inet_bind_bucket_create(struct kmem_cache *cachep, in inet_bind_bucket_create()
96 void inet_bind_bucket_destroy(struct kmem_cache *cachep, struct inet_bind_bucket *tb) in inet_bind_bucket_destroy()
/kernel/linux/linux-6.6/arch/powerpc/mm/
Dhugetlbpage.c49 struct kmem_cache *cachep; in __hugepte_alloc() local
/kernel/linux/linux-5.10/fs/ext4/
Dmballoc.c2671 struct kmem_cache *cachep = ext4_groupinfo_caches[cache_index]; in get_groupinfo_cache() local
2722 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_add_groupinfo() local
2798 struct kmem_cache *cachep; in ext4_mb_init_backend() local
2894 struct kmem_cache *cachep; in ext4_groupinfo_create_slab() local
3063 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_release() local
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dhugetlbpage.c48 struct kmem_cache *cachep; in __hugepte_alloc() local
/kernel/linux/linux-6.6/fs/ext4/
Dmballoc.c3273 struct kmem_cache *cachep = ext4_groupinfo_caches[cache_index]; in get_groupinfo_cache() local
3324 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_add_groupinfo() local
3403 struct kmem_cache *cachep; in ext4_mb_init_backend() local
3499 struct kmem_cache *cachep; in ext4_groupinfo_create_slab() local
3767 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_release() local
/kernel/linux/linux-5.10/fs/gfs2/
Dglock.c1023 struct kmem_cache *cachep; in gfs2_glock_get() local
/kernel/linux/linux-6.6/fs/f2fs/
Df2fs.h2849 static inline void *f2fs_kmem_cache_alloc_nofail(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc_nofail()
2860 static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc()
/kernel/linux/linux-5.10/fs/f2fs/
Df2fs.h2469 static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc()