• Home
  • Raw
  • Download

Lines Matching refs:timeout

389 static long nfs4_update_delay(long *timeout)  in nfs4_update_delay()  argument
392 if (!timeout) in nfs4_update_delay()
394 if (*timeout <= 0) in nfs4_update_delay()
395 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay()
396 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay()
397 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay()
398 ret = *timeout; in nfs4_update_delay()
399 *timeout <<= 1; in nfs4_update_delay()
403 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument
408 nfs4_update_delay(timeout)); in nfs4_delay_killable()
414 static int nfs4_delay_interruptible(long *timeout) in nfs4_delay_interruptible() argument
418 freezable_schedule_timeout_interruptible(nfs4_update_delay(timeout)); in nfs4_delay_interruptible()
424 static int nfs4_delay(long *timeout, bool interruptible) in nfs4_delay() argument
427 return nfs4_delay_interruptible(timeout); in nfs4_delay()
428 return nfs4_delay_killable(timeout); in nfs4_delay()
528 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
579 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
605 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
632 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error() argument
640 if (timeout) in nfs4_async_handle_error()
641 exception.timeout = *timeout; in nfs4_async_handle_error()
645 if (exception.delay && timeout) in nfs4_async_handle_error()
646 *timeout = exception.timeout; in nfs4_async_handle_error()
4563 &data->timeout) == -EAGAIN) in nfs4_proc_unlink_done()
4605 if (nfs4_async_handle_error(task, res->server, NULL, &data->timeout) == -EAGAIN) in nfs4_proc_rename_done()
7039 unsigned long timeout = NFS4_LOCK_MINTIMEOUT; in nfs4_retry_setlk_simple() local
7045 freezable_schedule_timeout_interruptible(timeout); in nfs4_retry_setlk_simple()
7046 timeout *= 2; in nfs4_retry_setlk_simple()
7047 timeout = min_t(unsigned long, NFS4_LOCK_MAXTIMEOUT, timeout); in nfs4_retry_setlk_simple()
9043 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9101 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout) in nfs4_proc_layoutget() argument
9122 .timeout = *timeout, in nfs4_proc_layoutget()
9142 *timeout = exception.timeout; in nfs4_proc_layoutget()
9145 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()