Searched refs:blkg_stat (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/
H A Dblk-cgroup.h64 struct blkg_stat { struct
503 static inline int blkg_stat_init(struct blkg_stat *stat, gfp_t gfp) blkg_stat_init()
515 static inline void blkg_stat_exit(struct blkg_stat *stat) blkg_stat_exit()
521 * blkg_stat_add - add a value to a blkg_stat
522 * @stat: target blkg_stat
528 static inline void blkg_stat_add(struct blkg_stat *stat, uint64_t val) blkg_stat_add()
534 * blkg_stat_read - read the current value of a blkg_stat
535 * @stat: blkg_stat to read
537 static inline uint64_t blkg_stat_read(struct blkg_stat *stat) blkg_stat_read()
543 * blkg_stat_reset - reset a blkg_stat
544 * @stat: blkg_stat to reset
546 static inline void blkg_stat_reset(struct blkg_stat *stat) blkg_stat_reset()
553 * blkg_stat_add_aux - add a blkg_stat into another's aux count
554 * @to: the destination blkg_stat
559 static inline void blkg_stat_add_aux(struct blkg_stat *to, blkg_stat_add_aux()
560 struct blkg_stat *from) blkg_stat_add_aux()
/linux-4.4.14/block/
H A Dblk-cgroup.c574 * blkg_prfill_stat - prfill callback for blkg_stat
577 * @off: offset to the blkg_stat in @pd
579 * prfill callback for printing a blkg_stat.
686 * blkg_stat_recursive_sum - collect hierarchical blkg_stat
688 * @pol: blkcg_policy which contains the blkg_stat
689 * @off: offset to the blkg_stat in blkg_policy_data or @blkg
691 * Collect the blkg_stat specified by @blkg, @pol and @off and all its
695 * If @pol is NULL, blkg_stat is at @off bytes into @blkg; otherwise, it is
709 struct blkg_stat *stat; blkg_for_each_descendant_pre()
H A Dcfq-iosched.c189 struct blkg_stat time;
192 struct blkg_stat unaccounted_time;
194 struct blkg_stat avg_queue_size_sum;
196 struct blkg_stat avg_queue_size_samples;
198 struct blkg_stat dequeue;
200 struct blkg_stat group_wait_time;
202 struct blkg_stat idle_time;
204 struct blkg_stat empty_time;

Completed in 122 milliseconds