Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-throttle.h122 unsigned int last_io_disp[2]; member
H A Dblk-throttle.c973 tg->last_io_disp[rw]++; in throtl_charge_bio()
2031 iops = tg->last_io_disp[READ] * HZ / elapsed_time; in throtl_downgrade_check()
2037 iops = tg->last_io_disp[WRITE] * HZ / elapsed_time; in throtl_downgrade_check()
2051 tg->last_io_disp[READ] = 0; in throtl_downgrade_check()
2052 tg->last_io_disp[WRITE] = 0; in throtl_downgrade_check()