Lines Matching refs:pd
463 struct blkg_policy_data pd; member
685 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg() argument
687 return pd ? container_of(pd, struct ioc_gq, pd) : NULL; in pd_to_iocg()
697 return pd_to_blkg(&iocg->pd); in iocg_to_blkg()
2963 return &iocg->pd; in ioc_pd_alloc()
2966 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init() argument
2968 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_init()
2969 struct blkcg_gq *blkg = pd_to_blkg(&iocg->pd); in ioc_pd_init()
3003 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free() argument
3005 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_free()
3031 static bool ioc_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in ioc_pd_stat() argument
3033 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_pd_stat()
3056 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill() argument
3059 const char *dname = blkg_dev_name(pd->blkg); in ioc_weight_prfill()
3060 struct ioc_gq *iocg = pd_to_iocg(pd); in ioc_weight_prfill()
3145 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill() argument
3148 const char *dname = blkg_dev_name(pd->blkg); in ioc_qos_prfill()
3149 struct ioc *ioc = pd_to_iocg(pd)->ioc; in ioc_qos_prfill()
3318 struct blkg_policy_data *pd, int off) in ioc_cost_model_prfill() argument
3320 const char *dname = blkg_dev_name(pd->blkg); in ioc_cost_model_prfill()
3321 struct ioc *ioc = pd_to_iocg(pd)->ioc; in ioc_cost_model_prfill()