Lines Matching defs:slab

207 	struct slab **slab;  member
512 static __always_inline void slab_lock(struct slab *slab) in slab_lock()
520 static __always_inline void slab_unlock(struct slab *slab) in slab_unlock()
529 __update_freelist_fast(struct slab *slab, in __update_freelist_fast()
544 __update_freelist_slow(struct slab *slab, in __update_freelist_slow()
569 static inline bool __slab_update_freelist(struct kmem_cache *s, struct slab *slab, in __slab_update_freelist()
599 static inline bool slab_update_freelist(struct kmem_cache *s, struct slab *slab, in slab_update_freelist()
635 struct slab *slab) in __fill_map()
716 struct slab *slab, void *object) in check_valid_pointer()
854 static void print_slab_info(const struct slab *slab) in print_slab_info()
942 static void print_trailer(struct kmem_cache *s, struct slab *slab, u8 *p) in print_trailer()
984 static void object_err(struct kmem_cache *s, struct slab *slab, in object_err()
995 static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab, in freelist_corrupted()
1009 static __printf(3, 4) void slab_err(struct kmem_cache *s, struct slab *slab, in slab_err()
1061 static int check_bytes_and_report(struct kmem_cache *s, struct slab *slab, in check_bytes_and_report()
1133 static int check_pad_bytes(struct kmem_cache *s, struct slab *slab, u8 *p) in check_pad_bytes()
1155 static void slab_pad_check(struct kmem_cache *s, struct slab *slab) in slab_pad_check()
1190 static int check_object(struct kmem_cache *s, struct slab *slab, in check_object()
1258 static int check_slab(struct kmem_cache *s, struct slab *slab) in check_slab()
1287 static int on_freelist(struct kmem_cache *s, struct slab *slab, void *search) in on_freelist()
1336 static void trace(struct kmem_cache *s, struct slab *slab, void *object, in trace()
1358 struct kmem_cache_node *n, struct slab *slab) in add_full()
1367 static void remove_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) in remove_full()
1415 void setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) in setup_slab_debug()
1426 struct slab *slab, void *object) in alloc_consistency_checks()
1443 struct slab *slab, void *object, int orig_size) in alloc_debug_processing()
1471 struct slab *slab, void *object, unsigned long addr) in free_consistency_checks()
1718 void setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) {} in setup_slab_debug()
1721 struct slab *slab, void *object, int orig_size) { return true; } in alloc_debug_processing()
1724 struct slab *slab, void *head, void *tail, int *bulk_cnt, in free_debug_processing()
1727 static inline void slab_pad_check(struct kmem_cache *s, struct slab *slab) {} in slab_pad_check()
1728 static inline int check_object(struct kmem_cache *s, struct slab *slab, in check_object()
1734 struct slab *slab) {} in add_full()
1736 struct slab *slab) {} in remove_full()
1754 static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab, in freelist_corrupted()
1866 struct slab *slab; in alloc_slab_page() local
1929 static void *next_freelist_entry(struct kmem_cache *s, struct slab *slab, in next_freelist_entry()
1951 static bool shuffle_freelist(struct kmem_cache *s, struct slab *slab) in shuffle_freelist()
1990 static inline bool shuffle_freelist(struct kmem_cache *s, struct slab *slab) in shuffle_freelist()
1998 struct slab *slab; in allocate_slab() local
2074 static void __free_slab(struct kmem_cache *s, struct slab *slab) in __free_slab()
2092 struct slab *slab = container_of(h, struct slab, rcu_head); in rcu_free_slab() local
2097 static void free_slab(struct kmem_cache *s, struct slab *slab) in free_slab()
2113 static void discard_slab(struct kmem_cache *s, struct slab *slab) in discard_slab()
2123 __add_partial(struct kmem_cache_node *n, struct slab *slab, int tail) in __add_partial()
2133 struct slab *slab, int tail) in add_partial()
2140 struct slab *slab) in remove_partial()
2154 struct kmem_cache_node *n, struct slab *slab, int orig_size) in alloc_single_from_partial()
2183 struct slab *slab, int orig_size) in alloc_single_from_new_slab()
2223 struct kmem_cache_node *n, struct slab *slab, in acquire_slab()
2264 static inline void put_cpu_partial(struct kmem_cache *s, struct slab *slab, in put_cpu_partial()
2275 struct slab *slab, *slab2; in get_partial_node() local
2492 static void deactivate_slab(struct kmem_cache *s, struct slab *slab, in deactivate_slab()
2603 struct slab *slab, *slab_to_discard = NULL; in __unfreeze_partials() local
2696 static void put_cpu_partial(struct kmem_cache *s, struct slab *slab, int drain) in put_cpu_partial()
2747 struct slab *slab; in flush_slab() local
2771 struct slab *slab = c->slab; in __flush_cpu_slab() local
2886 static inline int node_match(struct slab *slab, int node) in node_match()
2896 static int count_free(struct slab *slab) in count_free()
2908 struct slab *slab, void *head, void *tail, int *bulk_cnt, in free_debug_processing()
2967 int (*get_count)(struct slab *)) in count_partial()
2971 struct slab *slab; in count_partial() local
3021 static inline bool pfmemalloc_match(struct slab *slab, gfp_t gfpflags) in pfmemalloc_match()
3050 static inline void *get_freelist(struct kmem_cache *s, struct slab *slab) in get_freelist()
3099 struct slab *slab; in ___slab_alloc() local
3333 struct slab *slab; in __slab_alloc_node() local
3408 struct slab *slab; in __slab_alloc_node() local
3532 struct kmem_cache *s, struct slab *slab, in free_to_partial_list()
3600 static void __slab_free(struct kmem_cache *s, struct slab *slab, in __slab_free()
3735 struct slab *slab, void *head, void *tail, in do_slab_free()
3791 struct slab *slab, void *head, void *tail, in do_slab_free()
3800 static __fastpath_inline void slab_free(struct kmem_cache *s, struct slab *slab, in slab_free()
3836 struct slab *slab; member
4256 struct slab *slab; in early_kmem_cache_node_alloc() local
4568 static void list_slab_objects(struct kmem_cache *s, struct slab *slab, in list_slab_objects()
4599 struct slab *slab, *h; in free_partial() local
4648 void __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kmem_obj_info()
4748 const struct slab *slab, bool to_user) in __check_heap_object()
4804 struct slab *slab; in __kmem_cache_do_shrink() local
5134 static int count_inuse(struct slab *slab) in count_inuse()
5139 static int count_total(struct slab *slab) in count_total()
5146 static void validate_slab(struct kmem_cache *s, struct slab *slab, in validate_slab()
5170 struct slab *slab; in validate_slab_node() local
5373 struct slab *slab, enum track_item alloc, in process_slab()
5426 struct slab *slab; in show_slab_objects() local
5652 struct slab *slab; in slabs_cpu_partial_show() local
5667 struct slab *slab; in slabs_cpu_partial_show() local
6419 struct slab *slab; in slab_debug_trace_open() local