Searched refs:pol (Results 1 – 2 of 2) sorted by relevance
36 const struct blkcg_policy *pol) in blkcg_policy_enabled() argument38 return pol && test_bit(pol->plid, q->blkcg_pols); in blkcg_policy_enabled()93 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_alloc() local96 if (!blkcg_policy_enabled(q, pol)) in blkg_alloc()100 pd = kzalloc_node(pol->pd_size, gfp_mask, q->node); in blkg_alloc()215 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_create() local217 if (blkg->pd[i] && pol->pd_init_fn) in blkg_create()218 pol->pd_init_fn(blkg); in blkg_create()229 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_create() local231 if (blkg->pd[i] && pol->pd_online_fn) in blkg_create()[all …]
146 int blkcg_policy_register(struct blkcg_policy *pol);147 void blkcg_policy_unregister(struct blkcg_policy *pol);149 const struct blkcg_policy *pol);151 const struct blkcg_policy *pol);156 const struct blkcg_policy *pol, int data,175 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,216 struct blkcg_policy *pol) in blkg_to_pd() argument218 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd()577 static inline int blkcg_policy_register(struct blkcg_policy *pol) { return 0; } in blkcg_policy_register() argument578 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { } in blkcg_policy_unregister() argument[all …]