Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 8 of 8) sorted by relevance

/block/
Dbfq-cgroup.c90 static u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_stat() argument
93 return __blkg_prfill_u64(sf, pd, bfq_stat_read((void *)pd + off)); in blkg_prfill_stat()
994 static int bfq_io_show_weight_legacy(struct seq_file *sf, void *v) in bfq_io_show_weight_legacy() argument
996 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight_legacy()
1003 seq_printf(sf, "%u\n", val); in bfq_io_show_weight_legacy()
1008 static u64 bfqg_prfill_weight_device(struct seq_file *sf, in bfqg_prfill_weight_device() argument
1015 return __blkg_prfill_u64(sf, pd, bfqg->entity.dev_weight); in bfqg_prfill_weight_device()
1018 static int bfq_io_show_weight(struct seq_file *sf, void *v) in bfq_io_show_weight() argument
1020 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight()
1023 seq_printf(sf, "default %u\n", bfqgd->weight); in bfq_io_show_weight()
[all …]
Dblk-cgroup-rwstat.c42 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in __blkg_prfill_rwstat() argument
60 seq_printf(sf, "%s %s %llu\n", dname, rwstr[i], in __blkg_prfill_rwstat()
66 seq_printf(sf, "%s Total %llu\n", dname, v); in __blkg_prfill_rwstat()
79 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_rwstat() argument
85 return __blkg_prfill_rwstat(sf, pd, &rwstat); in blkg_prfill_rwstat()
Dblk-throttle.c1371 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64() argument
1379 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64()
1382 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint() argument
1390 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint()
1393 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument
1395 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_u64, in tg_print_conf_u64()
1396 &blkcg_policy_throtl, seq_cft(sf)->private, false); in tg_print_conf_u64()
1400 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument
1402 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_uint, in tg_print_conf_uint()
1403 &blkcg_policy_throtl, seq_cft(sf)->private, false); in tg_print_conf_uint()
[all …]
Dblk-ioprio.c94 static int ioprio_show_prio_policy(struct seq_file *sf, void *v) in ioprio_show_prio_policy() argument
96 struct ioprio_blkcg *blkcg = ioprio_blkcg_from_css(seq_css(sf)); in ioprio_show_prio_policy()
98 seq_printf(sf, "%s\n", policy_name[blkcg->prio_policy]); in ioprio_show_prio_policy()
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-iocost.c1980 u64 st, sf; in transfer_surpluses() local
2006 sf = iocg->child_active_sum - st; in transfer_surpluses()
2014 iocg->child_adjusted_sum = sf + DIV64_U64_ROUND_UP(st * wptp, wpt); in transfer_surpluses()
3056 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill() argument
3063 seq_printf(sf, "%s %u\n", dname, iocg->cfg_weight / WEIGHT_ONE); in ioc_weight_prfill()
3068 static int ioc_weight_show(struct seq_file *sf, void *v) in ioc_weight_show() argument
3070 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_weight_show()
3073 seq_printf(sf, "default %u\n", iocc->dfl_weight / WEIGHT_ONE); in ioc_weight_show()
3074 blkcg_print_blkgs(sf, blkcg, ioc_weight_prfill, in ioc_weight_show()
3075 &blkcg_policy_iocost, seq_cft(sf)->private, false); in ioc_weight_show()
[all …]
Dblk-iolatency.c888 static u64 iolatency_prfill_limit(struct seq_file *sf, in iolatency_prfill_limit() argument
896 seq_printf(sf, "%s target=%llu\n", in iolatency_prfill_limit()
901 static int iolatency_print_limit(struct seq_file *sf, void *v) in iolatency_print_limit() argument
903 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), in iolatency_print_limit()
905 &blkcg_policy_iolatency, seq_cft(sf)->private, false); in iolatency_print_limit()
Dblk-cgroup.c528 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, in blkcg_print_blkgs() argument
541 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs()
547 seq_printf(sf, "Total %llu\n", (unsigned long long)total); in blkcg_print_blkgs()
559 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument
566 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64()
956 static int blkcg_print_stat(struct seq_file *sf, void *v) in blkcg_print_stat() argument
958 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in blkcg_print_stat()
961 if (!seq_css(sf)->parent) in blkcg_print_stat()
969 blkcg_print_one_stat(blkg, sf); in blkcg_print_stat()