Home
last modified time | relevance | path

Searched refs:blkg_policy_data (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-6.6/block/
H A Dblk-cgroup.h24 struct blkg_policy_data;
74 struct blkg_policy_data *pd[BLKCG_MAX_POLS];
130 * represented by a blkg_policy_data which is allocated and freed by each
132 * area by allocating larger data structure which embeds blkg_policy_data
135 struct blkg_policy_data { struct
159 typedef struct blkg_policy_data *(blkcg_pol_alloc_pd_fn)(struct gendisk *disk,
161 typedef void (blkcg_pol_init_pd_fn)(struct blkg_policy_data *pd);
162 typedef void (blkcg_pol_online_pd_fn)(struct blkg_policy_data *pd);
163 typedef void (blkcg_pol_offline_pd_fn)(struct blkg_policy_data *pd);
164 typedef void (blkcg_pol_free_pd_fn)(struct blkg_policy_data *p
471 struct blkg_policy_data { global() struct
[all...]
H A Dblk-ioprio.c54 * @pd: blkg_policy_data structure.
57 struct blkg_policy_data pd;
70 static inline struct ioprio_blkg *pd_to_ioprio(struct blkg_policy_data *pd) in pd_to_ioprio()
89 struct blkg_policy_data *pd = blkg_to_pd(bio->bi_blkg, &ioprio_policy); in ioprio_blkcg_from_bio()
121 static struct blkg_policy_data *
133 static void ioprio_free_pd(struct blkg_policy_data *pd) in ioprio_free_pd()
H A Dbfq-cgroup.c90 static u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_stat()
274 static struct bfq_group *pd_to_bfqg(struct blkg_policy_data *pd) in pd_to_bfqg()
510 static struct blkg_policy_data *bfq_pd_alloc(struct gendisk *disk, in bfq_pd_alloc()
529 static void bfq_pd_init(struct blkg_policy_data *pd) in bfq_pd_init()
551 static void bfq_pd_free(struct blkg_policy_data *pd) in bfq_pd_free()
559 static void bfq_pd_reset_stats(struct blkg_policy_data *pd) in bfq_pd_reset_stats()
928 static void bfq_pd_offline(struct blkg_policy_data *pd) in bfq_pd_offline()
1019 struct blkg_policy_data *pd, int off) in bfqg_prfill_weight_device()
1166 struct blkg_policy_data *pd, int off) in bfqg_prfill_rwstat_recursive()
1191 struct blkg_policy_data *p in bfqg_prfill_stat_recursive()
[all...]
H A Dblk-cgroup-rwstat.h44 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
46 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
H A Dblk-cgroup-rwstat.c42 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in __blkg_prfill_rwstat()
79 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_rwstat()
93 * @off: offset to the blkg_rwstat in blkg_policy_data or @blkg
101 * is at @off bytes into @blkg's blkg_policy_data of the policy.
H A Dblk-throttle.h69 struct blkg_policy_data pd;
157 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg()
H A Dblk-iolatency.c140 struct blkg_policy_data pd;
183 static inline struct iolatency_grp *pd_to_lat(struct blkg_policy_data *pd) in pd_to_lat()
898 struct blkg_policy_data *pd, int off) in iolatency_prfill_limit()
943 static void iolatency_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in iolatency_pd_stat()
965 static struct blkg_policy_data *iolatency_pd_alloc(struct gendisk *disk, in iolatency_pd_alloc()
982 static void iolatency_pd_init(struct blkg_policy_data *pd) in iolatency_pd_init()
1025 static void iolatency_pd_offline(struct blkg_policy_data *pd) in iolatency_pd_offline()
1034 static void iolatency_pd_free(struct blkg_policy_data *pd) in iolatency_pd_free()
H A Dblk-throttle.c338 static struct blkg_policy_data *throtl_pd_alloc(struct gendisk *disk, in throtl_pd_alloc()
386 static void throtl_pd_init(struct blkg_policy_data *pd) in throtl_pd_init()
436 static void throtl_pd_online(struct blkg_policy_data *pd) in throtl_pd_online()
474 static void throtl_pd_offline(struct blkg_policy_data *pd) in throtl_pd_offline()
489 static void throtl_pd_free(struct blkg_policy_data *pd) in throtl_pd_free()
1276 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64()
1287 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint()
1427 struct blkg_policy_data *pd, int off) in tg_prfill_rwstat_recursive()
1492 static u64 tg_prfill_limit(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_limit()
H A Dblk-cgroup.c340 struct blkg_policy_data *pd; in blkg_alloc()
690 struct blkg_policy_data *, int), in blkcg_print_blkgs()
719 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64()
1515 struct blkg_policy_data *pd_prealloc = NULL; in blkcg_activate_policy()
1529 struct blkg_policy_data *pd; in blkcg_activate_policy()
1599 struct blkg_policy_data *pd; in blkcg_activate_policy()
H A Dblk-iocost.c463 struct blkg_policy_data pd;
679 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg()
2952 static struct blkg_policy_data *ioc_pd_alloc(struct gendisk *disk, in ioc_pd_alloc()
2972 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init()
3009 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free()
3037 static void ioc_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in ioc_pd_stat()
3061 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill()
3154 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill()
3354 struct blkg_policy_data *pd, int off) in ioc_cost_model_prfill()
H A Dbfq-iosched.h1004 struct blkg_policy_data pd;
/kernel/linux/linux-5.10/include/linux/
H A Dblk-cgroup.h81 * represented by a blkg_policy_data which is allocated and freed by each
83 * area by allocating larger data structure which embeds blkg_policy_data
86 struct blkg_policy_data { struct
125 struct blkg_policy_data *pd[BLKCG_MAX_POLS];
144 typedef struct blkg_policy_data *(blkcg_pol_alloc_pd_fn)(gfp_t gfp,
146 typedef void (blkcg_pol_init_pd_fn)(struct blkg_policy_data *pd);
147 typedef void (blkcg_pol_online_pd_fn)(struct blkg_policy_data *pd);
148 typedef void (blkcg_pol_offline_pd_fn)(struct blkg_policy_data *pd);
149 typedef void (blkcg_pol_free_pd_fn)(struct blkg_policy_data *pd);
150 typedef void (blkcg_pol_reset_pd_stats_fn)(struct blkg_policy_data *p
627 struct blkg_policy_data { global() struct
[all...]
/kernel/linux/linux-5.10/block/
H A Dbfq-cgroup.c90 static u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_stat()
279 static struct bfq_group *pd_to_bfqg(struct blkg_policy_data *pd) in pd_to_bfqg()
523 static struct blkg_policy_data *bfq_pd_alloc(gfp_t gfp, struct request_queue *q, in bfq_pd_alloc()
542 static void bfq_pd_init(struct blkg_policy_data *pd) in bfq_pd_init()
562 static void bfq_pd_free(struct blkg_policy_data *pd) in bfq_pd_free()
570 static void bfq_pd_reset_stats(struct blkg_policy_data *pd) in bfq_pd_reset_stats()
909 static void bfq_pd_offline(struct blkg_policy_data *pd) in bfq_pd_offline()
1001 struct blkg_policy_data *pd, int off) in bfqg_prfill_weight_device()
1146 struct blkg_policy_data *pd, int off) in bfqg_prfill_rwstat_recursive()
1171 struct blkg_policy_data *p in bfqg_prfill_stat_recursive()
[all...]
H A Dblk-cgroup-rwstat.h44 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
46 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
H A Dblk-cgroup-rwstat.c42 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in __blkg_prfill_rwstat()
79 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_rwstat()
93 * @off: offset to the blkg_rwstat in blkg_policy_data or @blkg
101 * is at @off bytes into @blkg's blkg_policy_data of the policy.
H A Dblk-iolatency.c139 struct blkg_policy_data pd;
182 static inline struct iolatency_grp *pd_to_lat(struct blkg_policy_data *pd) in pd_to_lat()
885 struct blkg_policy_data *pd, int off) in iolatency_prfill_limit()
930 static size_t iolatency_pd_stat(struct blkg_policy_data *pd, char *buf, in iolatency_pd_stat()
954 static struct blkg_policy_data *iolatency_pd_alloc(gfp_t gfp, in iolatency_pd_alloc()
972 static void iolatency_pd_init(struct blkg_policy_data *pd) in iolatency_pd_init()
1017 static void iolatency_pd_offline(struct blkg_policy_data *pd) in iolatency_pd_offline()
1026 static void iolatency_pd_free(struct blkg_policy_data *pd) in iolatency_pd_free()
H A Dblk-throttle.c110 struct blkg_policy_data pd;
235 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg()
491 static struct blkg_policy_data *throtl_pd_alloc(gfp_t gfp, in throtl_pd_alloc()
540 static void throtl_pd_init(struct blkg_policy_data *pd) in throtl_pd_init()
584 static void throtl_pd_online(struct blkg_policy_data *pd) in throtl_pd_online()
616 static void throtl_pd_offline(struct blkg_policy_data *pd) in throtl_pd_offline()
631 static void throtl_pd_free(struct blkg_policy_data *pd) in throtl_pd_free()
1366 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64()
1377 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint()
1544 struct blkg_policy_data *p in tg_prfill_rwstat_recursive()
[all...]
H A Dblk-iocost.c465 struct blkg_policy_data pd;
687 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg()
2919 static struct blkg_policy_data *ioc_pd_alloc(gfp_t gfp, struct request_queue *q, in ioc_pd_alloc()
2938 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init()
2975 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free()
3003 static size_t ioc_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size) in ioc_pd_stat()
3033 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill()
3122 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill()
3295 struct blkg_policy_data *pd, int off) in ioc_cost_model_prfill()
H A Dblk-cgroup.c181 struct blkg_policy_data *pd; in blkg_alloc()
504 struct blkg_policy_data *, int), in blkcg_print_blkgs()
533 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64()
1324 struct blkg_policy_data *pd_prealloc = NULL; in blkcg_activate_policy()
1338 struct blkg_policy_data *pd; in blkcg_activate_policy()
H A Dbfq-iosched.h897 struct blkg_policy_data pd;

Completed in 33 milliseconds