Lines Matching refs:pol
197 int blkcg_policy_register(struct blkcg_policy *pol);
198 void blkcg_policy_unregister(struct blkcg_policy *pol);
199 int blkcg_activate_policy(struct gendisk *disk, const struct blkcg_policy *pol);
201 const struct blkcg_policy *pol);
207 const struct blkcg_policy *pol, int data,
220 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
271 * @pol: policy of interest
273 * Return pointer to private data associated with the @blkg-@pol pair.
276 struct blkcg_policy *pol)
278 return blkg ? blkg->pd[pol->plid] : NULL;
282 struct blkcg_policy *pol)
284 return blkcg ? blkcg->cpd[pol->plid] : NULL;
489 static inline int blkcg_policy_register(struct blkcg_policy *pol) { return 0; }
490 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { }
492 const struct blkcg_policy *pol) { return 0; }
494 const struct blkcg_policy *pol) { }
497 struct blkcg_policy *pol) { return NULL; }