Lines Matching refs:pol
195 int blkcg_policy_register(struct blkcg_policy *pol);
196 void blkcg_policy_unregister(struct blkcg_policy *pol);
197 int blkcg_activate_policy(struct gendisk *disk, const struct blkcg_policy *pol);
199 const struct blkcg_policy *pol);
205 const struct blkcg_policy *pol, int data,
218 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
275 struct blkcg_policy *pol) in blkg_to_pd() argument
277 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd()
281 struct blkcg_policy *pol) in blkcg_to_cpd() argument
283 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd()
487 static inline int blkcg_policy_register(struct blkcg_policy *pol) { return 0; } in blkcg_policy_register() argument
488 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { } in blkcg_policy_unregister() argument
490 const struct blkcg_policy *pol) { return 0; } in blkcg_activate_policy() argument
492 const struct blkcg_policy *pol) { } in blkcg_deactivate_policy() argument
495 struct blkcg_policy *pol) { return NULL; } in blkg_to_pd() argument