Lines Matching refs:plid

116 	return pol && test_bit(pol->plid, q->blkcg_pols);  in blkcg_policy_enabled()
351 pd->plid = i; in blkg_alloc()
615 __clear_bit(pol->plid, q->blkcg_pols); in blkg_destroy_all()
723 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
1413 cpd->plid = i; in blkcg_css_alloc()
1572 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1609 pd->plid = pol->plid; in blkcg_activate_policy()
1610 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1622 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1643 pd = blkg->pd[pol->plid]; in blkcg_activate_policy()
1649 blkg->pd[pol->plid] = NULL; in blkcg_activate_policy()
1683 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1689 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1690 if (blkg->pd[pol->plid]->online && pol->pd_offline_fn) in blkcg_deactivate_policy()
1691 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1692 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1693 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1711 if (blkcg->cpd[pol->plid]) { in blkcg_free_all_cpd()
1712 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_free_all_cpd()
1713 blkcg->cpd[pol->plid] = NULL; in blkcg_free_all_cpd()
1752 pol->plid = i; in blkcg_policy_register()
1753 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1764 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1766 cpd->plid = pol->plid; in blkcg_policy_register()
1786 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1804 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1819 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()