Lines Matching defs:slab
52 struct slab { struct
55 struct kmem_cache *slab_cache; argument
62 struct slab *next; argument
96 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) argument
167 static inline bool slab_test_pfmemalloc(const struct slab *slab) in slab_test_pfmemalloc()
172 static inline void slab_set_pfmemalloc(struct slab *slab) in slab_set_pfmemalloc()
177 static inline void slab_clear_pfmemalloc(struct slab *slab) in slab_clear_pfmemalloc()
182 static inline void __slab_clear_pfmemalloc(struct slab *slab) in __slab_clear_pfmemalloc()
187 static inline void *slab_address(const struct slab *slab) in slab_address()
192 static inline int slab_nid(const struct slab *slab) in slab_nid()
197 static inline pg_data_t *slab_pgdat(const struct slab *slab) in slab_pgdat()
212 static inline int slab_order(const struct slab *slab) in slab_order()
217 static inline size_t slab_size(const struct slab *slab) in slab_size()
322 const struct slab *slab, void *x) in nearest_obj()
342 const struct slab *slab, void *obj) in obj_to_index()
350 const struct slab *slab) in objs_per_slab()
552 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs()
568 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs()
573 static inline int memcg_alloc_slab_cgroups(struct slab *slab, in memcg_alloc_slab_cgroups()