Lines Matching refs:deadline
2284 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2293 return reset(link, classes, deadline); in ata_do_reset()
2322 unsigned long deadline, now; in ata_eh_reset() local
2342 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2344 if (time_before(now, deadline)) in ata_eh_reset()
2345 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2385 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2393 rc = prereset(link, deadline); in ata_eh_reset()
2402 tmp = prereset(slave, deadline); in ata_eh_reset()
2446 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
2460 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2475 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset()
2504 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2625 if (time_before(now, deadline)) { in ata_eh_reset()
2626 unsigned long delta = deadline - now; in ata_eh_reset()
3118 unsigned long flags, deadline; in ata_eh_recover() local
3201 deadline = jiffies; in ata_eh_recover()
3213 if (time_before(deadline, tmp)) in ata_eh_recover()
3214 deadline = tmp; in ata_eh_recover()
3225 if (time_before_eq(deadline, now)) in ata_eh_recover()
3228 deadline = wait_for_completion_timeout(&ap->park_req_pending, in ata_eh_recover()
3229 deadline - now); in ata_eh_recover()
3230 } while (deadline); in ata_eh_recover()