Searched refs:pd (Results 1 – 3 of 3) sorted by relevance
72 if (blkg->pd[i]) in blkg_free()73 blkcg_policy[i]->pd_free_fn(blkg->pd[i]); in blkg_free()120 struct blkg_policy_data *pd; in blkg_alloc() local126 pd = pol->pd_alloc_fn(gfp_mask, q->node); in blkg_alloc()127 if (!pd) in blkg_alloc()130 blkg->pd[i] = pd; in blkg_alloc()131 pd->blkg = blkg; in blkg_alloc()132 pd->plid = i; in blkg_alloc()220 if (blkg->pd[i] && pol->pd_init_fn) in blkg_create()221 pol->pd_init_fn(blkg->pd[i]); in blkg_create()[all …]
88 struct blkg_policy_data pd; member159 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg() argument161 return pd ? container_of(pd, struct throtl_grp, pd) : NULL; in pd_to_tg()171 return pd_to_blkg(&tg->pd); in tg_to_blkg()348 return &tg->pd; in throtl_pd_alloc()351 static void throtl_pd_init(struct blkg_policy_data *pd) in throtl_pd_init() argument353 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_init()392 static void throtl_pd_online(struct blkg_policy_data *pd) in throtl_pd_online() argument398 tg_update_has_rules(pd_to_tg(pd)); in throtl_pd_online()401 static void throtl_pd_free(struct blkg_policy_data *pd) in throtl_pd_free() argument[all …]
226 struct blkg_policy_data pd; member600 static inline struct cfq_group *pd_to_cfqg(struct blkg_policy_data *pd) in pd_to_cfqg() argument602 return pd ? container_of(pd, struct cfq_group, pd) : NULL; in pd_to_cfqg()613 return pd_to_blkg(&cfqg->pd); in cfqg_to_blkg()1626 return &cfqg->pd; in cfq_pd_alloc()1629 static void cfq_pd_init(struct blkg_policy_data *pd) in cfq_pd_init() argument1631 struct cfq_group *cfqg = pd_to_cfqg(pd); in cfq_pd_init()1632 struct cfq_group_data *cgd = blkcg_to_cfqgd(pd->blkg->blkcg); in cfq_pd_init()1638 static void cfq_pd_offline(struct blkg_policy_data *pd) in cfq_pd_offline() argument1640 struct cfq_group *cfqg = pd_to_cfqg(pd); in cfq_pd_offline()[all …]