Lines Matching full:iop
174 * Called to see if the limiter thinks this IOP can be allowed to
175 * proceed. If so, the limiter assumes that the IOP proceeded
345 sbintime_t max_lat; /* when != 0, if iop latency > max_lat, call max_lat_fcn */
1936 cam_iosched_devctl_outlier(struct iop_stats *iop, sbintime_t sim_latency, in cam_iosched_devctl_outlier() argument
1940 daddr_t cnt = bp->bio_bcount / iop->softc->disk->d_sectorsize; in cam_iosched_devctl_outlier()
1950 iop->softc->periph->periph_name, in cam_iosched_devctl_outlier()
1951 iop->softc->periph->unit_number, in cam_iosched_devctl_outlier()
1960 cam_iosched_update(struct iop_stats *iop, sbintime_t sim_latency, in cam_iosched_update() argument
1970 if (sim_latency > iop->bad_latency) { in cam_iosched_update()
1971 cam_iosched_devctl_outlier(iop, sim_latency, bp); in cam_iosched_update()
1972 iop->too_long++; in cam_iosched_update()
1981 iop->latencies[i]++; in cam_iosched_update()
1986 iop->latencies[i]++; /* Put all > 8192ms values into the last bucket. */ in cam_iosched_update()
2024 delta = (y - iop->ema); /* d */ in cam_iosched_update()
2025 iop->ema = ((iop->ema << alpha_bits) + delta) >> alpha_bits; in cam_iosched_update()
2043 iop->emvar = ((iop->emvar << (2 * alpha_bits)) + /* bbe */ in cam_iosched_update()
2044 ((deltasq - iop->emvar) << alpha_bits) + /* b(dd-e) */ in cam_iosched_update()
2047 iop->sd = (sbintime_t)isqrt64((uint64_t)iop->emvar) << 12; in cam_iosched_update()