Lines Matching defs:s

78 unsigned int kmem_cache_size(struct kmem_cache *s)  in kmem_cache_size()
103 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()
134 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
142 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
170 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
184 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
207 struct kmem_cache *s; in memcg_update_all_caches() local
224 void memcg_link_cache(struct kmem_cache *s) in memcg_link_cache()
236 static void memcg_unlink_cache(struct kmem_cache *s) in memcg_unlink_cache()
246 static inline int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
252 static inline void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
256 static inline void memcg_unlink_cache(struct kmem_cache *s) in memcg_unlink_cache()
293 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
319 struct kmem_cache *s; in find_mergeable() local
369 struct kmem_cache *s; in create_cache() local
442 struct kmem_cache *s = NULL; in kmem_cache_create_usercopy() local
529 struct kmem_cache *s, *s2; in slab_caches_to_rcu_destroy_workfn() local
558 static int shutdown_cache(struct kmem_cache *s) in shutdown_cache()
603 struct kmem_cache *s = NULL; in memcg_create_kmem_cache() local
669 struct kmem_cache *s = container_of(work, struct kmem_cache, in kmemcg_deactivate_workfn() local
690 struct kmem_cache *s = container_of(head, struct kmem_cache, in kmemcg_deactivate_rcufn() local
713 void slab_deactivate_memcg_cache_rcu_sched(struct kmem_cache *s, in slab_deactivate_memcg_cache_rcu_sched()
734 struct kmem_cache *s, *c; in memcg_deactivate_kmem_caches() local
760 struct kmem_cache *s, *s2; in memcg_destroy_kmem_caches() local
780 static int shutdown_memcg_caches(struct kmem_cache *s) in shutdown_memcg_caches()
835 static void flush_memcg_workqueue(struct kmem_cache *s) in flush_memcg_workqueue()
856 static inline int shutdown_memcg_caches(struct kmem_cache *s) in shutdown_memcg_caches()
861 static inline void flush_memcg_workqueue(struct kmem_cache *s) in flush_memcg_workqueue()
866 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
874 void kmem_cache_destroy(struct kmem_cache *s) in kmem_cache_destroy()
937 void __init create_boot_cache(struct kmem_cache *s, const char *name, in create_boot_cache()
964 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in create_kmalloc_cache() local
1156 struct kmem_cache *s = kmalloc_caches[i]; in create_kmalloc_caches() local
1293 memcg_accumulate_slabinfo(struct kmem_cache *s, struct slabinfo *info) in memcg_accumulate_slabinfo()
1313 static void cache_show(struct kmem_cache *s, struct seq_file *m) in cache_show()
1336 struct kmem_cache *s = list_entry(p, struct kmem_cache, root_caches_node); in slab_show() local
1346 struct kmem_cache *s, *s2; in dump_unreclaimable_slab() local
1401 struct kmem_cache *s = list_entry(p, struct kmem_cache, in memcg_slab_show() local
1555 int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab()