Home
last modified time | relevance | path

Searched refs:blkcg_css (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/mm/
Dbacking-dev.c532 css_put(wb->blkcg_css); in cgwb_release_workfn()
536 blkcg_unpin_online(wb->blkcg_css); in cgwb_release_workfn()
579 struct cgroup_subsys_state *blkcg_css; in cgwb_create() local
586 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys); in cgwb_create()
588 blkcg_cgwb_list = blkcg_get_cgwb_list(blkcg_css); in cgwb_create()
593 if (wb && wb->blkcg_css != blkcg_css) { in cgwb_create()
621 wb->blkcg_css = blkcg_css; in cgwb_create()
643 blkcg_pin_online(blkcg_css); in cgwb_create()
645 css_get(blkcg_css); in cgwb_create()
666 css_put(blkcg_css); in cgwb_create()
[all …]
/linux-6.6.21/include/linux/
Dblk-cgroup.h31 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css);
32 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css);
Dwriteback.h108 ((wbc)->wb ? (wbc)->wb->blkcg_css : blkcg_root_css)
283 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio()
Dbacking-dev-defs.h150 struct cgroup_subsys_state *blkcg_css; /* and blkcg */ member
Dbacking-dev.h206 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) in wb_find_current()
/linux-6.6.21/drivers/block/
Dloop.c88 struct cgroup_subsys_state *blkcg_css; member
811 struct cgroup_subsys_state *blkcg_css; member
838 if (queue_on_root_worker(cmd->blkcg_css)) in loop_queue_work()
846 if (cur_worker->blkcg_css == cmd->blkcg_css) { in loop_queue_work()
849 } else if ((long)cur_worker->blkcg_css < (long)cmd->blkcg_css) { in loop_queue_work()
864 cmd->blkcg_css = NULL; in loop_queue_work()
871 worker->blkcg_css = cmd->blkcg_css; in loop_queue_work()
872 css_get(worker->blkcg_css); in loop_queue_work()
917 css_put(worker->blkcg_css); in loop_free_idle_workers()
1866 cmd->blkcg_css = NULL; in loop_queue_rq()
[all …]
/linux-6.6.21/kernel/
Dkthread.c62 struct cgroup_subsys_state *blkcg_css; member
142 WARN_ON_ONCE(kthread->blkcg_css); in free_kthread_struct()
1507 if (kthread->blkcg_css) { in kthread_associate_blkcg()
1508 css_put(kthread->blkcg_css); in kthread_associate_blkcg()
1509 kthread->blkcg_css = NULL; in kthread_associate_blkcg()
1513 kthread->blkcg_css = css; in kthread_associate_blkcg()
1530 return kthread->blkcg_css; in kthread_blkcg()
/linux-6.6.21/block/
Dblk-cgroup.c103 static struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() function
1270 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_pin_online() argument
1272 refcount_inc(&css_to_blkcg(blkcg_css)->online_pin); in blkcg_pin_online()
1284 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_unpin_online() argument
1286 struct blkcg *blkcg = css_to_blkcg(blkcg_css); in blkcg_unpin_online()
1925 blkcg = css_to_blkcg(blkcg_css()); in blkcg_maybe_throttle_current()
2072 css = blkcg_css(); in bio_associate_blkg()
2151 for (css = blkcg_css(); css; css = css->parent) { in blk_cgroup_congested()
/linux-6.6.21/kernel/trace/
Dblktrace.c782 struct cgroup_subsys_state *blkcg_css; in blk_trace_bio_get_cgid() local
790 blkcg_css = bio_blkcg_css(bio); in blk_trace_bio_get_cgid()
791 if (!blkcg_css) in blk_trace_bio_get_cgid()
793 return cgroup_id(blkcg_css->cgroup); in blk_trace_bio_get_cgid()
/linux-6.6.21/fs/btrfs/
Dinode.c713 struct cgroup_subsys_state *blkcg_css; member
1110 if (async_chunk->blkcg_css) in submit_one_async_extent()
1111 kthread_associate_blkcg(async_chunk->blkcg_css); in submit_one_async_extent()
1187 if (async_chunk->blkcg_css) in submit_one_async_extent()
1204 if (async_chunk->blkcg_css) in submit_one_async_extent()
1601 if (async_chunk->blkcg_css) in async_cow_free()
1602 css_put(async_chunk->blkcg_css); in async_cow_free()
1614 struct cgroup_subsys_state *blkcg_css = wbc_blkcg_css(wbc); in run_delalloc_compressed() local
1677 if (blkcg_css != blkcg_root_css) { in run_delalloc_compressed()
1678 css_get(blkcg_css); in run_delalloc_compressed()
[all …]