Lines Matching refs:plid

63 	return pol && test_bit(pol->plid, q->blkcg_pols);  in blkcg_policy_enabled()
193 pd->plid = i; in blkg_alloc()
515 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
1097 cpd->plid = i; in blkcg_css_alloc()
1250 if (blkcg->cpd[pol->plid]) in blkcg_bind()
1251 pol->cpd_bind_fn(blkcg->cpd[pol->plid]); in blkcg_bind()
1321 if (blkg->pd[pol->plid]) in blkcg_activate_policy()
1355 blkg->pd[pol->plid] = pd; in blkcg_activate_policy()
1357 pd->plid = pol->plid; in blkcg_activate_policy()
1363 pol->pd_init_fn(blkg->pd[pol->plid]); in blkcg_activate_policy()
1365 __set_bit(pol->plid, q->blkcg_pols); in blkcg_activate_policy()
1382 if (blkg->pd[pol->plid]) { in blkcg_activate_policy()
1383 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_activate_policy()
1384 blkg->pd[pol->plid] = NULL; in blkcg_activate_policy()
1414 __clear_bit(pol->plid, q->blkcg_pols); in blkcg_deactivate_policy()
1417 if (blkg->pd[pol->plid]) { in blkcg_deactivate_policy()
1419 pol->pd_offline_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1420 pol->pd_free_fn(blkg->pd[pol->plid]); in blkcg_deactivate_policy()
1421 blkg->pd[pol->plid] = NULL; in blkcg_deactivate_policy()
1463 pol->plid = i; in blkcg_policy_register()
1464 blkcg_policy[pol->plid] = pol; in blkcg_policy_register()
1475 blkcg->cpd[pol->plid] = cpd; in blkcg_policy_register()
1477 cpd->plid = pol->plid; in blkcg_policy_register()
1498 if (blkcg->cpd[pol->plid]) { in blkcg_policy_register()
1499 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_register()
1500 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_register()
1504 blkcg_policy[pol->plid] = NULL; in blkcg_policy_register()
1524 if (WARN_ON(blkcg_policy[pol->plid] != pol)) in blkcg_policy_unregister()
1538 if (blkcg->cpd[pol->plid]) { in blkcg_policy_unregister()
1539 pol->cpd_free_fn(blkcg->cpd[pol->plid]); in blkcg_policy_unregister()
1540 blkcg->cpd[pol->plid] = NULL; in blkcg_policy_unregister()
1544 blkcg_policy[pol->plid] = NULL; in blkcg_policy_unregister()