Lines Matching defs:cachep

212 	struct kmem_cache *cachep;  member
347 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
353 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
431 static int obj_offset(struct kmem_cache *cachep) in obj_offset()
436 static int obj_size(struct kmem_cache *cachep) in obj_size()
441 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1()
448 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2()
459 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword()
468 #define obj_size(cachep) (cachep->buffer_size) argument
469 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
470 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
471 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
476 size_t slab_buffer_size(struct kmem_cache *cachep) in slab_buffer_size()
633 static void slab_set_lock_classes(struct kmem_cache *cachep, in slab_set_lock_classes()
662 static void slab_set_debugobj_lock_classes_node(struct kmem_cache *cachep, int node) in slab_set_debugobj_lock_classes_node()
667 static void slab_set_debugobj_lock_classes(struct kmem_cache *cachep) in slab_set_debugobj_lock_classes()
710 static void slab_set_debugobj_lock_classes_node(struct kmem_cache *cachep, int node) in slab_set_debugobj_lock_classes_node()
714 static void slab_set_debugobj_lock_classes(struct kmem_cache *cachep) in slab_set_debugobj_lock_classes()
727 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
833 #define slab_error(cachep, msg) __slab_error(__func__, cachep, msg) argument
835 static void __slab_error(const char *function, struct kmem_cache *cachep, in __slab_error()
979 #define drain_alien_cache(cachep, alien) do { } while (0) argument
980 #define reap_alien(cachep, l3) do { } while (0) argument
991 static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) in cache_free_alien()
996 static inline void *alternate_node_alloc(struct kmem_cache *cachep, in alternate_node_alloc()
1002 static inline void *____cache_alloc_node(struct kmem_cache *cachep, in ____cache_alloc_node()
1049 static void __drain_alien_cache(struct kmem_cache *cachep, in __drain_alien_cache()
1073 static void reap_alien(struct kmem_cache *cachep, struct kmem_list3 *l3) in reap_alien()
1087 static void drain_alien_cache(struct kmem_cache *cachep, in drain_alien_cache()
1104 static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) in cache_free_alien()
1152 struct kmem_cache *cachep; in init_cache_nodelists_node() local
1189 struct kmem_cache *cachep; in cpuup_canceled() local
1254 struct kmem_cache *cachep; in cpuup_prepare() local
1402 struct kmem_cache *cachep; in drain_cache_nodelists_node() local
1459 static void __init init_list(struct kmem_cache *cachep, struct kmem_list3 *list, in init_list()
1481 static void __init set_up_list3s(struct kmem_cache *cachep, int index) in set_up_list3s()
1684 struct kmem_cache *cachep; in kmem_cache_init_late() local
1741 static void *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nodeid) in kmem_getpages()
1788 static void kmem_freepages(struct kmem_cache *cachep, void *addr) in kmem_freepages()
1815 struct kmem_cache *cachep = slab_rcu->cachep; in kmem_rcu_free() local
1825 static void store_stackinfo(struct kmem_cache *cachep, unsigned long *addr, in store_stackinfo()
1858 static void poison_obj(struct kmem_cache *cachep, void *addr, unsigned char val) in poison_obj()
1901 static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines) in print_objinfo()
1930 static void check_poison_obj(struct kmem_cache *cachep, void *objp) in check_poison_obj()
1993 static void slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slabp) in slab_destroy_debugcheck()
2022 static void slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slabp) in slab_destroy_debugcheck()
2036 static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp) in slab_destroy()
2055 static void __kmem_cache_destroy(struct kmem_cache *cachep) in __kmem_cache_destroy()
2089 static size_t calculate_slab_order(struct kmem_cache *cachep, in calculate_slab_order()
2146 static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) in setup_cpu_cache()
2232 struct kmem_cache *cachep = NULL, *pc; in kmem_cache_create() local
2523 static void check_spinlock_acquired(struct kmem_cache *cachep) in check_spinlock_acquired()
2531 static void check_spinlock_acquired_node(struct kmem_cache *cachep, int node) in check_spinlock_acquired_node()
2552 struct kmem_cache *cachep = arg; in do_drain() local
2564 static void drain_cpu_caches(struct kmem_cache *cachep) in drain_cpu_caches()
2626 static int __cache_shrink(struct kmem_cache *cachep) in __cache_shrink()
2654 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
2684 void kmem_cache_destroy(struct kmem_cache *cachep) in kmem_cache_destroy()
2723 static struct slab *alloc_slabmgmt(struct kmem_cache *cachep, void *objp, in alloc_slabmgmt()
2760 static void cache_init_objs(struct kmem_cache *cachep, in cache_init_objs()
2807 static void kmem_flagcheck(struct kmem_cache *cachep, gfp_t flags) in kmem_flagcheck()
2817 static void *slab_get_obj(struct kmem_cache *cachep, struct slab *slabp, in slab_get_obj()
2834 static void slab_put_obj(struct kmem_cache *cachep, struct slab *slabp, in slab_put_obj()
2882 static int cache_grow(struct kmem_cache *cachep, in cache_grow()
2998 static void *cache_free_debugcheck(struct kmem_cache *cachep, void *objp, in cache_free_debugcheck()
3045 static void check_slabp(struct kmem_cache *cachep, struct slab *slabp) in check_slabp()
3074 static void *cache_alloc_refill(struct kmem_cache *cachep, gfp_t flags) in cache_alloc_refill()
3167 static inline void cache_alloc_debugcheck_before(struct kmem_cache *cachep, in cache_alloc_debugcheck_before()
3177 static void *cache_alloc_debugcheck_after(struct kmem_cache *cachep, in cache_alloc_debugcheck_after()
3234 static bool slab_should_failslab(struct kmem_cache *cachep, gfp_t flags) in slab_should_failslab()
3242 static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags) in ____cache_alloc()
3280 static void *alternate_node_alloc(struct kmem_cache *cachep, gfp_t flags) in alternate_node_alloc()
3382 static void *____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, in ____cache_alloc_node()
3454 __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, in __cache_alloc_node()
3533 __do_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in __do_cache_alloc()
3541 __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) in __cache_alloc()
3574 static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, in free_block()
3618 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3673 static inline void __cache_free(struct kmem_cache *cachep, void *objp, in __cache_free()
3713 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc()
3726 kmem_cache_alloc_trace(size_t size, struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc_trace()
3740 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) in kmem_cache_alloc_node()
3755 struct kmem_cache *cachep, in kmem_cache_alloc_node_trace()
3774 struct kmem_cache *cachep; in __do_kmalloc_node() local
3814 struct kmem_cache *cachep; in __do_kmalloc() local
3863 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free()
3906 unsigned int kmem_cache_size(struct kmem_cache *cachep) in kmem_cache_size()
3915 static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) in alloc_kmemlist()
4001 struct kmem_cache *cachep; member
4018 static int do_tune_cpucache(struct kmem_cache *cachep, int limit, in do_tune_cpucache()
4062 static int enable_cpucache(struct kmem_cache *cachep, gfp_t gfp) in enable_cpucache()
4120 static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, in drain_array()
4260 struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); in s_show() local
4389 struct kmem_cache *cachep; in slabinfo_write() local
4510 struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); in leaks_show() local