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,
269 * @pol: policy of interest
271 * Return pointer to private data associated with the @blkg-@pol pair.
274 struct blkcg_policy *pol)
276 return blkg ? blkg->pd[pol->plid] : NULL;
280 struct blkcg_policy *pol)
282 return blkcg ? blkcg->cpd[pol->plid] : NULL;
486 static inline int blkcg_policy_register(struct blkcg_policy *pol) { return 0; }
487 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { }
489 const struct blkcg_policy *pol) { return 0; }
491 const struct blkcg_policy *pol) { }
494 struct blkcg_policy *pol) { return NULL; }