Searched refs:css (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | memcontrol.c | 265 return &container_of(vmpr, struct mem_cgroup, vmpressure)->css; in vmpressure_to_css() 467 return &memcg->css; in mem_cgroup_css_from_page() 493 while (memcg && !(memcg->css.flags & CSS_ONLINE)) in page_cgroup_ino() 496 ino = cgroup_ino(memcg->css.cgroup); in page_cgroup_ino() 668 !css_tryget_online(&mz->memcg->css)) in __mem_cgroup_largest_soft_limit_node() 981 } while (!css_tryget(&memcg->css)); in get_mem_cgroup_from_mm() 1002 if (!memcg || !css_tryget_online(&memcg->css)) in get_mem_cgroup_from_page() 1018 if (css_tryget_online(¤t->active_memcg->css)) in get_mem_cgroup_from_current() 1048 struct cgroup_subsys_state *css = NULL; in mem_cgroup_iter() local 1080 if (!pos || css_tryget(&pos->css)) in mem_cgroup_iter() [all …]
|
D | hugetlb_cgroup.c | 23 struct cgroup_subsys_state css; member 39 return s ? container_of(s, struct hugetlb_cgroup, css) : NULL; in hugetlb_cgroup_from_css() 56 return hugetlb_cgroup_from_css(h_cg->css.parent); in parent_hugetlb_cgroup() 106 return &h_cgroup->css; in hugetlb_cgroup_css_alloc() 109 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() argument 113 h_cgroup = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_free() 161 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() argument 163 struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_offline() 199 if (!css_tryget(&h_cg->css)) { in hugetlb_cgroup_charge_cgroup() 207 css_put(&h_cg->css); in hugetlb_cgroup_charge_cgroup() [all …]
|
D | slab_common.c | 242 css_get(&memcg->css); in memcg_link_cache() 643 struct cgroup_subsys_state *css = &memcg->css; in memcg_create_kmem_cache() local 673 cgroup_name(css->cgroup, memcg_name_buf, sizeof(memcg_name_buf)); in memcg_create_kmem_cache() 675 css->serial_nr, memcg_name_buf); in memcg_create_kmem_cache() 819 css_put(&memcg->css); in memcg_deactivate_kmem_caches() 825 css_get_many(&parent->css, nr_reparented); in memcg_deactivate_kmem_caches() 1640 struct cgroup_subsys_state *css; in memcg_slabinfo_show() local 1643 css = &c->memcg_params.memcg->css; in memcg_slabinfo_show() 1644 if (!(css->flags & CSS_ONLINE)) in memcg_slabinfo_show() 1652 cache_name(c), css->id, status, in memcg_slabinfo_show()
|
D | slab.h | 357 while (memcg && !css_tryget_online(&memcg->css)) in memcg_charge_slab() 377 css_put_many(&memcg->css, 1 << order); in memcg_charge_slab() 379 css_put(&memcg->css); in memcg_charge_slab()
|
D | vmpressure.c | 77 struct cgroup_subsys_state *css = vmpressure_to_css(vmpr); in vmpressure_parent() local 78 struct mem_cgroup *memcg = mem_cgroup_from_css(css); in vmpressure_parent()
|
D | backing-dev.c | 706 bdi->wb.memcg_css = &root_mem_cgroup->css; in cgwb_bdi_init()
|