Home
last modified time | relevance | path

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

/linux-6.3-rc2/mm/
A Dbacking-dev.c520 css_put(wb->blkcg_css); in cgwb_release_workfn()
524 blkcg_unpin_online(wb->blkcg_css); in cgwb_release_workfn()
568 struct cgroup_subsys_state *blkcg_css; in cgwb_create() local
582 if (wb && wb->blkcg_css != blkcg_css) { in cgwb_create()
610 wb->blkcg_css = blkcg_css; in cgwb_create()
632 blkcg_pin_online(blkcg_css); in cgwb_create()
634 css_get(blkcg_css); in cgwb_create()
655 css_put(blkcg_css); in cgwb_create()
697 if (unlikely(wb->blkcg_css != blkcg_css || !wb_tryget(wb))) in wb_get_lookup()
699 css_put(blkcg_css); in wb_get_lookup()
[all …]
/linux-6.3-rc2/include/linux/
A Dblk-cgroup.h31 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css);
32 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css);
A Dwriteback.h113 ((wbc)->wb ? (wbc)->wb->blkcg_css : blkcg_root_css)
288 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio()
A Dbacking-dev-defs.h152 struct cgroup_subsys_state *blkcg_css; /* and blkcg */ member
A Dbacking-dev.h207 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) in wb_find_current()
/linux-6.3-rc2/drivers/block/
A Dloop.c88 struct cgroup_subsys_state *blkcg_css; member
848 if (cur_worker->blkcg_css == cmd->blkcg_css) { in loop_queue_work()
851 } else if ((long)cur_worker->blkcg_css < (long)cmd->blkcg_css) { in loop_queue_work()
866 cmd->blkcg_css = NULL; in loop_queue_work()
873 worker->blkcg_css = cmd->blkcg_css; in loop_queue_work()
874 css_get(worker->blkcg_css); in loop_queue_work()
919 css_put(worker->blkcg_css); in loop_free_idle_workers()
1841 cmd->blkcg_css = NULL; in loop_queue_rq()
1847 if (cmd->blkcg_css) { in loop_queue_rq()
1873 if (cmd->blkcg_css) in loop_handle_cmd()
[all …]
/linux-6.3-rc2/kernel/
A Dkthread.c61 struct cgroup_subsys_state *blkcg_css; member
141 WARN_ON_ONCE(kthread->blkcg_css); in free_kthread_struct()
1503 if (kthread->blkcg_css) { in kthread_associate_blkcg()
1504 css_put(kthread->blkcg_css); in kthread_associate_blkcg()
1505 kthread->blkcg_css = NULL; in kthread_associate_blkcg()
1509 kthread->blkcg_css = css; in kthread_associate_blkcg()
1526 return kthread->blkcg_css; in kthread_blkcg()
/linux-6.3-rc2/block/
A Dblk-cgroup.c101 static struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() function
1151 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_pin_online() argument
1153 refcount_inc(&css_to_blkcg(blkcg_css)->online_pin); in blkcg_pin_online()
1165 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_unpin_online() argument
1167 struct blkcg *blkcg = css_to_blkcg(blkcg_css); in blkcg_unpin_online()
1853 blkcg = css_to_blkcg(blkcg_css()); in blkcg_maybe_throttle_current()
2000 css = blkcg_css(); in bio_associate_blkg()
2078 for (css = blkcg_css(); css; css = css->parent) { in blk_cgroup_congested()
/linux-6.3-rc2/fs/btrfs/
A Dcompression.h97 struct cgroup_subsys_state *blkcg_css,
A Dcompression.c284 struct cgroup_subsys_state *blkcg_css, in btrfs_submit_compressed_write() argument
308 if (blkcg_css) { in btrfs_submit_compressed_write()
309 kthread_associate_blkcg(blkcg_css); in btrfs_submit_compressed_write()
347 if (blkcg_css) in btrfs_submit_compressed_write()
A Dinode.c514 struct cgroup_subsys_state *blkcg_css; member
1064 async_chunk->blkcg_css, true)) { in submit_one_async_extent()
1522 if (async_chunk->blkcg_css) in async_cow_free()
1523 css_put(async_chunk->blkcg_css); in async_cow_free()
1537 struct cgroup_subsys_state *blkcg_css = wbc_blkcg_css(wbc); in cow_file_range_async() local
1622 if (blkcg_css != blkcg_root_css) { in cow_file_range_async()
1623 css_get(blkcg_css); in cow_file_range_async()
1624 async_chunk[i].blkcg_css = blkcg_css; in cow_file_range_async()
1626 async_chunk[i].blkcg_css = NULL; in cow_file_range_async()
/linux-6.3-rc2/kernel/trace/
A 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()

Completed in 47 milliseconds