Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 2 of 2) sorted by relevance

/block/
Dblk-cgroup.c36 const struct blkcg_policy *pol) in blkcg_policy_enabled() argument
38 return pol && test_bit(pol->plid, q->blkcg_pols); in blkcg_policy_enabled()
93 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_alloc() local
96 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() local
217 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() local
231 if (blkg->pd[i] && pol->pd_online_fn) in blkg_create()
[all …]
Dblk-cgroup.h146 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() argument
218 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() argument
578 static inline void blkcg_policy_unregister(struct blkcg_policy *pol) { } in blkcg_policy_unregister() argument
[all …]