Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dblk-cgroup.h88 struct blkg_policy_data { struct
127 struct blkg_policy_data *pd[BLKCG_MAX_POLS];
146 typedef struct blkg_policy_data *(blkcg_pol_alloc_pd_fn)(gfp_t gfp,
148 typedef void (blkcg_pol_init_pd_fn)(struct blkg_policy_data *pd);
149 typedef void (blkcg_pol_online_pd_fn)(struct blkg_policy_data *pd);
150 typedef void (blkcg_pol_offline_pd_fn)(struct blkg_policy_data *pd);
151 typedef void (blkcg_pol_free_pd_fn)(struct blkg_policy_data *pd);
152 typedef void (blkcg_pol_reset_pd_stats_fn)(struct blkg_policy_data *pd);
153 typedef size_t (blkcg_pol_stat_pd_fn)(struct blkg_policy_data *pd, char *buf,
197 struct blkg_policy_data *, int),
[all …]
/OK3568_Linux_fs/kernel/block/
H A Dmq-deadline-cgroup.c34 static struct dd_blkcg *dd_blkcg_from_pd(struct blkg_policy_data *pd) in dd_blkcg_from_pd()
46 struct blkg_policy_data *pd; in dd_blkcg_from_bio()
55 static size_t dd_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size) in dd_pd_stat()
81 static struct blkg_policy_data *dd_pd_alloc(gfp_t gfp, struct request_queue *q, in dd_pd_alloc()
92 static void dd_pd_free(struct blkg_policy_data *pd) in dd_pd_free()
H A 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()
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()
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()
560 static void bfq_pd_free(struct blkg_policy_data *pd) in bfq_pd_free()
568 static void bfq_pd_reset_stats(struct blkg_policy_data *pd) in bfq_pd_reset_stats()
907 static void bfq_pd_offline(struct blkg_policy_data *pd) in bfq_pd_offline()
999 struct blkg_policy_data *pd, int off) in bfqg_prfill_weight_device()
1144 struct blkg_policy_data *pd, int off) in bfqg_prfill_rwstat_recursive()
1169 struct blkg_policy_data *pd, int off) in bfqg_prfill_stat_recursive()
[all …]
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-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()
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-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()
615 static void throtl_pd_offline(struct blkg_policy_data *pd) in throtl_pd_offline()
630 static void throtl_pd_free(struct blkg_policy_data *pd) in throtl_pd_free()
1365 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64()
1376 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint()
1511 struct blkg_policy_data *pd, int off) in tg_prfill_rwstat_recursive()
[all …]
H A Dmq-deadline-cgroup.h78 struct blkg_policy_data pd; /* must be the first member */
H A Dblk-cgroup.c182 struct blkg_policy_data *pd; in blkg_alloc()
505 struct blkg_policy_data *, int), in blkcg_print_blkgs() argument
534 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64()
1319 struct blkg_policy_data *pd_prealloc = NULL; in blkcg_activate_policy()
1333 struct blkg_policy_data *pd; in blkcg_activate_policy()
H A Dblk-iocost.c461 struct blkg_policy_data pd;
683 static struct ioc_gq *pd_to_iocg(struct blkg_policy_data *pd) in pd_to_iocg()
2902 static struct blkg_policy_data *ioc_pd_alloc(gfp_t gfp, struct request_queue *q, in ioc_pd_alloc()
2921 static void ioc_pd_init(struct blkg_policy_data *pd) in ioc_pd_init()
2958 static void ioc_pd_free(struct blkg_policy_data *pd) in ioc_pd_free()
2986 static size_t ioc_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size) 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()
H A Dbfq-iosched.h897 struct blkg_policy_data pd;