Searched refs:memcg_css (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/include/linux/ |
D | backing-dev.h | 146 struct cgroup_subsys_state *memcg_css); 148 struct cgroup_subsys_state *memcg_css, 184 struct cgroup_subsys_state *memcg_css; in wb_find_current() local 187 memcg_css = task_css(current, memory_cgrp_id); in wb_find_current() 188 if (!memcg_css->parent) in wb_find_current() 191 wb = radix_tree_lookup(&bdi->cgwb_tree, memcg_css->id); in wb_find_current() 223 struct cgroup_subsys_state *memcg_css; in wb_get_create_current() local 225 memcg_css = task_get_css(current, memory_cgrp_id); in wb_get_create_current() 226 wb = wb_get_create(bdi, memcg_css, gfp); in wb_get_create_current() 227 css_put(memcg_css); in wb_get_create_current()
|
D | backing-dev-defs.h | 151 struct cgroup_subsys_state *memcg_css; /* the associated memcg */ member
|
D | memcontrol.h | 1661 if (unlikely(&folio_memcg(folio)->css != wb->memcg_css)) in mem_cgroup_track_foreign_dirty()
|
/linux-6.1.9/mm/ |
D | backing-dev.c | 392 css_put(wb->memcg_css); in cgwb_release_workfn() 423 WARN_ON(!radix_tree_delete(&wb->bdi->cgwb_tree, wb->memcg_css->id)); in cgwb_kill() 438 struct cgroup_subsys_state *memcg_css, gfp_t gfp) in cgwb_create() argument 447 memcg = mem_cgroup_from_css(memcg_css); in cgwb_create() 448 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys); in cgwb_create() 454 wb = radix_tree_lookup(&bdi->cgwb_tree, memcg_css->id); in cgwb_create() 482 wb->memcg_css = memcg_css; in cgwb_create() 500 ret = radix_tree_insert(&bdi->cgwb_tree, memcg_css->id, wb); in cgwb_create() 506 css_get(memcg_css); in cgwb_create() 556 struct cgroup_subsys_state *memcg_css) in wb_get_lookup() argument [all …]
|
D | memcontrol.c | 4541 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_domain() 4571 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_stats() 4656 frn->memcg_id == wb->memcg_css->id) in mem_cgroup_track_foreign_dirty_slowpath() 4683 frn->memcg_id = wb->memcg_css->id; in mem_cgroup_track_foreign_dirty_slowpath() 4691 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_flush_foreign()
|
/linux-6.1.9/fs/ |
D | fs-writeback.c | 245 struct cgroup_subsys_state *memcg_css; in __inode_attach_wb() local 248 memcg_css = mem_cgroup_css_from_page(page); in __inode_attach_wb() 249 wb = wb_get_create(bdi, memcg_css, GFP_ATOMIC); in __inode_attach_wb() 252 memcg_css = task_get_css(current, memory_cgrp_id); in __inode_attach_wb() 253 wb = wb_get_create(bdi, memcg_css, GFP_ATOMIC); in __inode_attach_wb() 254 css_put(memcg_css); in __inode_attach_wb() 561 struct cgroup_subsys_state *memcg_css; in inode_switch_wbs() local 580 memcg_css = css_from_id(new_wb_id, &memory_cgrp_subsys); in inode_switch_wbs() 581 if (memcg_css && !css_tryget(memcg_css)) in inode_switch_wbs() 582 memcg_css = NULL; in inode_switch_wbs() [all …]
|
/linux-6.1.9/drivers/block/ |
D | loop.c | 89 struct cgroup_subsys_state *memcg_css; member 867 if (cmd->memcg_css) in loop_queue_work() 868 css_put(cmd->memcg_css); in loop_queue_work() 869 cmd->memcg_css = NULL; in loop_queue_work() 1836 cmd->memcg_css = NULL; in loop_queue_rq() 1842 cmd->memcg_css = in loop_queue_rq() 1869 if (cmd->memcg_css) in loop_handle_cmd() 1871 mem_cgroup_from_css(cmd->memcg_css)); in loop_handle_cmd() 1878 if (cmd->memcg_css) { in loop_handle_cmd() 1880 css_put(cmd->memcg_css); in loop_handle_cmd()
|
/linux-6.1.9/include/trace/events/ |
D | writeback.h | 153 return cgroup_ino(wb->memcg_css->cgroup); in __trace_wb_assign_cgroup() 259 __entry->memcg_id = wb->memcg_css->id;
|