Lines Matching refs:pd
465 struct blkg_policy_data pd; member
687 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg() argument
689 return pd ? container_of(pd, struct ioc_gq, pd) : NULL; in pd_to_iocg()
699 return pd_to_blkg(&iocg->pd); in iocg_to_blkg()
2935 return &iocg->pd; in ioc_pd_alloc()
2938 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init() argument
2940 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_init()
2941 struct blkcg_gq *blkg = pd_to_blkg(&iocg->pd); in ioc_pd_init()
2975 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free() argument
2977 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_free()
3003 static size_t ioc_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size) in ioc_pd_stat() argument
3005 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_stat()
3033 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill() argument
3036 const char *dname = blkg_dev_name(pd->blkg); in ioc_weight_prfill()
3037 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_weight_prfill()
3122 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill() argument
3125 const char *dname = blkg_dev_name(pd->blkg); in ioc_qos_prfill()
3126 struct ioc *ioc = pd_to_iocg(pd)->ioc; in ioc_qos_prfill()
3295 struct blkg_policy_data *pd, int off) in ioc_cost_model_prfill() argument
3297 const char *dname = blkg_dev_name(pd->blkg); in ioc_cost_model_prfill()
3298 struct ioc *ioc = pd_to_iocg(pd)->ioc; in ioc_cost_model_prfill()