Lines Matching refs:timeout
407 static long nfs4_update_delay(long *timeout) in nfs4_update_delay() argument
410 if (!timeout) in nfs4_update_delay()
412 if (*timeout <= 0) in nfs4_update_delay()
413 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay()
414 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay()
415 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay()
416 ret = *timeout; in nfs4_update_delay()
417 *timeout <<= 1; in nfs4_update_delay()
421 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument
426 schedule_timeout(nfs4_update_delay(timeout)); in nfs4_delay_killable()
432 static int nfs4_delay_interruptible(long *timeout) in nfs4_delay_interruptible() argument
437 schedule_timeout(nfs4_update_delay(timeout)); in nfs4_delay_interruptible()
443 static int nfs4_delay(long *timeout, bool interruptible) in nfs4_delay() argument
446 return nfs4_delay_interruptible(timeout); in nfs4_delay()
447 return nfs4_delay_killable(timeout); in nfs4_delay()
548 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
600 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
628 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
657 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error() argument
665 if (timeout) in nfs4_async_handle_error()
666 exception.timeout = *timeout; in nfs4_async_handle_error()
670 if (exception.delay && timeout) in nfs4_async_handle_error()
671 *timeout = exception.timeout; in nfs4_async_handle_error()
4848 &data->timeout) == -EAGAIN) in nfs4_proc_unlink_done()
4891 if (nfs4_async_handle_error(task, res->server, NULL, &data->timeout) == -EAGAIN) in nfs4_proc_rename_done()
7450 unsigned long timeout = NFS4_LOCK_MINTIMEOUT; in nfs4_retry_setlk_simple() local
7457 schedule_timeout(timeout); in nfs4_retry_setlk_simple()
7458 timeout *= 2; in nfs4_retry_setlk_simple()
7459 timeout = min_t(unsigned long, NFS4_LOCK_MAXTIMEOUT, timeout); in nfs4_retry_setlk_simple()
9696 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9750 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout) in nfs4_proc_layoutget() argument
9772 .timeout = *timeout, in nfs4_proc_layoutget()
9788 *timeout = exception.timeout; in nfs4_proc_layoutget()
9791 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()