Lines Matching refs:pol
185 int blkcg_policy_register(struct blkcg_policy *pol);
186 void blkcg_policy_unregister(struct blkcg_policy *pol);
188 const struct blkcg_policy *pol);
190 const struct blkcg_policy *pol);
196 const struct blkcg_policy *pol, int data,
207 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
264 struct blkcg_policy *pol) in blkg_to_pd() argument
266 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd()
270 struct blkcg_policy *pol) in blkcg_to_cpd() argument
272 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd()
486 static inline int blkcg_policy_register(struct blkcg_policy *pol) { return 0; } in blkcg_policy_register() argument
487 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { } in blkcg_policy_unregister() argument
489 const struct blkcg_policy *pol) { return 0; } in blkcg_activate_policy() argument
491 const struct blkcg_policy *pol) { } in blkcg_deactivate_policy() argument
494 struct blkcg_policy *pol) { return NULL; } in blkg_to_pd() argument