Searched refs:cpd (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | blk-ioprio.c | 63 struct blkcg_policy_data cpd; member 75 struct ioprio_blkcg, cpd); in blkcg_to_ioprio_blkcg() 146 return &blkcg->cpd; in ioprio_alloc_cpd() 149 static void ioprio_free_cpd(struct blkcg_policy_data *cpd) in ioprio_free_cpd() argument 151 struct ioprio_blkcg *blkcg = container_of(cpd, typeof(*blkcg), cpd); in ioprio_free_cpd()
|
D | mq-deadline-cgroup.c | 23 return &pd->cpd; in dd_cpd_alloc() 26 static void dd_cpd_free(struct blkcg_policy_data *cpd) in dd_cpd_free() argument 28 struct dd_blkcg *dd_blkcg = container_of(cpd, typeof(*dd_blkcg), cpd); in dd_cpd_free() 37 struct dd_blkcg, cpd); in dd_blkcg_from_pd()
|
D | blk-cgroup.c | 1059 if (blkcg->cpd[i]) in blkcg_css_free() 1060 blkcg_policy[i]->cpd_free_fn(blkcg->cpd[i]); in blkcg_css_free() 1088 struct blkcg_policy_data *cpd; in blkcg_css_alloc() local 1099 cpd = pol->cpd_alloc_fn(GFP_KERNEL); in blkcg_css_alloc() 1100 if (!cpd) { in blkcg_css_alloc() 1104 blkcg->cpd[i] = cpd; in blkcg_css_alloc() 1105 cpd->blkcg = blkcg; in blkcg_css_alloc() 1106 cpd->plid = i; in blkcg_css_alloc() 1108 pol->cpd_init_fn(cpd); in blkcg_css_alloc() 1125 if (blkcg->cpd[i]) in blkcg_css_alloc() [all …]
|
D | bfq-cgroup.c | 488 static struct bfq_group_data *cpd_to_bfqgd(struct blkcg_policy_data *cpd) in cpd_to_bfqgd() argument 490 return cpd ? container_of(cpd, struct bfq_group_data, pd) : NULL; in cpd_to_bfqgd() 508 static void bfq_cpd_init(struct blkcg_policy_data *cpd) in bfq_cpd_init() argument 510 struct bfq_group_data *d = cpd_to_bfqgd(cpd); in bfq_cpd_init() 516 static void bfq_cpd_free(struct blkcg_policy_data *cpd) in bfq_cpd_free() argument 518 kfree(cpd_to_bfqgd(cpd)); in bfq_cpd_free()
|
D | mq-deadline-cgroup.h | 35 struct blkcg_policy_data cpd; /* must be the first member */ member
|
D | blk-iocost.c | 558 struct blkcg_policy_data cpd; member 705 struct ioc_cgrp, cpd); in blkcg_to_iocc() 2911 return &iocc->cpd; in ioc_cpd_alloc() 2914 static void ioc_cpd_free(struct blkcg_policy_data *cpd) in ioc_cpd_free() argument 2916 kfree(container_of(cpd, struct ioc_cgrp, cpd)); in ioc_cpd_free()
|