Lines Matching refs:deadline
2428 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2437 return reset(link, classes, deadline); in ata_do_reset()
2465 unsigned long deadline, now; in ata_eh_reset() local
2487 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2489 if (time_before(now, deadline)) in ata_eh_reset()
2490 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2531 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2539 rc = prereset(link, deadline); in ata_eh_reset()
2548 tmp = prereset(slave, deadline); in ata_eh_reset()
2592 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
2606 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2620 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset()
2648 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2806 if (time_before(now, deadline)) { in ata_eh_reset()
2807 unsigned long delta = deadline - now; in ata_eh_reset()
3553 unsigned long flags, deadline; in ata_eh_recover() local
3634 deadline = jiffies; in ata_eh_recover()
3647 if (time_before(deadline, tmp)) in ata_eh_recover()
3648 deadline = tmp; in ata_eh_recover()
3659 if (time_before_eq(deadline, now)) in ata_eh_recover()
3663 deadline = wait_for_completion_timeout(&ap->park_req_pending, in ata_eh_recover()
3664 deadline - now); in ata_eh_recover()
3666 } while (deadline); in ata_eh_recover()