/block/ |
D | bfq-cgroup.c | 90 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() 908 static int bfq_io_show_weight_legacy(struct seq_file *sf, void *v) in bfq_io_show_weight_legacy() argument 910 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight_legacy() 917 seq_printf(sf, "%u\n", val); in bfq_io_show_weight_legacy() 922 static u64 bfqg_prfill_weight_device(struct seq_file *sf, in bfqg_prfill_weight_device() argument 929 return __blkg_prfill_u64(sf, pd, bfqg->entity.dev_weight); in bfqg_prfill_weight_device() 932 static int bfq_io_show_weight(struct seq_file *sf, void *v) in bfq_io_show_weight() argument 934 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight() 937 seq_printf(sf, "default %u\n", bfqgd->weight); in bfq_io_show_weight() [all …]
|
D | blk-cgroup.c | 520 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, in blkcg_print_blkgs() argument 533 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs() 539 seq_printf(sf, "Total %llu\n", (unsigned long long)total); in blkcg_print_blkgs() 551 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument 558 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64() 571 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in __blkg_prfill_rwstat() argument 589 seq_printf(sf, "%s %s %llu\n", dname, rwstr[i], in __blkg_prfill_rwstat() 595 seq_printf(sf, "%s Total %llu\n", dname, v); in __blkg_prfill_rwstat() 608 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in blkg_prfill_rwstat() argument 614 return __blkg_prfill_rwstat(sf, pd, &rwstat); in blkg_prfill_rwstat() [all …]
|
D | blk-iocost.c | 2047 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_weight_prfill() argument 2054 seq_printf(sf, "%s %u\n", dname, iocg->cfg_weight); in ioc_weight_prfill() 2059 static int ioc_weight_show(struct seq_file *sf, void *v) in ioc_weight_show() argument 2061 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_weight_show() 2064 seq_printf(sf, "default %u\n", iocc->dfl_weight); in ioc_weight_show() 2065 blkcg_print_blkgs(sf, blkcg, ioc_weight_prfill, in ioc_weight_show() 2066 &blkcg_policy_iocost, seq_cft(sf)->private, false); in ioc_weight_show() 2133 static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, in ioc_qos_prfill() argument 2142 …seq_printf(sf, "%s enable=%d ctrl=%s rpct=%u.%02u rlat=%u wpct=%u.%02u wlat=%u min=%u.%02u max=%u.… in ioc_qos_prfill() 2157 static int ioc_qos_show(struct seq_file *sf, void *v) in ioc_qos_show() argument [all …]
|
D | blk-throttle.c | 1330 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64() argument 1338 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64() 1341 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint() argument 1349 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint() 1352 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument 1354 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_u64, in tg_print_conf_u64() 1355 &blkcg_policy_throtl, seq_cft(sf)->private, false); in tg_print_conf_u64() 1359 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument 1361 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_uint, in tg_print_conf_uint() 1362 &blkcg_policy_throtl, seq_cft(sf)->private, false); in tg_print_conf_uint() [all …]
|
D | blk-iolatency.c | 867 static u64 iolatency_prfill_limit(struct seq_file *sf, in iolatency_prfill_limit() argument 875 seq_printf(sf, "%s target=%llu\n", in iolatency_prfill_limit() 880 static int iolatency_print_limit(struct seq_file *sf, void *v) in iolatency_print_limit() argument 882 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), in iolatency_print_limit() 884 &blkcg_policy_iolatency, seq_cft(sf)->private, false); in iolatency_print_limit()
|