/block/ |
D | blk-cgroup.c | 513 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, in blkcg_print_blkgs() argument 526 total += prfill(sf, blkg->pd[pol->plid], data); in blkcg_print_blkgs() 532 seq_printf(sf, "Total %llu\n", (unsigned long long)total); in blkcg_print_blkgs() 544 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument 551 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64() 564 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, in __blkg_prfill_rwstat() argument 581 seq_printf(sf, "%s %s %llu\n", dname, rwstr[i], in __blkg_prfill_rwstat() 585 seq_printf(sf, "%s Total %llu\n", dname, (unsigned long long)v); in __blkg_prfill_rwstat() 598 u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, int off) in blkg_prfill_stat() argument 600 return __blkg_prfill_u64(sf, pd, blkg_stat_read((void *)pd + off)); in blkg_prfill_stat() [all …]
|
D | blk-cgroup.h | 155 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, 160 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v); 161 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, 163 u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, int off); 164 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
|
D | blk-throttle.c | 938 static u64 tg_prfill_cpu_rwstat(struct seq_file *sf, in tg_prfill_cpu_rwstat() argument 953 return __blkg_prfill_rwstat(sf, pd, &rwstat); in tg_prfill_cpu_rwstat() 957 struct seq_file *sf) in tg_print_cpu_rwstat() argument 961 blkcg_print_blkgs(sf, blkcg, tg_prfill_cpu_rwstat, &blkcg_policy_throtl, in tg_print_cpu_rwstat() 966 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_u64() argument 974 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64() 977 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, in tg_prfill_conf_uint() argument 985 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint() 989 struct seq_file *sf) in tg_print_conf_u64() argument 991 blkcg_print_blkgs(sf, cgroup_to_blkcg(cgrp), tg_prfill_conf_u64, in tg_print_conf_u64() [all …]
|
D | cfq-iosched.c | 1600 static u64 cfqg_prfill_weight_device(struct seq_file *sf, in cfqg_prfill_weight_device() argument 1607 return __blkg_prfill_u64(sf, pd, cfqg->dev_weight); in cfqg_prfill_weight_device() 1611 struct seq_file *sf) in cfqg_print_weight_device() argument 1613 blkcg_print_blkgs(sf, cgroup_to_blkcg(cgrp), in cfqg_print_weight_device() 1619 static u64 cfqg_prfill_leaf_weight_device(struct seq_file *sf, in cfqg_prfill_leaf_weight_device() argument 1626 return __blkg_prfill_u64(sf, pd, cfqg->dev_leaf_weight); in cfqg_prfill_leaf_weight_device() 1631 struct seq_file *sf) in cfqg_print_leaf_weight_device() argument 1633 blkcg_print_blkgs(sf, cgroup_to_blkcg(cgrp), in cfqg_print_leaf_weight_device() 1640 struct seq_file *sf) in cfq_print_weight() argument 1642 seq_printf(sf, "%u\n", cgroup_to_blkcg(cgrp)->cfq_weight); in cfq_print_weight() [all …]
|