Lines Matching refs:blkcg
375 * cgwb_lock protects bdi->cgwb_tree, blkcg->cgwb_list, and memcg->cgwb_list.
394 struct blkcg *blkcg = css_to_blkcg(wb->blkcg_css);
404 blkcg_unpin_online(blkcg);
440 struct blkcg *blkcg;
448 blkcg = css_to_blkcg(blkcg_css);
450 blkcg_cgwb_list = &blkcg->cgwb_list;
452 /* look up again under lock and discard on blkcg mismatch */
503 blkcg_pin_online(blkcg);
541 * A wb is keyed by its associated memcg. As blkcg implicitly enables
543 * more specific (equal or descendant to the associated blkcg) and thus can
544 * identify both the memcg and blkcg associations.
546 * Because the blkcg associated with a memcg may change as blkcg is enabled
548 * both the memcg and blkcg associated with it and verifies the blkcg on
565 /* see whether the blkcg association has changed */
664 * wb_blkcg_offline - kill all wb's associated with a blkcg being offlined
665 * @blkcg: blkcg being offlined
667 * Also prevents creation of any new wb's associated with @blkcg.
669 void wb_blkcg_offline(struct blkcg *blkcg)
674 list_for_each_entry_safe(wb, next, &blkcg->cgwb_list, blkcg_node)
676 blkcg->cgwb_list.next = NULL; /* prevent new wb's */