Searched refs:cpd (Results 1 – 7 of 7) sorted by relevance
963 if (blkcg->cpd[i]) in blkcg_css_free()964 blkcg_policy[i]->cpd_free_fn(blkcg->cpd[i]); in blkcg_css_free()992 struct blkcg_policy_data *cpd; in blkcg_css_alloc() local1003 cpd = pol->cpd_alloc_fn(GFP_KERNEL); in blkcg_css_alloc()1004 if (!cpd) { in blkcg_css_alloc()1008 blkcg->cpd[i] = cpd; in blkcg_css_alloc()1009 cpd->blkcg = blkcg; in blkcg_css_alloc()1010 cpd->plid = i; in blkcg_css_alloc()1012 pol->cpd_init_fn(cpd); in blkcg_css_alloc()1028 if (blkcg->cpd[i]) in blkcg_css_alloc()[all …]
217 struct blkcg_policy_data cpd; member606 *cpd_to_cfqgd(struct blkcg_policy_data *cpd) in cpd_to_cfqgd() argument608 return cpd ? container_of(cpd, struct cfq_group_data, cpd) : NULL; in cpd_to_cfqgd()1578 return &cgd->cpd; in cfq_cpd_alloc()1581 static void cfq_cpd_init(struct blkcg_policy_data *cpd) in cfq_cpd_init() argument1583 struct cfq_group_data *cgd = cpd_to_cfqgd(cpd); in cfq_cpd_init()1587 if (cpd_to_blkcg(cpd) == &blkcg_root) in cfq_cpd_init()1594 static void cfq_cpd_free(struct blkcg_policy_data *cpd) in cfq_cpd_free() argument1596 kfree(cpd_to_cfqgd(cpd)); in cfq_cpd_free()1599 static void cfq_cpd_bind(struct blkcg_policy_data *cpd) in cfq_cpd_bind() argument[all …]
51 struct blkcg_policy_data *cpd[BLKCG_MAX_POLS]; member139 typedef void (blkcg_pol_init_cpd_fn)(struct blkcg_policy_data *cpd);140 typedef void (blkcg_pol_free_cpd_fn)(struct blkcg_policy_data *cpd);141 typedef void (blkcg_pol_bind_cpd_fn)(struct blkcg_policy_data *cpd);317 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd()331 static inline struct blkcg *cpd_to_blkcg(struct blkcg_policy_data *cpd) in cpd_to_blkcg() argument333 return cpd ? cpd->blkcg : NULL; in cpd_to_blkcg()
64 struct code_page_data *cpd; in hpfs_load_code_page() local87 if (!(cpd = hpfs_map_sector(s, cpds, &bh, 0))) return NULL; in hpfs_load_code_page()88 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) { in hpfs_load_code_page()93 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; in hpfs_load_code_page()
82 timing.cpd = (freqs->new == 200000 ? 0 : 1); in cris_sdram_freq_notifier()
200 unsigned int cpd : 1; member