Searched refs:throttle_deadline (Results 1 – 1 of 1) sorted by relevance
206 ktime_t throttle_deadline; member482 sctx->throttle_deadline = 0; in scrub_setup_ctx()1402 if (sctx->throttle_deadline == 0) { in scrub_throttle_dev_io()1403 sctx->throttle_deadline = ktime_add_ms(now, time_slice / div); in scrub_throttle_dev_io()1408 if (ktime_before(now, sctx->throttle_deadline)) { in scrub_throttle_dev_io()1415 delta = ktime_ms_delta(sctx->throttle_deadline, now); in scrub_throttle_dev_io()1429 sctx->throttle_deadline = 0; in scrub_throttle_dev_io()