Home
last modified time | relevance | path

Searched defs:slab (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/mm/
Dslab.h9 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 …]
Dslub.c200 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 …]
Dslab.c242 #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 …]
Dslob.c108 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()
Dslab_common.c546 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/
Dslab_def.h89 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()
Dslub_def.h51 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()
Dkfence.h242 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
Dkasan.h139 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/
Dccid.c81 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/
Dcommon.c125 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
Dreport.c405 struct slab *slab; in complete_report_info() local
Dgeneric.c466 struct slab *slab = kasan_addr_to_slab(addr); in __kasan_record_aux_stack() local
/Linux-v6.1/mm/kfence/
Dcore.c361 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
Dreport.c295 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
Dkfence_test.c285 struct slab *slab = virt_to_slab(alloc); in test_alloc() local
/Linux-v6.1/tools/cgroup/
Dmemcg_slabinfo.py79 def count_free(slab): argument
/Linux-v6.1/lib/
Dsg_pool.c13 struct kmem_cache *slab; member
Dstackdepot.c368 void *slab; in stack_depot_fetch() local
/Linux-v6.1/tools/vm/
Dslabinfo.c54 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/
Dtest_kmem.c165 long current, slab, anon, file, kernel_stack, pagetables, percpu, sock, sum; in test_kmem_memcg_deletion() local
/Linux-v6.1/include/net/
Drequest_sock.h30 struct kmem_cache *slab; member
/Linux-v6.1/block/
Dbio.c36 struct kmem_cache *slab; member
73 struct kmem_cache *slab; member
/Linux-v6.1/net/core/
Dsock.c2020 struct kmem_cache *slab; in sk_prot_alloc() local
2054 struct kmem_cache *slab; in sk_prot_free() local
/Linux-v6.1/fs/erofs/
Dzdata.c19 struct kmem_cache *slab; member

12