Home
last modified time | relevance | path

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

/freebsd/sys/cam/
H A Dcam_iosched.c254 int l_value1; /* per-limiter scratch value 1. */ member
468 ios->l_value1 = ios->current / ios->softc->quanta; in cam_iosched_iops_init()
469 if (ios->l_value1 <= 0) in cam_iosched_iops_init()
470 ios->l_value1 = 1; in cam_iosched_iops_init()
497 ios->l_value1 = new_ios; in cam_iosched_iops_tick()
500 ios->l_value1 += new_ios; in cam_iosched_iops_tick()
515 if (ios->current > 0 && ios->l_value1 <= 0) in cam_iosched_iops_caniop()
527 ios->l_value1--; in cam_iosched_iops_iop()
537 ios->l_value1 = ios->current * 1000 / ios->softc->quanta; in cam_iosched_bw_init()
559 if (ios->l_value1 < bw * 4) in cam_iosched_bw_tick()
[all …]