Home
last modified time | relevance | path

Searched refs:blkg_policy_data (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/include/linux/
Dblk-cgroup.h90 struct blkg_policy_data { struct
129 struct blkg_policy_data *pd[BLKCG_MAX_POLS];
148 typedef struct blkg_policy_data *(blkcg_pol_alloc_pd_fn)(gfp_t gfp,
150 typedef void (blkcg_pol_init_pd_fn)(struct blkg_policy_data *pd);
151 typedef void (blkcg_pol_online_pd_fn)(struct blkg_policy_data *pd);
152 typedef void (blkcg_pol_offline_pd_fn)(struct blkg_policy_data *pd);
153 typedef void (blkcg_pol_free_pd_fn)(struct blkg_policy_data *pd);
154 typedef void (blkcg_pol_reset_pd_stats_fn)(struct blkg_policy_data *pd);
155 typedef bool (blkcg_pol_stat_pd_fn)(struct blkg_policy_data *pd,
199 struct blkg_policy_data *, int),
[all …]
/Linux-v5.15/block/
Dblk-ioprio.c54 struct blkg_policy_data pd;
67 static inline struct ioprio_blkg *pd_to_ioprio(struct blkg_policy_data *pd) in pd_to_ioprio()
86 struct blkg_policy_data *pd = blkg_to_pd(bio->bi_blkg, &ioprio_policy); in ioprio_blkcg_from_bio()
119 static struct blkg_policy_data *
131 static void ioprio_free_pd(struct blkg_policy_data *pd) in ioprio_free_pd()
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()
521 static struct blkg_policy_data *bfq_pd_alloc(gfp_t gfp, struct request_queue *q, in bfq_pd_alloc()
540 static void bfq_pd_init(struct blkg_policy_data *pd) in bfq_pd_init()
561 static void bfq_pd_free(struct blkg_policy_data *pd) in bfq_pd_free()
569 static void bfq_pd_reset_stats(struct blkg_policy_data *pd) in bfq_pd_reset_stats()
883 static void bfq_pd_offline(struct blkg_policy_data *pd) in bfq_pd_offline()
974 struct blkg_policy_data *pd, int off) in bfqg_prfill_weight_device()
1119 struct blkg_policy_data *pd, int off) in bfqg_prfill_rwstat_recursive()
1144 struct blkg_policy_data *pd, int off) in bfqg_prfill_stat_recursive()
[all …]
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()
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,
Dblk-iolatency.c134 struct blkg_policy_data pd;
177 static inline struct iolatency_grp *pd_to_lat(struct blkg_policy_data *pd) in pd_to_lat()
873 struct blkg_policy_data *pd, int off) in iolatency_prfill_limit()
919 static bool iolatency_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in iolatency_pd_stat()
942 static struct blkg_policy_data *iolatency_pd_alloc(gfp_t gfp, in iolatency_pd_alloc()
960 static void iolatency_pd_init(struct blkg_policy_data *pd) in iolatency_pd_init()
1005 static void iolatency_pd_offline(struct blkg_policy_data *pd) in iolatency_pd_offline()
1020 static void iolatency_pd_free(struct blkg_policy_data *pd) in iolatency_pd_free()
Dblk-throttle.c109 struct blkg_policy_data pd;
234 static inline struct throtl_grp *pd_to_tg(struct blkg_policy_data *pd) in pd_to_tg()
490 static struct blkg_policy_data *throtl_pd_alloc(gfp_t gfp, in throtl_pd_alloc()
539 static void throtl_pd_init(struct blkg_policy_data *pd) in throtl_pd_init()
583 static void throtl_pd_online(struct blkg_policy_data *pd) in throtl_pd_online()
621 static void throtl_pd_offline(struct blkg_policy_data *pd) in throtl_pd_offline()
636 static void throtl_pd_free(struct blkg_policy_data *pd) in throtl_pd_free()
1373 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64()
1384 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint()
1519 struct blkg_policy_data *pd, int off) in tg_prfill_rwstat_recursive()
[all …]
Dblk-cgroup.c182 struct blkg_policy_data *pd; in blkg_alloc()
517 struct blkg_policy_data *, int), in blkcg_print_blkgs() argument
546 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64()
1292 struct blkg_policy_data *pd_prealloc = NULL; in blkcg_activate_policy()
1306 struct blkg_policy_data *pd; in blkcg_activate_policy()
Dblk-iocost.c459 struct blkg_policy_data pd;
681 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg()
2907 static struct blkg_policy_data *ioc_pd_alloc(gfp_t gfp, struct request_queue *q, in ioc_pd_alloc()
2926 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init()
2963 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free()
2991 static bool ioc_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in ioc_pd_stat()
3016 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill()
3105 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill()
3278 struct blkg_policy_data *pd, int off) in ioc_cost_model_prfill()
Dbfq-iosched.h921 struct blkg_policy_data pd;