Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dslab.c242 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
248 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
328 static int obj_offset(struct kmem_cache *cachep) in obj_offset()
333 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1()
340 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2()
351 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword()
360 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
361 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
362 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
393 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
[all …]
Dslob.c640 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc()
647 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, gfp_t flags) in kmem_cache_alloc_lru()
659 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node) in kmem_cache_alloc_node()
Dslab_common.c512 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
1151 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1171 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
Dslab.h653 struct kmem_cache *cachep; in cache_from_obj() local
812 static inline int cache_random_seq_create(struct kmem_cache *cachep, in cache_random_seq_create()
817 static inline void cache_random_seq_destroy(struct kmem_cache *cachep) { } in cache_random_seq_destroy()
/Linux-v6.1/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 …]
/Linux-v6.1/tools/include/linux/
Dslab.h34 static inline void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) in kmem_cache_alloc()
/Linux-v6.1/net/ipv4/
Dinet_hashtables.c64 struct inet_bind_bucket *inet_bind_bucket_create(struct kmem_cache *cachep, in inet_bind_bucket_create()
87 void inet_bind_bucket_destroy(struct kmem_cache *cachep, struct inet_bind_bucket *tb) in inet_bind_bucket_destroy()
122 struct inet_bind2_bucket *inet_bind2_bucket_create(struct kmem_cache *cachep, in inet_bind2_bucket_create()
138 void inet_bind2_bucket_destroy(struct kmem_cache *cachep, struct inet_bind2_bucket *tb) in inet_bind2_bucket_destroy()
/Linux-v6.1/drivers/scsi/snic/
Dsnic_main.c819 struct kmem_cache *cachep; in snic_global_data_init() local
/Linux-v6.1/arch/powerpc/mm/
Dhugetlbpage.c49 struct kmem_cache *cachep; in __hugepte_alloc() local
/Linux-v6.1/fs/ext4/
Dmballoc.c3022 struct kmem_cache *cachep = ext4_groupinfo_caches[cache_index]; in get_groupinfo_cache() local
3073 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_add_groupinfo() local
3153 struct kmem_cache *cachep; in ext4_mb_init_backend() local
3245 struct kmem_cache *cachep; in ext4_groupinfo_create_slab() local
3513 struct kmem_cache *cachep = get_groupinfo_cache(sb->s_blocksize_bits); in ext4_mb_release() local
/Linux-v6.1/fs/f2fs/
Df2fs.h2782 static inline void *f2fs_kmem_cache_alloc_nofail(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc_nofail()
2793 static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, in f2fs_kmem_cache_alloc()