Lines Matching defs:s
63 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
72 struct kmem_cache *s = NULL; in kmem_cache_sanity_check() local
107 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
115 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
131 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
138 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
165 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
171 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
197 struct kmem_cache *s; in memcg_update_all_caches() local
214 static inline int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
220 static inline void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
228 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
251 struct kmem_cache *s; in find_mergeable() local
324 struct kmem_cache *s; in create_cache() local
387 struct kmem_cache *s = NULL; in kmem_cache_create() local
450 static int shutdown_cache(struct kmem_cache *s, in shutdown_cache()
465 struct kmem_cache *s, *s2; in release_caches() local
495 struct kmem_cache *s = NULL; in memcg_create_kmem_cache() local
564 struct kmem_cache *s, *c; in memcg_deactivate_kmem_caches() local
591 static int __shutdown_memcg_cache(struct kmem_cache *s, in __shutdown_memcg_cache()
607 struct kmem_cache *s, *s2; in memcg_destroy_kmem_caches() local
630 static int shutdown_memcg_caches(struct kmem_cache *s, in shutdown_memcg_caches()
686 static inline int shutdown_memcg_caches(struct kmem_cache *s, in shutdown_memcg_caches()
693 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
700 void kmem_cache_destroy(struct kmem_cache *s) in kmem_cache_destroy()
764 void __init create_boot_cache(struct kmem_cache *s, const char *name, size_t size, in create_boot_cache()
787 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in create_kmalloc_cache() local
980 struct kmem_cache *s = kmalloc_caches[i]; in create_kmalloc_caches() local
1073 memcg_accumulate_slabinfo(struct kmem_cache *s, struct slabinfo *info) in memcg_accumulate_slabinfo()
1093 static void cache_show(struct kmem_cache *s, struct seq_file *m) in cache_show()
1116 struct kmem_cache *s = list_entry(p, struct kmem_cache, list); in slab_show() local
1128 struct kmem_cache *s = list_entry(p, struct kmem_cache, list); in memcg_slab_show() local