Lines Matching refs:pd
88 struct blkg_policy_data pd; member
159 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg() argument
161 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() argument
353 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() argument
398 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
403 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_free()
1111 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64() argument
1114 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_u64()
1119 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64()
1122 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint() argument
1125 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_conf_uint()
1130 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint()
1268 static u64 tg_prfill_max(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_max() argument
1271 struct throtl_grp *tg = pd_to_tg(pd); in tg_prfill_max()
1272 const char *dname = blkg_dev_name(pd->blkg); in tg_prfill_max()