Lines Matching refs:plid

64 	return pol && test_bit(pol->plid, q->blkcg_pols);  in blkcg_policy_enabled()
194 pd->plid = i; in blkg_alloc()
516 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
1106 cpd->plid = i; in blkcg_css_alloc()
1264 if (blkcg->cpd[pol->plid]) in blkcg_bind()
1265 pol->cpd_bind_fn(blkcg->cpd[pol->plid]); in blkcg_bind()
1335 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1369 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1371 pd->plid = pol->plid; in blkcg_activate_policy()
1377 pol->pd_init_fn(blkg->pd[pol->plid]); in blkcg_activate_policy()
1379 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1399 if (blkg->pd[pol->plid]) { in blkcg_activate_policy()
1400 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_activate_policy()
1401 blkg->pd[pol->plid] = NULL; in blkcg_activate_policy()
1432 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1438 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1440 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1441 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1442 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1485 pol->plid = i; in blkcg_policy_register()
1486 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1497 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1499 cpd->plid = pol->plid; in blkcg_policy_register()
1520 if (blkcg->cpd[pol->plid]) { in blkcg_policy_register()
1521 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_register()
1522 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_register()
1526 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1546 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1560 if (blkcg->cpd[pol->plid]) { in blkcg_policy_unregister()
1561 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_unregister()
1562 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_unregister()
1566 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()