Searched refs:throttle_deadline (Results 1 – 1 of 1) sorted by relevance
198 ktime_t throttle_deadline; member374 sctx->throttle_deadline = 0; in scrub_setup_ctx()1255 if (sctx->throttle_deadline == 0) { in scrub_throttle_dev_io()1256 sctx->throttle_deadline = ktime_add_ms(now, time_slice / div); in scrub_throttle_dev_io()1261 if (ktime_before(now, sctx->throttle_deadline)) { in scrub_throttle_dev_io()1268 delta = ktime_ms_delta(sctx->throttle_deadline, now); in scrub_throttle_dev_io()1282 sctx->throttle_deadline = 0; in scrub_throttle_dev_io()