Lines Matching refs:io_lat
92 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in __record_iostat_latency() local
99 jiffies_to_msecs(io_lat->peak_lat[idx][io]); in __record_iostat_latency()
100 iostat_lat[idx][io].cnt = io_lat->bio_cnt[idx][io]; in __record_iostat_latency()
102 jiffies_to_msecs(io_lat->sum_lat[idx][io]) / iostat_lat[idx][io].cnt : 0; in __record_iostat_latency()
103 io_lat->sum_lat[idx][io] = 0; in __record_iostat_latency()
104 io_lat->peak_lat[idx][io] = 0; in __record_iostat_latency()
105 io_lat->bio_cnt[idx][io] = 0; in __record_iostat_latency()
145 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in f2fs_reset_iostat() local
157 memset(io_lat, 0, sizeof(struct iostat_lat_info)); in f2fs_reset_iostat()
218 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in __update_iostat_latency() local
233 io_lat->sum_lat[lat_type][page_type] += ts_diff; in __update_iostat_latency()
234 io_lat->bio_cnt[lat_type][page_type]++; in __update_iostat_latency()
235 if (ts_diff > io_lat->peak_lat[lat_type][page_type]) in __update_iostat_latency()
236 io_lat->peak_lat[lat_type][page_type] = ts_diff; in __update_iostat_latency()