Searched refs:blkcg_css (Results 1 – 12 of 12) sorted by relevance
393 css_put(wb->blkcg_css); in cgwb_release_workfn()397 blkcg_unpin_online(wb->blkcg_css); in cgwb_release_workfn()441 struct cgroup_subsys_state *blkcg_css; in cgwb_create() local448 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys); in cgwb_create()450 blkcg_cgwb_list = blkcg_get_cgwb_list(blkcg_css); in cgwb_create()455 if (wb && wb->blkcg_css != blkcg_css) { in cgwb_create()483 wb->blkcg_css = blkcg_css; in cgwb_create()505 blkcg_pin_online(blkcg_css); in cgwb_create()507 css_get(blkcg_css); in cgwb_create()528 css_put(blkcg_css); in cgwb_create()[all …]
31 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css);32 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css);
113 ((wbc)->wb ? (wbc)->wb->blkcg_css : blkcg_root_css)288 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio()
152 struct cgroup_subsys_state *blkcg_css; /* and blkcg */ member
197 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) in wb_find_current()
88 struct cgroup_subsys_state *blkcg_css; member813 struct cgroup_subsys_state *blkcg_css; member840 if (queue_on_root_worker(cmd->blkcg_css)) in loop_queue_work()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()1826 cmd->blkcg_css = NULL; in loop_queue_rq()[all …]
61 struct cgroup_subsys_state *blkcg_css; member141 WARN_ON_ONCE(kthread->blkcg_css); in free_kthread_struct()1498 if (kthread->blkcg_css) { in kthread_associate_blkcg()1499 css_put(kthread->blkcg_css); in kthread_associate_blkcg()1500 kthread->blkcg_css = NULL; in kthread_associate_blkcg()1504 kthread->blkcg_css = css; in kthread_associate_blkcg()1521 return kthread->blkcg_css; in kthread_blkcg()
69 static struct cgroup_subsys_state *blkcg_css(void) in blkcg_css() function1077 void blkcg_pin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_pin_online() argument1079 refcount_inc(&css_to_blkcg(blkcg_css)->online_pin); in blkcg_pin_online()1091 void blkcg_unpin_online(struct cgroup_subsys_state *blkcg_css) in blkcg_unpin_online() argument1093 struct blkcg *blkcg = css_to_blkcg(blkcg_css); in blkcg_unpin_online()1766 blkcg = css_to_blkcg(blkcg_css()); in blkcg_maybe_throttle_current()1915 css = blkcg_css(); in bio_associate_blkg()1976 for (css = blkcg_css(); css; css = css->parent) { in blk_cgroup_congested()
99 struct cgroup_subsys_state *blkcg_css,
382 struct cgroup_subsys_state *blkcg_css, in btrfs_submit_compressed_write() argument411 if (blkcg_css) in btrfs_submit_compressed_write()412 kthread_associate_blkcg(blkcg_css); in btrfs_submit_compressed_write()431 if (blkcg_css) in btrfs_submit_compressed_write()486 if (blkcg_css) in btrfs_submit_compressed_write()
492 struct cgroup_subsys_state *blkcg_css; member1043 async_chunk->blkcg_css, true)) { in submit_one_async_extent()1501 if (async_chunk->blkcg_css) in async_cow_free()1502 css_put(async_chunk->blkcg_css); in async_cow_free()1516 struct cgroup_subsys_state *blkcg_css = wbc_blkcg_css(wbc); in cow_file_range_async() local1601 if (blkcg_css != blkcg_root_css) { in cow_file_range_async()1602 css_get(blkcg_css); in cow_file_range_async()1603 async_chunk[i].blkcg_css = blkcg_css; in cow_file_range_async()1605 async_chunk[i].blkcg_css = NULL; in cow_file_range_async()
786 struct cgroup_subsys_state *blkcg_css; in blk_trace_bio_get_cgid() local794 blkcg_css = bio_blkcg_css(bio); in blk_trace_bio_get_cgid()795 if (!blkcg_css) in blk_trace_bio_get_cgid()797 return cgroup_id(blkcg_css->cgroup); in blk_trace_bio_get_cgid()