Lines Matching refs:plid

59 	return pol && test_bit(pol->plid, q->blkcg_pols);  in blkcg_policy_enabled()
136 pd->plid = i; in blkg_alloc()
513 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
1175 cpd->plid = i; in blkcg_css_alloc()
1339 if (blkcg->cpd[pol->plid]) in blkcg_bind()
1340 pol->cpd_bind_fn(blkcg->cpd[pol->plid]); in blkcg_bind()
1417 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1428 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1430 pd->plid = pol->plid; in blkcg_activate_policy()
1435 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1473 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1476 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1478 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1479 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1480 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1524 pol->plid = i; in blkcg_policy_register()
1525 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1536 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1538 cpd->plid = pol->plid; in blkcg_policy_register()
1558 if (blkcg->cpd[pol->plid]) { in blkcg_policy_register()
1559 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_register()
1560 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_register()
1564 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1584 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1598 if (blkcg->cpd[pol->plid]) { in blkcg_policy_unregister()
1599 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_unregister()
1600 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_unregister()
1604 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()