Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dbacking-dev.c385 struct blkcg *blkcg = css_to_blkcg(wb->blkcg_css); in cgwb_release_workfn()
391 css_put(wb->blkcg_css); in cgwb_release_workfn()
431 struct cgroup_subsys_state *blkcg_css; in cgwb_create() local
439 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys); in cgwb_create()
440 blkcg = css_to_blkcg(blkcg_css); in cgwb_create()
447 if (wb && wb->blkcg_css != blkcg_css) { in cgwb_create()
475 wb->blkcg_css = blkcg_css; in cgwb_create()
497 css_get(blkcg_css); in cgwb_create()
517 css_put(blkcg_css); in cgwb_create()
555 struct cgroup_subsys_state *blkcg_css; in wb_get_lookup() local
[all …]
/Linux-v5.10/kernel/
Dkthread.c61 struct cgroup_subsys_state *blkcg_css; member
97 WARN_ON_ONCE(kthread && kthread->blkcg_css); in free_kthread_struct()
1311 if (kthread->blkcg_css) { in kthread_associate_blkcg()
1312 css_put(kthread->blkcg_css); in kthread_associate_blkcg()
1313 kthread->blkcg_css = NULL; in kthread_associate_blkcg()
1317 kthread->blkcg_css = css; in kthread_associate_blkcg()
1334 return kthread->blkcg_css; in kthread_blkcg()
/Linux-v5.10/fs/
Dio-wq.c64 struct cgroup_subsys_state *blkcg_css; member
191 if (worker->blkcg_css) { in __io_worker_unuse()
193 worker->blkcg_css = NULL; in __io_worker_unuse()
457 if (work->identity->blkcg_css != worker->blkcg_css) { in io_wq_switch_blkcg()
458 kthread_associate_blkcg(work->identity->blkcg_css); in io_wq_switch_blkcg()
459 worker->blkcg_css = work->identity->blkcg_css; in io_wq_switch_blkcg()
Dio_uring.c1074 id->blkcg_css = blkcg_css(); in io_init_identity()
1237 css_put(req->work.identity->blkcg_css); in io_req_clean_work()
1320 if (id->blkcg_css != blkcg_css()) { in io_grab_identity()
1328 if (css_tryget_online(id->blkcg_css)) in io_grab_identity()
9318 ctx->sqo_blkcg_css = blkcg_css(); in io_uring_create()
/Linux-v5.10/include/linux/
Dio_uring.h12 struct cgroup_subsys_state *blkcg_css; member
Dwriteback.h117 return wbc->wb->blkcg_css; in wbc_blkcg_css()
291 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio()
Dbacking-dev-defs.h154 struct cgroup_subsys_state *blkcg_css; /* and blkcg */ member
Dblk-cgroup.h217 static inline struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() function
250 return css_to_blkcg(blkcg_css()); in __bio_blkcg()
Dbacking-dev.h225 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) in wb_find_current()
/Linux-v5.10/fs/btrfs/
Dcompression.h99 struct cgroup_subsys_state *blkcg_css);
Dcompression.c377 struct cgroup_subsys_state *blkcg_css) in btrfs_submit_compressed_write() argument
409 if (blkcg_css) { in btrfs_submit_compressed_write()
411 kthread_associate_blkcg(blkcg_css); in btrfs_submit_compressed_write()
455 if (blkcg_css) in btrfs_submit_compressed_write()
483 if (blkcg_css) in btrfs_submit_compressed_write()
Dinode.c374 struct cgroup_subsys_state *blkcg_css; member
895 async_chunk->blkcg_css)) { in submit_compressed_extents()
1227 if (async_chunk->blkcg_css) in async_cow_free()
1228 css_put(async_chunk->blkcg_css); in async_cow_free()
1244 struct cgroup_subsys_state *blkcg_css = wbc_blkcg_css(wbc); in cow_file_range_async() local
1330 if (blkcg_css != blkcg_root_css) { in cow_file_range_async()
1331 css_get(blkcg_css); in cow_file_range_async()
1332 async_chunk[i].blkcg_css = blkcg_css; in cow_file_range_async()
1334 async_chunk[i].blkcg_css = NULL; in cow_file_range_async()
/Linux-v5.10/block/
Dblk-cgroup.c1864 css = blkcg_css(); in bio_associate_blkg()