Home
last modified time | relevance | path

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

/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 …]
Dslab_common.c535 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
900 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
920 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
Dslob.c630 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc()
643 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node) in kmem_cache_alloc_node()
Dslab.h503 struct kmem_cache *cachep; in cache_from_obj() local
662 static inline int cache_random_seq_create(struct kmem_cache *cachep, in cache_random_seq_create()
667 static inline void cache_random_seq_destroy(struct kmem_cache *cachep) { } in cache_random_seq_destroy()