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()
688 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
1357 cpd->plid = i; in blkcg_css_alloc()
1518 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1555 pd->plid = pol->plid; in blkcg_activate_policy()
1556 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1568 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1589 pd = blkg->pd[pol->plid]; in blkcg_activate_policy()
1595 blkg->pd[pol->plid] = NULL; in blkcg_activate_policy()
1628 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1634 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1635 if (blkg->pd[pol->plid]->online && pol->pd_offline_fn) in blkcg_deactivate_policy()
1636 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1637 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1638 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1656 if (blkcg->cpd[pol->plid]) { in blkcg_free_all_cpd()
1657 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_free_all_cpd()
1658 blkcg->cpd[pol->plid] = NULL; in blkcg_free_all_cpd()
1694 pol->plid = i; in blkcg_policy_register()
1695 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1706 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1708 cpd->plid = pol->plid; in blkcg_policy_register()
1728 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1746 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1761 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()