Lines Matching defs:s
178 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
183 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
194 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
207 cache_from_memcg_idx(struct kmem_cache *s, int idx) in cache_from_memcg_idx()
226 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
233 static __always_inline int memcg_charge_slab(struct kmem_cache *s, in memcg_charge_slab()
243 static __always_inline void memcg_uncharge_slab(struct kmem_cache *s, int order) in memcg_uncharge_slab()
261 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
266 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
272 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
278 cache_from_memcg_idx(struct kmem_cache *s, int idx) in cache_from_memcg_idx()
283 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
288 static inline int memcg_charge_slab(struct kmem_cache *s, gfp_t gfp, int order) in memcg_charge_slab()
293 static inline void memcg_uncharge_slab(struct kmem_cache *s, int order) in memcg_uncharge_slab()
297 static inline void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
302 static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) in cache_from_obj()
360 static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node) in get_node()