Lines Matching defs:slab

42 struct slab {  struct
47 struct kmem_cache *slab_cache; argument
60 struct kmem_cache *slab_cache; argument
67 struct slab *next; argument
95 #error "Unexpected slab allocator configured" argument
105 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) argument
176 static inline bool slab_test_pfmemalloc(const struct slab *slab) in slab_test_pfmemalloc()
181 static inline void slab_set_pfmemalloc(struct slab *slab) in slab_set_pfmemalloc()
186 static inline void slab_clear_pfmemalloc(struct slab *slab) in slab_clear_pfmemalloc()
191 static inline void __slab_clear_pfmemalloc(struct slab *slab) in __slab_clear_pfmemalloc()
196 static inline void *slab_address(const struct slab *slab) in slab_address()
201 static inline int slab_nid(const struct slab *slab) in slab_nid()
206 static inline pg_data_t *slab_pgdat(const struct slab *slab) in slab_pgdat()
221 static inline int slab_order(const struct slab *slab) in slab_order()
226 static inline size_t slab_size(const struct slab *slab) in slab_size()
440 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs()
456 static inline void memcg_free_slab_cgroups(struct slab *slab) in memcg_free_slab_cgroups()
518 struct slab *slab; in memcg_slab_post_alloc_hook() local
538 slab_objcgs(slab)[off] = objcg; in memcg_slab_post_alloc_hook() local
548 static inline void memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, in memcg_slab_free_hook()
579 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs()
589 static inline int memcg_alloc_slab_cgroups(struct slab *slab, in memcg_alloc_slab_cgroups()
596 static inline void memcg_free_slab_cgroups(struct slab *slab) in memcg_free_slab_cgroups()
615 static inline void memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, in memcg_slab_free_hook()
623 struct slab *slab; in virt_to_cache() local
632 static __always_inline void account_slab(struct slab *slab, int order, in account_slab()
642 static __always_inline void unaccount_slab(struct slab *slab, int order, in unaccount_slab()