Home
last modified time | relevance | path

Searched refs:io_lat (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/f2fs/
Diostat.c103 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in __record_iostat_latency() local
109 cnt = io_lat->bio_cnt[idx][io]; in __record_iostat_latency()
111 jiffies_to_msecs(io_lat->peak_lat[idx][io]); in __record_iostat_latency()
114 jiffies_to_msecs(io_lat->sum_lat[idx][io]) / cnt : 0; in __record_iostat_latency()
115 io_lat->sum_lat[idx][io] = 0; in __record_iostat_latency()
116 io_lat->peak_lat[idx][io] = 0; in __record_iostat_latency()
117 io_lat->bio_cnt[idx][io] = 0; in __record_iostat_latency()
157 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in f2fs_reset_iostat() local
168 memset(io_lat, 0, sizeof(struct iostat_lat_info)); in f2fs_reset_iostat()
222 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; in __update_iostat_latency() local
[all …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcpim.c442 struct bfa_itnim_latency_s *io_lat = in bfa_ioim_profile_comp() local
450 io_lat->count[idx]++; in bfa_ioim_profile_comp()
451 io_lat->min[idx] = (io_lat->min[idx] < val) ? io_lat->min[idx] : val; in bfa_ioim_profile_comp()
452 io_lat->max[idx] = (io_lat->max[idx] > val) ? io_lat->max[idx] : val; in bfa_ioim_profile_comp()
453 io_lat->avg[idx] += val; in bfa_ioim_profile_comp()