Lines Matching defs:s
272 static inline int cache_vmstat_idx(struct kmem_cache *s) in cache_vmstat_idx()
292 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
297 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
308 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
315 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
334 struct kmem_cache *s; in memcg_from_slab_page() local
349 struct kmem_cache *s) in memcg_charge_slab()
388 struct kmem_cache *s) in memcg_uncharge_slab()
420 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
425 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
431 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
436 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
447 struct kmem_cache *s) in memcg_charge_slab()
453 struct kmem_cache *s) in memcg_uncharge_slab()
457 static inline void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
461 static inline void memcg_link_cache(struct kmem_cache *s, in memcg_link_cache()
481 struct kmem_cache *s) in charge_slab_page()
493 struct kmem_cache *s) in uncharge_slab_page()
504 static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) in cache_from_obj()
527 static inline size_t slab_ksize(const struct kmem_cache *s) in slab_ksize()
557 static inline struct kmem_cache *slab_pre_alloc_hook(struct kmem_cache *s, in slab_pre_alloc_hook()
577 static inline void slab_post_alloc_hook(struct kmem_cache *s, gfp_t flags, in slab_post_alloc_hook()
628 static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node) in get_node()