Searched refs:throttle_deadline (Results 1 – 1 of 1) sorted by relevance
197 ktime_t throttle_deadline; member373 sctx->throttle_deadline = 0; in scrub_setup_ctx()1254 if (sctx->throttle_deadline == 0) { in scrub_throttle_dev_io()1255 sctx->throttle_deadline = ktime_add_ms(now, time_slice / div); in scrub_throttle_dev_io()1260 if (ktime_before(now, sctx->throttle_deadline)) { in scrub_throttle_dev_io()1267 delta = ktime_ms_delta(sctx->throttle_deadline, now); in scrub_throttle_dev_io()1281 sctx->throttle_deadline = 0; in scrub_throttle_dev_io()