Lines Matching refs:timeout
436 static long nfs4_update_delay(long *timeout) in nfs4_update_delay() argument
439 if (!timeout) in nfs4_update_delay()
441 if (*timeout <= 0) in nfs4_update_delay()
442 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay()
443 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay()
444 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay()
445 ret = *timeout; in nfs4_update_delay()
446 *timeout <<= 1; in nfs4_update_delay()
450 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument
457 schedule_timeout(nfs4_update_delay(timeout)); in nfs4_delay_killable()
463 static int nfs4_delay_interruptible(long *timeout) in nfs4_delay_interruptible() argument
470 schedule_timeout(nfs4_update_delay(timeout)); in nfs4_delay_interruptible()
476 static int nfs4_delay(long *timeout, bool interruptible) in nfs4_delay() argument
479 return nfs4_delay_interruptible(timeout); in nfs4_delay()
480 return nfs4_delay_killable(timeout); in nfs4_delay()
581 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
653 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
695 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
724 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error() argument
732 if (timeout) in nfs4_async_handle_error()
733 exception.timeout = *timeout; in nfs4_async_handle_error()
737 if (exception.delay && timeout) in nfs4_async_handle_error()
738 *timeout = exception.timeout; in nfs4_async_handle_error()
4988 &data->timeout) == -EAGAIN) in nfs4_proc_unlink_done()
5031 if (nfs4_async_handle_error(task, res->server, NULL, &data->timeout) == -EAGAIN) in nfs4_proc_rename_done()
7682 unsigned long timeout = NFS4_LOCK_MINTIMEOUT; in nfs4_retry_setlk_simple() local
7689 schedule_timeout(timeout); in nfs4_retry_setlk_simple()
7690 timeout *= 2; in nfs4_retry_setlk_simple()
7691 timeout = min_t(unsigned long, NFS4_LOCK_MAXTIMEOUT, timeout); in nfs4_retry_setlk_simple()
9933 exception->timeout = 0; in nfs4_layoutget_handle_exception()
10027 nfs4_update_delay(&exception->timeout); in nfs4_proc_layoutget()