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()
1408 cpd->plid = i; in blkcg_css_alloc()
1566 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1603 pd->plid = pol->plid; in blkcg_activate_policy()
1604 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1616 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1637 pd = blkg->pd[pol->plid]; in blkcg_activate_policy()
1643 blkg->pd[pol->plid] = NULL; in blkcg_activate_policy()
1676 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1682 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1683 if (blkg->pd[pol->plid]->online && pol->pd_offline_fn) in blkcg_deactivate_policy()
1684 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1685 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1686 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1704 if (blkcg->cpd[pol->plid]) { in blkcg_free_all_cpd()
1705 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_free_all_cpd()
1706 blkcg->cpd[pol->plid] = NULL; in blkcg_free_all_cpd()
1745 pol->plid = i; in blkcg_policy_register()
1746 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1757 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1759 cpd->plid = pol->plid; in blkcg_policy_register()
1779 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1797 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1812 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()