Searched refs:cpd (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/block/ |
D | blk-ioprio.c | 66 struct blkcg_policy_data cpd; member 78 struct ioprio_blkcg, cpd); in blkcg_to_ioprio_blkcg() 148 return &blkcg->cpd; in ioprio_alloc_cpd() 151 static void ioprio_free_cpd(struct blkcg_policy_data *cpd) in ioprio_free_cpd() argument 153 struct ioprio_blkcg *blkcg = container_of(cpd, typeof(*blkcg), cpd); in ioprio_free_cpd()
|
D | blk-cgroup.h | 102 struct blkcg_policy_data *cpd[BLKCG_MAX_POLS]; member 156 typedef void (blkcg_pol_init_cpd_fn)(struct blkcg_policy_data *cpd); 157 typedef void (blkcg_pol_free_cpd_fn)(struct blkcg_policy_data *cpd); 158 typedef void (blkcg_pol_bind_cpd_fn)(struct blkcg_policy_data *cpd); 282 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd() 296 static inline struct blkcg *cpd_to_blkcg(struct blkcg_policy_data *cpd) in cpd_to_blkcg() argument 298 return cpd ? cpd->blkcg : NULL; in cpd_to_blkcg()
|
D | blk-cgroup.c | 1323 if (blkcg->cpd[i]) in blkcg_css_free() 1324 blkcg_policy[i]->cpd_free_fn(blkcg->cpd[i]); in blkcg_css_free() 1353 struct blkcg_policy_data *cpd; in blkcg_css_alloc() local 1364 cpd = pol->cpd_alloc_fn(GFP_KERNEL); in blkcg_css_alloc() 1365 if (!cpd) in blkcg_css_alloc() 1368 blkcg->cpd[i] = cpd; in blkcg_css_alloc() 1369 cpd->blkcg = blkcg; in blkcg_css_alloc() 1370 cpd->plid = i; in blkcg_css_alloc() 1387 if (blkcg->cpd[i]) in blkcg_css_alloc() 1388 blkcg_policy[i]->cpd_free_fn(blkcg->cpd[i]); in blkcg_css_alloc() [all …]
|
D | bfq-cgroup.c | 483 static struct bfq_group_data *cpd_to_bfqgd(struct blkcg_policy_data *cpd) in cpd_to_bfqgd() argument 485 return cpd ? container_of(cpd, struct bfq_group_data, pd) : NULL; in cpd_to_bfqgd() 505 static void bfq_cpd_free(struct blkcg_policy_data *cpd) in bfq_cpd_free() argument 507 kfree(cpd_to_bfqgd(cpd)); in bfq_cpd_free()
|
D | blk-iocost.c | 555 struct blkcg_policy_data cpd; member 697 struct ioc_cgrp, cpd); in blkcg_to_iocc() 2944 return &iocc->cpd; in ioc_cpd_alloc() 2947 static void ioc_cpd_free(struct blkcg_policy_data *cpd) in ioc_cpd_free() argument 2949 kfree(container_of(cpd, struct ioc_cgrp, cpd)); in ioc_cpd_free()
|
/linux-6.6.21/fs/hpfs/ |
D | map.c | 65 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()
|