Searched refs:blkcg_css (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/mm/
H A Dbacking-dev.c490 css_put(wb->blkcg_css); cgwb_release_workfn()
522 struct cgroup_subsys_state *blkcg_css; cgwb_create() local
530 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys); cgwb_create()
531 blkcg = css_to_blkcg(blkcg_css); cgwb_create()
538 if (wb && wb->blkcg_css != blkcg_css) { cgwb_create()
551 ret = wb_init(wb, bdi, blkcg_css->id, gfp); cgwb_create()
564 wb->blkcg_css = blkcg_css; cgwb_create()
586 css_get(blkcg_css); cgwb_create()
606 css_put(blkcg_css); cgwb_create()
649 struct cgroup_subsys_state *blkcg_css; wb_get_create() local
652 blkcg_css = cgroup_get_e_css(memcg_css->cgroup, wb_get_create()
654 if (unlikely(wb->blkcg_css != blkcg_css || wb_get_create()
657 css_put(blkcg_css); wb_get_create()
676 bdi->wb.blkcg_css = blkcg_root_css; cgwb_bdi_init()
/linux-4.4.14/include/linux/
H A Dbacking-dev-defs.h125 struct cgroup_subsys_state *blkcg_css; /* and blkcg */ member in struct:bdi_writeback
H A Dbio.h527 int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css);
532 struct cgroup_subsys_state *blkcg_css) { return 0; } bio_associate_current()
531 bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css) bio_associate_blkcg() argument
H A Dwriteback.h267 bio_associate_blkcg(bio, wbc->wb->blkcg_css); wbc_init_bio()
H A Dbacking-dev.h299 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) wb_find_current()
/linux-4.4.14/block/
H A Dbio.c1951 * @blkcg_css: css of the blkcg to associate
1953 * Associate @bio with the blkcg specified by @blkcg_css. Block layer will
1956 * This function takes an extra reference of @blkcg_css which will be put
1960 int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css) bio_associate_blkcg() argument
1964 css_get(blkcg_css); bio_associate_blkcg()
1965 bio->bi_css = blkcg_css; bio_associate_blkcg()

Completed in 125 milliseconds