Lines Matching defs:direction
93 static void blkio_add_stat(uint64_t *stat, uint64_t add, bool direction,
96 if (direction)
111 static void blkio_check_and_dec_stat(uint64_t *stat, bool direction, bool sync)
113 if (direction) {
259 struct blkio_group *curr_blkg, bool direction,
265 blkio_add_stat(blkg->stats.stat_arr[BLKIO_STAT_QUEUED], 1, direction,
274 bool direction, bool sync)
280 direction, sync);
296 uint64_t bytes, bool direction, bool sync)
304 blkio_add_stat(stats->stat_arr[BLKIO_STAT_SERVICED], 1, direction,
307 direction, sync);
313 uint64_t start_time, uint64_t io_start_time, bool direction, bool sync)
323 now - io_start_time, direction, sync);
326 io_start_time - start_time, direction, sync);
331 void blkiocg_update_io_merged_stats(struct blkio_group *blkg, bool direction,
337 blkio_add_stat(blkg->stats.stat_arr[BLKIO_STAT_MERGED], 1, direction,