Lines Matching refs:kmem_cache

250 static inline bool kmem_cache_debug(struct kmem_cache *s)  in kmem_cache_debug()
255 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
263 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
351 static int sysfs_slab_add(struct kmem_cache *);
352 static int sysfs_slab_alias(struct kmem_cache *, const char *);
354 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
355 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
360 static void debugfs_slab_add(struct kmem_cache *);
362 static inline void debugfs_slab_add(struct kmem_cache *s) { } in debugfs_slab_add()
419 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
431 void stat_add(const struct kmem_cache *s, enum stat_item si, int v) in stat_add()
452 static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node) in get_node()
489 static inline freeptr_t freelist_ptr_encode(const struct kmem_cache *s, in freelist_ptr_encode()
502 static inline void *freelist_ptr_decode(const struct kmem_cache *s, in freelist_ptr_decode()
515 static inline void *get_freepointer(struct kmem_cache *s, void *object) in get_freepointer()
527 static void prefetch_freepointer(const struct kmem_cache *s, void *object) in prefetch_freepointer()
544 static inline void *get_freepointer_safe(struct kmem_cache *s, void *object) in get_freepointer_safe()
558 static inline void set_freepointer(struct kmem_cache *s, void *object, void *fp) in set_freepointer()
573 static inline bool freeptr_outside_object(struct kmem_cache *s) in freeptr_outside_object()
582 static inline unsigned int get_info_end(struct kmem_cache *s) in get_info_end()
622 static void slub_set_cpu_partial(struct kmem_cache *s, unsigned int nr_objects) in slub_set_cpu_partial()
638 static inline unsigned int slub_get_cpu_partial(struct kmem_cache *s) in slub_get_cpu_partial()
644 slub_set_cpu_partial(struct kmem_cache *s, unsigned int nr_objects) in slub_set_cpu_partial()
648 static inline unsigned int slub_get_cpu_partial(struct kmem_cache *s) in slub_get_cpu_partial()
727 static inline bool __slab_update_freelist(struct kmem_cache *s, struct slab *slab, in __slab_update_freelist()
757 static inline bool slab_update_freelist(struct kmem_cache *s, struct slab *slab, in slab_update_freelist()
794 static inline void set_orig_size(struct kmem_cache *s, in set_orig_size()
808 static inline unsigned int get_orig_size(struct kmem_cache *s, void *object) in get_orig_size()
828 static void __fill_map(unsigned long *obj_map, struct kmem_cache *s, in __fill_map()
875 static inline unsigned int size_from_object(struct kmem_cache *s) in size_from_object()
883 static inline void *restore_red_left(struct kmem_cache *s, void *p) in restore_red_left()
926 static inline int check_valid_pointer(struct kmem_cache *s, in check_valid_pointer()
954 static struct track *get_track(struct kmem_cache *s, void *object, in get_track()
983 static void set_track_update(struct kmem_cache *s, void *object, in set_track_update()
998 static __always_inline void set_track(struct kmem_cache *s, void *object, in set_track()
1006 static void init_tracking(struct kmem_cache *s, void *object) in init_tracking()
1035 void print_tracking(struct kmem_cache *s, void *object) in print_tracking()
1052 void skip_orig_size_check(struct kmem_cache *s, const void *object) in skip_orig_size_check()
1057 static void __slab_bug(struct kmem_cache *s, const char *fmt, va_list argsp) in __slab_bug()
1071 static void slab_bug(struct kmem_cache *s, const char *fmt, ...) in slab_bug()
1081 static void slab_fix(struct kmem_cache *s, const char *fmt, ...) in slab_fix()
1096 static void print_trailer(struct kmem_cache *s, struct slab *slab, u8 *p) in print_trailer()
1136 static void object_err(struct kmem_cache *s, struct slab *slab, in object_err()
1149 static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab, in freelist_corrupted()
1174 static __printf(3, 4) void slab_err(struct kmem_cache *s, struct slab *slab, in slab_err()
1189 static void init_object(struct kmem_cache *s, void *object, u8 val) in init_object()
1223 static void restore_bytes(struct kmem_cache *s, const char *message, u8 data, in restore_bytes()
1237 check_bytes_and_report(struct kmem_cache *s, struct slab *slab, in check_bytes_and_report()
1308 static int check_pad_bytes(struct kmem_cache *s, struct slab *slab, u8 *p) in check_pad_bytes()
1331 slab_pad_check(struct kmem_cache *s, struct slab *slab) in slab_pad_check()
1367 static int check_object(struct kmem_cache *s, struct slab *slab, in check_object()
1447 static int check_slab(struct kmem_cache *s, struct slab *slab) in check_slab()
1481 static bool on_freelist(struct kmem_cache *s, struct slab *slab, void *search) in on_freelist()
1538 static void trace(struct kmem_cache *s, struct slab *slab, void *object, in trace()
1559 static void add_full(struct kmem_cache *s, in add_full()
1569 static void remove_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) in remove_full()
1583 static inline void inc_slabs_node(struct kmem_cache *s, int node, int objects) in inc_slabs_node()
1590 static inline void dec_slabs_node(struct kmem_cache *s, int node, int objects) in dec_slabs_node()
1599 static void setup_object_debug(struct kmem_cache *s, void *object) in setup_object_debug()
1609 void setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) in setup_slab_debug()
1619 static inline int alloc_consistency_checks(struct kmem_cache *s, in alloc_consistency_checks()
1636 static noinline bool alloc_debug_processing(struct kmem_cache *s, in alloc_debug_processing()
1665 static inline int free_consistency_checks(struct kmem_cache *s, in free_consistency_checks()
1910 static inline void setup_object_debug(struct kmem_cache *s, void *object) {} in setup_object_debug()
1912 void setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) {} in setup_slab_debug()
1914 static inline bool alloc_debug_processing(struct kmem_cache *s, in alloc_debug_processing()
1917 static inline bool free_debug_processing(struct kmem_cache *s, in free_debug_processing()
1921 static inline void slab_pad_check(struct kmem_cache *s, struct slab *slab) {} in slab_pad_check()
1922 static inline int check_object(struct kmem_cache *s, struct slab *slab, in check_object()
1925 static inline void set_track(struct kmem_cache *s, void *object, in set_track()
1927 static inline void add_full(struct kmem_cache *s, struct kmem_cache_node *n, in add_full()
1929 static inline void remove_full(struct kmem_cache *s, struct kmem_cache_node *n, in remove_full()
1941 static inline void inc_slabs_node(struct kmem_cache *s, int node, in inc_slabs_node()
1943 static inline void dec_slabs_node(struct kmem_cache *s, int node, in dec_slabs_node()
1946 static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab, in freelist_corrupted()
2017 int alloc_slab_obj_exts(struct slab *slab, struct kmem_cache *s, in alloc_slab_obj_exts()
2093 static int alloc_slab_obj_exts(struct slab *slab, struct kmem_cache *s, in alloc_slab_obj_exts()
2108 prepare_slab_obj_exts_hook(struct kmem_cache *s, gfp_t flags, void *p) in prepare_slab_obj_exts_hook()
2134 __alloc_tagging_slab_alloc_hook(struct kmem_cache *s, void *object, gfp_t flags) in __alloc_tagging_slab_alloc_hook()
2149 alloc_tagging_slab_alloc_hook(struct kmem_cache *s, void *object, gfp_t flags) in alloc_tagging_slab_alloc_hook()
2157 __alloc_tagging_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, in __alloc_tagging_slab_free_hook()
2179 alloc_tagging_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, in alloc_tagging_slab_free_hook()
2189 alloc_tagging_slab_alloc_hook(struct kmem_cache *s, void *object, gfp_t flags) in alloc_tagging_slab_alloc_hook()
2194 alloc_tagging_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, in alloc_tagging_slab_free_hook()
2204 static void memcg_alloc_abort_single(struct kmem_cache *s, void *object);
2207 bool memcg_slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in memcg_slab_post_alloc_hook()
2230 void memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, in memcg_slab_free_hook()
2249 struct kmem_cache *s; in memcg_slab_post_charge()
2299 static inline bool memcg_slab_post_alloc_hook(struct kmem_cache *s, in memcg_slab_post_alloc_hook()
2307 static inline void memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, in memcg_slab_free_hook()
2336 bool slab_free_hook(struct kmem_cache *s, void *x, bool init, in slab_free_hook()
2421 bool slab_free_freelist_hook(struct kmem_cache *s, void **head, void **tail, in slab_free_freelist_hook()
2464 static void *setup_object(struct kmem_cache *s, void *object) in setup_object()
2504 static int init_cache_random_seq(struct kmem_cache *s) in init_cache_random_seq()
2533 struct kmem_cache *s; in init_freelist_randomization()
2544 static void *next_freelist_entry(struct kmem_cache *s, in next_freelist_entry()
2566 static bool shuffle_freelist(struct kmem_cache *s, struct slab *slab) in shuffle_freelist()
2599 static inline int init_cache_random_seq(struct kmem_cache *s) in init_cache_random_seq()
2604 static inline bool shuffle_freelist(struct kmem_cache *s, struct slab *slab) in shuffle_freelist()
2611 struct kmem_cache *s, gfp_t gfp) in account_slab()
2621 struct kmem_cache *s) in unaccount_slab()
2634 static struct slab *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) in allocate_slab()
2702 static struct slab *new_slab(struct kmem_cache *s, gfp_t flags, int node) in new_slab()
2713 static void __free_slab(struct kmem_cache *s, struct slab *slab) in __free_slab()
2734 static void free_slab(struct kmem_cache *s, struct slab *slab) in free_slab()
2750 static void discard_slab(struct kmem_cache *s, struct slab *slab) in discard_slab()
2807 static void *alloc_single_from_partial(struct kmem_cache *s, in alloc_single_from_partial()
2837 static void *alloc_single_from_new_slab(struct kmem_cache *s, in alloc_single_from_new_slab()
2872 static void put_cpu_partial(struct kmem_cache *s, struct slab *slab, int drain);
2874 static inline void put_cpu_partial(struct kmem_cache *s, struct slab *slab, in put_cpu_partial()
2882 static struct slab *get_partial_node(struct kmem_cache *s, in get_partial_node()
2940 static struct slab *get_any_partial(struct kmem_cache *s, in get_any_partial()
3004 static struct slab *get_partial(struct kmem_cache *s, int node, in get_partial()
3060 const struct kmem_cache *s, unsigned long tid) in note_cmpxchg_failure()
3083 static void init_kmem_cache_cpus(struct kmem_cache *s) in init_kmem_cache_cpus()
3101 static void deactivate_slab(struct kmem_cache *s, struct slab *slab, in deactivate_slab()
3182 static void __put_partials(struct kmem_cache *s, struct slab *partial_slab) in __put_partials()
3226 static void put_partials(struct kmem_cache *s) in put_partials()
3240 static void put_partials_cpu(struct kmem_cache *s, in put_partials_cpu()
3258 static void put_cpu_partial(struct kmem_cache *s, struct slab *slab, int drain) in put_cpu_partial()
3300 static inline void put_partials(struct kmem_cache *s) { } in put_partials()
3301 static inline void put_partials_cpu(struct kmem_cache *s, in put_partials_cpu()
3306 static inline void flush_slab(struct kmem_cache *s, struct kmem_cache_cpu *c) in flush_slab()
3329 static inline void __flush_cpu_slab(struct kmem_cache *s, int cpu) in __flush_cpu_slab()
3349 struct kmem_cache *s;
3360 struct kmem_cache *s; in flush_cpu_slab()
3375 static bool has_cpu_slab(int cpu, struct kmem_cache *s) in has_cpu_slab()
3385 static void flush_all_cpus_locked(struct kmem_cache *s) in flush_all_cpus_locked()
3415 static void flush_all(struct kmem_cache *s) in flush_all()
3428 struct kmem_cache *s; in slub_cpu_dead()
3438 static inline void flush_all_cpus_locked(struct kmem_cache *s) { } in flush_all_cpus_locked()
3439 static inline void flush_all(struct kmem_cache *s) { } in flush_all()
3440 static inline void __flush_cpu_slab(struct kmem_cache *s, int cpu) { } in __flush_cpu_slab()
3469 static inline bool free_debug_processing(struct kmem_cache *s, in free_debug_processing()
3582 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory()
3618 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) { } in slab_out_of_memory()
3631 __update_cpu_freelist_fast(struct kmem_cache *s, in __update_cpu_freelist_fast()
3650 static inline void *get_freelist(struct kmem_cache *s, struct slab *slab) in get_freelist()
3678 static inline void *freeze_slab(struct kmem_cache *s, struct slab *slab) in freeze_slab()
3721 static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in ___slab_alloc()
3967 static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in __slab_alloc()
3988 static __always_inline void *__slab_alloc_node(struct kmem_cache *s, in __slab_alloc_node()
4085 static void *__slab_alloc_node(struct kmem_cache *s, in __slab_alloc_node()
4117 static __always_inline void maybe_wipe_obj_freeptr(struct kmem_cache *s, in maybe_wipe_obj_freeptr()
4127 struct kmem_cache *slab_pre_alloc_hook(struct kmem_cache *s, gfp_t flags) in slab_pre_alloc_hook()
4140 bool slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in slab_post_alloc_hook()
4203 static __fastpath_inline void *slab_alloc_node(struct kmem_cache *s, struct list_lru *lru, in slab_alloc_node()
4234 void *kmem_cache_alloc_noprof(struct kmem_cache *s, gfp_t gfpflags) in kmem_cache_alloc_noprof()
4245 void *kmem_cache_alloc_lru_noprof(struct kmem_cache *s, struct list_lru *lru, in kmem_cache_alloc_lru_noprof()
4279 void *kmem_cache_alloc_node_noprof(struct kmem_cache *s, gfp_t gfpflags, int node) in kmem_cache_alloc_node_noprof()
4349 struct kmem_cache *s; in __do_kmalloc_node()
4389 void *__kmalloc_cache_noprof(struct kmem_cache *s, gfp_t gfpflags, size_t size) in __kmalloc_cache_noprof()
4401 void *__kmalloc_cache_node_noprof(struct kmem_cache *s, gfp_t gfpflags, in __kmalloc_cache_node_noprof()
4414 struct kmem_cache *s, struct slab *slab, in free_to_partial_list()
4482 static void __slab_free(struct kmem_cache *s, struct slab *slab, in __slab_free()
4610 static __always_inline void do_slab_free(struct kmem_cache *s, in do_slab_free()
4665 static void do_slab_free(struct kmem_cache *s, in do_slab_free()
4674 void slab_free(struct kmem_cache *s, struct slab *slab, void *object, in slab_free()
4687 void memcg_alloc_abort_single(struct kmem_cache *s, void *object) in memcg_alloc_abort_single()
4695 void slab_free_bulk(struct kmem_cache *s, struct slab *slab, void *head, in slab_free_bulk()
4715 struct kmem_cache *s; in slab_free_after_rcu_debug()
4736 void ___cache_free(struct kmem_cache *cache, void *x, unsigned long addr) in ___cache_free()
4742 static inline struct kmem_cache *virt_to_cache(const void *obj) in virt_to_cache()
4752 static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) in cache_from_obj()
4754 struct kmem_cache *cachep; in cache_from_obj()
4776 void kmem_cache_free(struct kmem_cache *s, void *x) in kmem_cache_free()
4817 struct kmem_cache *s; in kvfree_rcu_cb()
4863 struct kmem_cache *s; in kfree()
4889 struct kmem_cache *s = NULL; in __do_krealloc()
5172 struct kmem_cache *s;
5188 int build_detached_freelist(struct kmem_cache *s, size_t size, in build_detached_freelist()
5250 static void __kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in __kmem_cache_free_bulk()
5271 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
5291 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in __kmem_cache_alloc_bulk()
5361 static int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, in __kmem_cache_alloc_bulk()
5391 int kmem_cache_alloc_bulk_noprof(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk_noprof()
5566 static inline int alloc_kmem_cache_cpus(struct kmem_cache *s) in alloc_kmem_cache_cpus()
5587 static inline int alloc_kmem_cache_cpus(struct kmem_cache *s) in alloc_kmem_cache_cpus()
5593 static struct kmem_cache *kmem_cache_node;
5638 static void free_kmem_cache_nodes(struct kmem_cache *s) in free_kmem_cache_nodes()
5649 void __kmem_cache_release(struct kmem_cache *s) in __kmem_cache_release()
5658 static int init_kmem_cache_nodes(struct kmem_cache *s) in init_kmem_cache_nodes()
5683 static void set_cpu_partial(struct kmem_cache *s) in set_cpu_partial()
5720 static int calculate_sizes(struct kmem_cache_args *args, struct kmem_cache *s) in calculate_sizes()
5859 static void list_slab_objects(struct kmem_cache *s, struct slab *slab) in list_slab_objects()
5891 static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) in free_partial()
5912 bool __kmem_cache_empty(struct kmem_cache *s) in __kmem_cache_empty()
5926 int __kmem_cache_shutdown(struct kmem_cache *s) in __kmem_cache_shutdown()
5949 struct kmem_cache *s = slab->slab_cache; in __kmem_obj_info()
6071 struct kmem_cache *s; in __check_heap_object()
6120 static int __kmem_cache_do_shrink(struct kmem_cache *s) in __kmem_cache_do_shrink()
6183 int __kmem_cache_shrink(struct kmem_cache *s) in __kmem_cache_shrink()
6191 struct kmem_cache *s; in slab_mem_going_offline_callback()
6206 struct kmem_cache *s; in slab_mem_going_online_callback()
6277 static struct kmem_cache * __init bootstrap(struct kmem_cache *static_cache) in bootstrap()
6280 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in bootstrap()
6283 memcpy(s, static_cache, kmem_cache->object_size); in bootstrap()
6308 static __initdata struct kmem_cache boot_kmem_cache, in kmem_cache_init()
6319 kmem_cache = &boot_kmem_cache; in kmem_cache_init()
6337 create_boot_cache(kmem_cache, "kmem_cache", in kmem_cache_init()
6338 offsetof(struct kmem_cache, node) + in kmem_cache_init()
6342 kmem_cache = bootstrap(&boot_kmem_cache); in kmem_cache_init()
6369 struct kmem_cache *
6373 struct kmem_cache *s; in __kmem_cache_alias()
6394 int do_kmem_cache_create(struct kmem_cache *s, const char *name, in do_kmem_cache_create()
6496 static void validate_slab(struct kmem_cache *s, struct slab *slab, in validate_slab()
6516 static int validate_slab_node(struct kmem_cache *s, in validate_slab_node()
6553 long validate_slab_cache(struct kmem_cache *s) in validate_slab_cache()
6630 static int add_location(struct loc_track *t, struct kmem_cache *s, in add_location()
6722 static void process_slab(struct loc_track *t, struct kmem_cache *s, in process_slab()
6756 static ssize_t show_slab_objects(struct kmem_cache *s, in show_slab_objects()
6869 #define to_slab(n) container_of(n, struct kmem_cache, kobj)
6873 ssize_t (*show)(struct kmem_cache *s, char *buf);
6874 ssize_t (*store)(struct kmem_cache *s, const char *x, size_t count);
6883 static ssize_t slab_size_show(struct kmem_cache *s, char *buf) in slab_size_show()
6889 static ssize_t align_show(struct kmem_cache *s, char *buf) in align_show()
6895 static ssize_t object_size_show(struct kmem_cache *s, char *buf) in object_size_show()
6901 static ssize_t objs_per_slab_show(struct kmem_cache *s, char *buf) in objs_per_slab_show()
6907 static ssize_t order_show(struct kmem_cache *s, char *buf) in order_show()
6913 static ssize_t min_partial_show(struct kmem_cache *s, char *buf) in min_partial_show()
6918 static ssize_t min_partial_store(struct kmem_cache *s, const char *buf, in min_partial_store()
6933 static ssize_t cpu_partial_show(struct kmem_cache *s, char *buf) in cpu_partial_show()
6943 static ssize_t cpu_partial_store(struct kmem_cache *s, const char *buf, in cpu_partial_store()
6961 static ssize_t ctor_show(struct kmem_cache *s, char *buf) in ctor_show()
6969 static ssize_t aliases_show(struct kmem_cache *s, char *buf) in aliases_show()
6975 static ssize_t partial_show(struct kmem_cache *s, char *buf) in partial_show()
6981 static ssize_t cpu_slabs_show(struct kmem_cache *s, char *buf) in cpu_slabs_show()
6987 static ssize_t objects_partial_show(struct kmem_cache *s, char *buf) in objects_partial_show()
6993 static ssize_t slabs_cpu_partial_show(struct kmem_cache *s, char *buf) in slabs_cpu_partial_show()
7034 static ssize_t reclaim_account_show(struct kmem_cache *s, char *buf) in reclaim_account_show()
7040 static ssize_t hwcache_align_show(struct kmem_cache *s, char *buf) in hwcache_align_show()
7047 static ssize_t cache_dma_show(struct kmem_cache *s, char *buf) in cache_dma_show()
7055 static ssize_t usersize_show(struct kmem_cache *s, char *buf) in usersize_show()
7062 static ssize_t destroy_by_rcu_show(struct kmem_cache *s, char *buf) in destroy_by_rcu_show()
7069 static ssize_t slabs_show(struct kmem_cache *s, char *buf) in slabs_show()
7075 static ssize_t total_objects_show(struct kmem_cache *s, char *buf) in total_objects_show()
7081 static ssize_t objects_show(struct kmem_cache *s, char *buf) in objects_show()
7087 static ssize_t sanity_checks_show(struct kmem_cache *s, char *buf) in sanity_checks_show()
7093 static ssize_t trace_show(struct kmem_cache *s, char *buf) in trace_show()
7099 static ssize_t red_zone_show(struct kmem_cache *s, char *buf) in red_zone_show()
7106 static ssize_t poison_show(struct kmem_cache *s, char *buf) in poison_show()
7113 static ssize_t store_user_show(struct kmem_cache *s, char *buf) in store_user_show()
7120 static ssize_t validate_show(struct kmem_cache *s, char *buf) in validate_show()
7125 static ssize_t validate_store(struct kmem_cache *s, in validate_store()
7142 static ssize_t failslab_show(struct kmem_cache *s, char *buf) in failslab_show()
7147 static ssize_t failslab_store(struct kmem_cache *s, const char *buf, in failslab_store()
7163 static ssize_t shrink_show(struct kmem_cache *s, char *buf) in shrink_show()
7168 static ssize_t shrink_store(struct kmem_cache *s, in shrink_store()
7180 static ssize_t remote_node_defrag_ratio_show(struct kmem_cache *s, char *buf) in remote_node_defrag_ratio_show()
7185 static ssize_t remote_node_defrag_ratio_store(struct kmem_cache *s, in remote_node_defrag_ratio_store()
7205 static int show_stat(struct kmem_cache *s, char *buf, enum stat_item si) in show_stat()
7237 static void clear_stat(struct kmem_cache *s, enum stat_item si) in clear_stat()
7246 static ssize_t text##_show(struct kmem_cache *s, char *buf) \
7250 static ssize_t text##_store(struct kmem_cache *s, \
7289 static ssize_t skip_kfence_show(struct kmem_cache *s, char *buf) in skip_kfence_show()
7294 static ssize_t skip_kfence_store(struct kmem_cache *s, in skip_kfence_store()
7396 struct kmem_cache *s; in slab_attr_show()
7412 struct kmem_cache *s; in slab_attr_store()
7440 static inline struct kset *cache_kset(struct kmem_cache *s) in cache_kset()
7451 static char *create_unique_id(struct kmem_cache *s) in create_unique_id()
7489 static int sysfs_slab_add(struct kmem_cache *s) in sysfs_slab_add()
7540 void sysfs_slab_unlink(struct kmem_cache *s) in sysfs_slab_unlink()
7546 void sysfs_slab_release(struct kmem_cache *s) in sysfs_slab_release()
7556 struct kmem_cache *s;
7563 static int sysfs_slab_alias(struct kmem_cache *s, const char *name) in sysfs_slab_alias()
7594 struct kmem_cache *s; in slab_sysfs_init()
7748 struct kmem_cache *s = file_inode(filep)->i_private; in slab_debug_trace_open()
7807 static void debugfs_slab_add(struct kmem_cache *s) in debugfs_slab_add()
7823 void debugfs_slab_release(struct kmem_cache *s) in debugfs_slab_release()
7830 struct kmem_cache *s; in slab_debugfs_init()
7847 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) in get_slabinfo()