Searched refs:cpd (Results 1 – 5 of 5) sorted by relevance
1069 if (blkcg->cpd[i]) in blkcg_css_free()1070 blkcg_policy[i]->cpd_free_fn(blkcg->cpd[i]); in blkcg_css_free()1098 struct blkcg_policy_data *cpd; in blkcg_css_alloc() local1109 cpd = pol->cpd_alloc_fn(GFP_KERNEL); in blkcg_css_alloc()1110 if (!cpd) { in blkcg_css_alloc()1114 blkcg->cpd[i] = cpd; in blkcg_css_alloc()1115 cpd->blkcg = blkcg; in blkcg_css_alloc()1116 cpd->plid = i; in blkcg_css_alloc()1118 pol->cpd_init_fn(cpd); in blkcg_css_alloc()1135 if (blkcg->cpd[i]) in blkcg_css_alloc()[all …]
490 static struct bfq_group_data *cpd_to_bfqgd(struct blkcg_policy_data *cpd) in cpd_to_bfqgd() argument492 return cpd ? container_of(cpd, struct bfq_group_data, pd) : NULL; in cpd_to_bfqgd()510 static void bfq_cpd_init(struct blkcg_policy_data *cpd) in bfq_cpd_init() argument512 struct bfq_group_data *d = cpd_to_bfqgd(cpd); in bfq_cpd_init()518 static void bfq_cpd_free(struct blkcg_policy_data *cpd) in bfq_cpd_free() argument520 kfree(cpd_to_bfqgd(cpd)); in bfq_cpd_free()
554 struct blkcg_policy_data cpd; member701 struct ioc_cgrp, cpd); in blkcg_to_iocc()2894 return &iocc->cpd; in ioc_cpd_alloc()2897 static void ioc_cpd_free(struct blkcg_policy_data *cpd) in ioc_cpd_free() argument2899 kfree(container_of(cpd, struct ioc_cgrp, cpd)); in ioc_cpd_free()
56 struct blkcg_policy_data *cpd[BLKCG_MAX_POLS]; member141 typedef void (blkcg_pol_init_cpd_fn)(struct blkcg_policy_data *cpd);142 typedef void (blkcg_pol_free_cpd_fn)(struct blkcg_policy_data *cpd);143 typedef void (blkcg_pol_bind_cpd_fn)(struct blkcg_policy_data *cpd);385 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd()399 static inline struct blkcg *cpd_to_blkcg(struct blkcg_policy_data *cpd) in cpd_to_blkcg() argument401 return cpd ? cpd->blkcg : NULL; in cpd_to_blkcg()
65 struct code_page_data *cpd; in hpfs_load_code_page() local88 if (!(cpd = hpfs_map_sector(s, cpds, &bh, 0))) return NULL; in hpfs_load_code_page()89 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) { in hpfs_load_code_page()94 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; in hpfs_load_code_page()