Lines Matching refs:c
797 struct kmem_cache *s, *c; in memcg_deactivate_kmem_caches() local
809 c = arr->entries[idx]; in memcg_deactivate_kmem_caches()
810 if (!c) in memcg_deactivate_kmem_caches()
813 kmemcg_cache_deactivate(c); in memcg_deactivate_kmem_caches()
837 struct kmem_cache *c, *c2; in shutdown_memcg_caches() local
850 c = arr->entries[i]; in shutdown_memcg_caches()
851 if (!c) in shutdown_memcg_caches()
853 if (shutdown_cache(c)) in shutdown_memcg_caches()
859 list_move(&c->memcg_params.children_node, &busy); in shutdown_memcg_caches()
874 list_for_each_entry_safe(c, c2, &s->memcg_params.children, in shutdown_memcg_caches()
876 shutdown_cache(c); in shutdown_memcg_caches()
1004 struct kmem_cache *c; in kmem_cache_shrink_all() local
1021 for_each_memcg_cache(c, s) { in kmem_cache_shrink_all()
1027 kasan_cache_shrink(c); in kmem_cache_shrink_all()
1028 __kmem_cache_shrink(c); in kmem_cache_shrink_all()
1434 struct kmem_cache *c; in memcg_accumulate_slabinfo() local
1440 for_each_memcg_cache(c, s) { in memcg_accumulate_slabinfo()
1442 get_slabinfo(c, &sinfo); in memcg_accumulate_slabinfo()
1598 struct kmem_cache *s, *c; in memcg_slabinfo_show() local
1617 for_each_memcg_cache(c, s) { in memcg_slabinfo_show()
1621 css = &c->memcg_params.memcg->css; in memcg_slabinfo_show()
1624 else if (c->flags & SLAB_DEACTIVATED) in memcg_slabinfo_show()
1628 get_slabinfo(c, &sinfo); in memcg_slabinfo_show()
1630 cache_name(c), css->id, status, in memcg_slabinfo_show()