H A D | slab.c | 354 static int obj_offset(struct kmem_cache *cachep) obj_offset() argument 359 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) dbg_redzone1() argument 366 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) dbg_redzone2() argument 377 static void **dbg_userword(struct kmem_cache *cachep, void *objp) dbg_userword() argument 401 struct kmem_cache *cachep = page->slab_cache; set_obj_status() local 412 struct kmem_cache *cachep = page->slab_cache; get_obj_status() local 472 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) cpu_cache_get() argument 564 static void __slab_error(const char *function, struct kmem_cache *cachep, __slab_error() argument 695 static void recheck_pfmemalloc_active(struct kmem_cache *cachep, recheck_pfmemalloc_active() argument 723 static void *__ac_get_obj(struct kmem_cache *cachep, struct array_cache *ac, __ac_get_obj() argument 770 static inline void *ac_get_obj(struct kmem_cache *cachep, ac_get_obj() argument 783 static noinline void *__ac_put_obj(struct kmem_cache *cachep, __ac_put_obj() argument 796 static inline void ac_put_obj(struct kmem_cache *cachep, struct array_cache *ac, ac_put_obj() argument 843 static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) cache_free_alien() argument 848 static inline void *alternate_node_alloc(struct kmem_cache *cachep, alternate_node_alloc() argument 854 static inline void *____cache_alloc_node(struct kmem_cache *cachep, ____cache_alloc_node() argument 919 static void __drain_alien_cache(struct kmem_cache *cachep, __drain_alien_cache() argument 944 static void reap_alien(struct kmem_cache *cachep, struct kmem_cache_node *n) reap_alien() argument 965 static void drain_alien_cache(struct kmem_cache *cachep, drain_alien_cache() argument 987 static int __cache_free_alien(struct kmem_cache *cachep, void *objp, __cache_free_alien() argument 1018 static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) cache_free_alien() argument 1053 struct kmem_cache *cachep; init_cache_node_node() local 1089 static inline int slabs_tofree(struct kmem_cache *cachep, slabs_tofree() argument 1097 struct kmem_cache *cachep; cpuup_canceled() local 1165 struct kmem_cache *cachep; cpuup_prepare() local 1301 struct kmem_cache *cachep; drain_cache_node_node() local 1358 static void __init init_list(struct kmem_cache *cachep, struct kmem_cache_node *list, init_list() argument 1380 static void __init set_up_node(struct kmem_cache *cachep, int index) set_up_node() argument 1477 struct kmem_cache *cachep; kmem_cache_init_late() local 1528 slab_out_of_memory(struct kmem_cache *cachep, gfp_t gfpflags, int nodeid) slab_out_of_memory() argument 1584 static struct page *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, kmem_getpages() argument 1634 static void kmem_freepages(struct kmem_cache *cachep, struct page *page) kmem_freepages() argument 1661 struct kmem_cache *cachep; kmem_rcu_free() local 1673 static void store_stackinfo(struct kmem_cache *cachep, unsigned long *addr, store_stackinfo() argument 1706 static void poison_obj(struct kmem_cache *cachep, void *addr, unsigned char val) poison_obj() argument 1749 static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines) print_objinfo() argument 1776 static void check_poison_obj(struct kmem_cache *cachep, void *objp) check_poison_obj() argument 1839 static void slab_destroy_debugcheck(struct kmem_cache *cachep, slab_destroy_debugcheck() argument 1869 static void slab_destroy_debugcheck(struct kmem_cache *cachep, slab_destroy_debugcheck() argument 1884 static void slab_destroy(struct kmem_cache *cachep, struct page *page) slab_destroy() argument 1914 static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list) slabs_destroy() argument 1937 static size_t calculate_slab_order(struct kmem_cache *cachep, calculate_slab_order() argument 2022 static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) setup_cpu_cache() argument 2072 struct kmem_cache *cachep; __kmem_cache_alias() local 2109 __kmem_cache_create (struct kmem_cache *cachep, unsigned long flags) __kmem_cache_create() argument 2305 static void check_spinlock_acquired(struct kmem_cache *cachep) check_spinlock_acquired() argument 2313 static void check_spinlock_acquired_node(struct kmem_cache *cachep, int node) check_spinlock_acquired_node() argument 2334 struct kmem_cache *cachep = arg; do_drain() local 2350 static void drain_cpu_caches(struct kmem_cache *cachep) drain_cpu_caches() argument 2406 int __kmem_cache_shrink(struct kmem_cache *cachep, bool deactivate) __kmem_cache_shrink() argument 2424 int __kmem_cache_shutdown(struct kmem_cache *cachep) __kmem_cache_shutdown() argument 2459 static void *alloc_slabmgmt(struct kmem_cache *cachep, alloc_slabmgmt() argument 2492 static void cache_init_objs(struct kmem_cache *cachep, cache_init_objs() argument 2539 static void kmem_flagcheck(struct kmem_cache *cachep, gfp_t flags) kmem_flagcheck() argument 2549 static void *slab_get_obj(struct kmem_cache *cachep, struct page *page, slab_get_obj() argument 2563 static void slab_put_obj(struct kmem_cache *cachep, struct page *page, slab_put_obj() argument 2602 static int cache_grow(struct kmem_cache *cachep, cache_grow() argument 2721 static void *cache_free_debugcheck(struct kmem_cache *cachep, void *objp, cache_free_debugcheck() argument 2768 static void *cache_alloc_refill(struct kmem_cache *cachep, gfp_t flags, cache_alloc_refill() argument 2867 static inline void cache_alloc_debugcheck_before(struct kmem_cache *cachep, cache_alloc_debugcheck_before() argument 2877 static void *cache_alloc_debugcheck_after(struct kmem_cache *cachep, cache_alloc_debugcheck_after() argument 2929 static bool slab_should_failslab(struct kmem_cache *cachep, gfp_t flags) slab_should_failslab() argument 2937 static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags) ____cache_alloc() argument 2987 static void *alternate_node_alloc(struct kmem_cache *cachep, gfp_t flags) alternate_node_alloc() argument 3094 static void *____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, ____cache_alloc_node() argument 3153 slab_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, slab_alloc_node() argument 3235 __do_cache_alloc(struct kmem_cache *cachep, gfp_t flags) __do_cache_alloc() argument 3243 slab_alloc(struct kmem_cache *cachep, gfp_t flags, unsigned long caller) slab_alloc() argument 3280 static void free_block(struct kmem_cache *cachep, void **objpp, free_block() argument 3318 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) cache_flusharray() argument 3375 static inline void __cache_free(struct kmem_cache *cachep, void *objp, __cache_free() argument 3414 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) kmem_cache_alloc() argument 3427 kmem_cache_alloc_trace(struct kmem_cache *cachep, gfp_t flags, size_t size) kmem_cache_alloc_trace() argument 3452 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) kmem_cache_alloc_node() argument 3465 void *kmem_cache_alloc_node_trace(struct kmem_cache *cachep, kmem_cache_alloc_node_trace() argument 3485 struct kmem_cache *cachep; __do_kmalloc_node() local 3516 struct kmem_cache *cachep; __do_kmalloc() local 3550 void kmem_cache_free(struct kmem_cache *cachep, void *objp) kmem_cache_free() argument 3600 static int alloc_kmem_cache_node(struct kmem_cache *cachep, gfp_t gfp) alloc_kmem_cache_node() argument 3687 static int __do_tune_cpucache(struct kmem_cache *cachep, int limit, __do_tune_cpucache() argument 3728 static int do_tune_cpucache(struct kmem_cache *cachep, int limit, do_tune_cpucache() argument 3752 static int enable_cpucache(struct kmem_cache *cachep, gfp_t gfp) enable_cpucache() argument 3823 static void drain_array(struct kmem_cache *cachep, struct kmem_cache_node *n, drain_array() argument 3918 void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo) get_slabinfo() argument 3983 void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *cachep) slabinfo_show_stats() argument 4029 struct kmem_cache *cachep; slabinfo_write() local 4134 struct kmem_cache *cachep = list_entry(p, struct kmem_cache, list); leaks_show() local 2001 alloc_kmem_cache_cpus( struct kmem_cache *cachep, int entries, int batchcount) alloc_kmem_cache_cpus() argument
|