/Linux-v6.1/mm/ |
D | slab.h | 9 struct slab { struct 18 struct kmem_cache *slab_cache; argument 30 struct slab *next; argument 35 struct kmem_cache *slab_cache; argument 50 struct list_head slab_list; argument 57 #error "Unexpected slab allocator configured" argument 67 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) argument 138 static inline bool slab_test_pfmemalloc(const struct slab *slab) in slab_test_pfmemalloc() 143 static inline void slab_set_pfmemalloc(struct slab *slab) in slab_set_pfmemalloc() 148 static inline void slab_clear_pfmemalloc(struct slab *slab) in slab_clear_pfmemalloc() [all …]
|
D | slub.c | 200 struct slab **slab; member 483 static __always_inline void slab_lock(struct slab *slab) in slab_lock() 491 static __always_inline void slab_unlock(struct slab *slab) in slab_unlock() 506 static inline bool __cmpxchg_double_slab(struct kmem_cache *s, struct slab *slab, in __cmpxchg_double_slab() 544 static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct slab *slab, in cmpxchg_double_slab() 590 struct slab *slab) in __fill_map() 671 struct slab *slab, void *object) in check_valid_pointer() 809 static void print_slab_info(const struct slab *slab) in print_slab_info() 881 static void print_trailer(struct kmem_cache *s, struct slab *slab, u8 *p) in print_trailer() 923 static void object_err(struct kmem_cache *s, struct slab *slab, in object_err() [all …]
|
D | slab.c | 242 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument 376 const struct slab *slab, unsigned int idx) in index_to_obj() 553 struct slab *slab, void *objp) in cache_free_pfmemalloc() 1359 struct slab *slab; in kmem_getpages() local 1383 static void kmem_freepages(struct kmem_cache *cachep, struct slab *slab) in kmem_freepages() 1403 struct slab *slab; in kmem_rcu_free() local 1544 struct slab *slab = virt_to_slab(objp); in check_poison_obj() local 1566 struct slab *slab) in slab_destroy_debugcheck() 1592 struct slab *slab) in slab_destroy_debugcheck() 1606 static void slab_destroy(struct kmem_cache *cachep, struct slab *slab) in slab_destroy() [all …]
|
D | slob.c | 108 static inline int slob_page_free(struct slab *slab) in slob_page_free() 113 static void set_slob_page_free(struct slab *slab, struct list_head *list) in set_slob_page_free() 119 static inline void clear_slob_page_free(struct slab *slab) in clear_slob_page_free() 466 void __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kmem_obj_info()
|
D | slab_common.c | 546 static void kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in kmem_obj_info() 572 struct slab *slab; in kmem_dump_obj() local 991 struct slab *slab; in kfree() local
|
/Linux-v6.1/include/linux/ |
D | slab_def.h | 89 static inline void *nearest_obj(struct kmem_cache *cache, const struct slab *slab, in nearest_obj() 108 const struct slab *slab, void *obj) in obj_to_index() 115 const struct slab *slab) in objs_per_slab()
|
D | slub_def.h | 51 struct slab *slab; /* The slab from which we are allocating */ member 160 static inline void *nearest_obj(struct kmem_cache *cache, const struct slab *slab, in nearest_obj() 180 const struct slab *slab, void *obj) in obj_to_index() 188 const struct slab *slab) in objs_per_slab()
|
D | kfence.h | 242 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
|
D | kasan.h | 139 static __always_inline void kasan_poison_slab(struct slab *slab) in kasan_poison_slab() 255 static inline void kasan_poison_slab(struct slab *slab) {} in kasan_poison_slab()
|
/Linux-v6.1/net/dccp/ |
D | ccid.c | 81 struct kmem_cache *slab; in ccid_kmem_cache_create() local 93 static void ccid_kmem_cache_destroy(struct kmem_cache *slab) in ccid_kmem_cache_destroy()
|
/Linux-v6.1/mm/kasan/ |
D | common.c | 125 void __kasan_poison_slab(struct slab *slab) in __kasan_poison_slab() 289 struct slab *slab = folio_slab(folio); in __kasan_slab_free_mempool() local 421 struct slab *slab; in __kasan_krealloc() local
|
D | report.c | 405 struct slab *slab; in complete_report_info() local
|
D | generic.c | 466 struct slab *slab = kasan_addr_to_slab(addr); in __kasan_record_aux_stack() local
|
/Linux-v6.1/mm/kfence/ |
D | core.c | 361 struct slab *slab; in kfence_guarded_alloc() local 560 struct slab *slab = page_slab(&pages[i]); in kfence_init_pool() local 637 struct slab *slab = virt_to_slab(p); in kfence_init_pool_early() local
|
D | report.c | 295 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
|
D | kfence_test.c | 285 struct slab *slab = virt_to_slab(alloc); in test_alloc() local
|
/Linux-v6.1/tools/cgroup/ |
D | memcg_slabinfo.py | 79 def count_free(slab): argument
|
/Linux-v6.1/lib/ |
D | sg_pool.c | 13 struct kmem_cache *slab; member
|
D | stackdepot.c | 368 void *slab; in stack_depot_fetch() local
|
/Linux-v6.1/tools/vm/ |
D | slabinfo.c | 54 struct slabinfo *slab; member 1204 static int slab_mismatch(char *slab) in slab_mismatch() 1213 struct slabinfo *slab = slabinfo; in read_slab_dir() local 1319 struct slabinfo *slab; in output_slabs() local
|
/Linux-v6.1/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 165 long current, slab, anon, file, kernel_stack, pagetables, percpu, sock, sum; in test_kmem_memcg_deletion() local
|
/Linux-v6.1/include/net/ |
D | request_sock.h | 30 struct kmem_cache *slab; member
|
/Linux-v6.1/block/ |
D | bio.c | 36 struct kmem_cache *slab; member 73 struct kmem_cache *slab; member
|
/Linux-v6.1/net/core/ |
D | sock.c | 2020 struct kmem_cache *slab; in sk_prot_alloc() local 2054 struct kmem_cache *slab; in sk_prot_free() local
|
/Linux-v6.1/fs/erofs/ |
D | zdata.c | 19 struct kmem_cache *slab; member
|