Lines Matching refs:timeout
408 unsigned long timeout;
536 timeout = jiffies + msecs_to_jiffies(2000);
537 while (time_before(jiffies, timeout)) {
542 if (time_after(jiffies, timeout)) {
543 goto timeout;
548 timeout = jiffies + msecs_to_jiffies(500);
549 while (time_before(jiffies, timeout)) {
556 if (time_after(jiffies, timeout)) {
557 goto timeout;
561 timeout = jiffies + msecs_to_jiffies(delay);
562 while (time_before(jiffies, timeout)) {
569 if (time_after(jiffies, timeout)) {
570 goto timeout;
578 timeout = jiffies + msecs_to_jiffies(20);
579 while (time_before(jiffies, timeout)) {
586 if (time_after(jiffies, timeout)) {
587 goto timeout;
593 goto timeout;
601 timeout: