Home
last modified time | relevance | path

Searched refs:cpd (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-cgroup.c1069 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() local
1109 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 …]
Dbfq-cgroup.c490 static struct bfq_group_data *cpd_to_bfqgd(struct blkcg_policy_data *cpd) in cpd_to_bfqgd() argument
492 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() argument
512 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() argument
520 kfree(cpd_to_bfqgd(cpd)); in bfq_cpd_free()
Dblk-iocost.c554 struct blkcg_policy_data cpd; member
701 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() argument
2899 kfree(container_of(cpd, struct ioc_cgrp, cpd)); in ioc_cpd_free()
/kernel/linux/linux-5.10/include/linux/
Dblk-cgroup.h56 struct blkcg_policy_data *cpd[BLKCG_MAX_POLS]; member
141 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() argument
401 return cpd ? cpd->blkcg : NULL; in cpd_to_blkcg()
/kernel/linux/linux-5.10/fs/hpfs/
Dmap.c65 struct code_page_data *cpd; in hpfs_load_code_page() local
88 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()