Home
last modified time | relevance | path

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

/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.h506 struct kmem_cache *cachep; in cache_from_obj() local
666 static inline int cache_random_seq_create(struct kmem_cache *cachep, in cache_random_seq_create()
671 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()
Dslab_common.c1006 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
1382 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1402 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
Dmemcontrol.c2880 struct kmem_cache *cachep; member
2889 struct kmem_cache *cachep = cw->cachep; in memcg_kmem_cache_create_func() local
2901 struct kmem_cache *cachep) in memcg_schedule_kmem_cache_create()
2944 struct kmem_cache *memcg_kmem_get_cache(struct kmem_cache *cachep) in memcg_kmem_get_cache()
3011 void memcg_kmem_put_cache(struct kmem_cache *cachep) in memcg_kmem_put_cache()