Lines Matching refs:exception

464 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
467 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
469 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
472 exception->delay = 0; in nfs4_do_handle_exception()
473 exception->recovering = 0; in nfs4_do_handle_exception()
474 exception->retry = 0; in nfs4_do_handle_exception()
476 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
508 exception->retry = 1; in nfs4_do_handle_exception()
542 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
556 exception->delay = 1; in nfs4_do_handle_exception()
561 exception->retry = 1; in nfs4_do_handle_exception()
568 exception->retry = 1; in nfs4_do_handle_exception()
579 exception->recovering = 1; in nfs4_do_handle_exception()
586 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
591 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
592 if (exception->delay) { in nfs4_handle_exception()
593 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
594 exception->interruptible); in nfs4_handle_exception()
597 if (exception->recovering) { in nfs4_handle_exception()
598 if (exception->task_is_privileged) in nfs4_handle_exception()
608 exception->retry = 1; in nfs4_handle_exception()
614 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
619 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
620 if (exception->delay) { in nfs4_async_handle_exception()
621 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
624 if (exception->recovering) { in nfs4_async_handle_exception()
625 if (exception->task_is_privileged) in nfs4_async_handle_exception()
637 exception->retry = 1; in nfs4_async_handle_exception()
652 struct nfs4_exception exception = { in nfs4_async_handle_error() local
659 exception.timeout = *timeout; in nfs4_async_handle_error()
662 &exception); in nfs4_async_handle_error()
663 if (exception.delay && timeout) in nfs4_async_handle_error()
664 *timeout = exception.timeout; in nfs4_async_handle_error()
665 if (exception.retry) in nfs4_async_handle_error()
1266 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1273 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2214 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2219 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2223 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2224 } while (exception.retry); in nfs4_do_open_reclaim()
2736 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2742 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2749 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2752 } while (exception.retry); in nfs4_do_open_expired()
3219 struct nfs4_exception exception = { in nfs4_do_open() local
3254 exception.retry = 1; in nfs4_do_open()
3264 exception.retry = 1; in nfs4_do_open()
3269 exception.retry = 1; in nfs4_do_open()
3274 exception.retry = 1; in nfs4_do_open()
3277 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3280 status, &exception)); in nfs4_do_open()
3281 } while (exception.retry); in nfs4_do_open()
3362 struct nfs4_exception exception = { in nfs4_do_setattr() local
3396 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3397 } while (exception.retry); in nfs4_do_setattr()
3545 struct nfs4_exception exception = { in nfs4_close_done() local
3595 server, task->tk_status, &exception); in nfs4_close_done()
3596 if (exception.retry) in nfs4_close_done()
3932 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3941 &exception); in nfs4_server_capabilities()
3942 } while (exception.retry); in nfs4_server_capabilities()
4044 struct nfs4_exception exception = { in nfs4_discover_trunking() local
4055 &exception); in nfs4_discover_trunking()
4056 } while (exception.retry); in nfs4_discover_trunking()
4093 struct nfs4_exception exception = { in nfs4_lookup_root() local
4105 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
4107 } while (exception.retry); in nfs4_lookup_root()
4320 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4328 &exception); in nfs4_proc_getattr()
4329 } while (exception.retry); in nfs4_proc_getattr()
4448 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4464 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4474 exception.retry = 1; in nfs4_proc_lookup_common()
4477 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4479 } while (exception.retry); in nfs4_proc_lookup_common()
4556 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4564 &exception); in nfs4_proc_lookupp()
4565 } while (exception.retry); in nfs4_proc_lookupp()
4607 struct nfs4_exception exception = { in nfs4_proc_access() local
4615 &exception); in nfs4_proc_access()
4616 } while (exception.retry); in nfs4_proc_access()
4664 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4672 &exception); in nfs4_proc_readlink()
4673 } while (exception.retry); in nfs4_proc_readlink()
4743 struct nfs4_exception exception = { in nfs4_proc_remove() local
4759 &exception); in nfs4_proc_remove()
4760 } while (exception.retry); in nfs4_proc_remove()
4766 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4775 &exception); in nfs4_proc_rmdir()
4776 } while (exception.retry); in nfs4_proc_rmdir()
4925 struct nfs4_exception exception = { in nfs4_proc_link() local
4932 &exception); in nfs4_proc_link()
4933 } while (exception.retry); in nfs4_proc_link()
5033 struct nfs4_exception exception = { in nfs4_proc_symlink() local
5045 &exception); in nfs4_proc_symlink()
5046 } while (exception.retry); in nfs4_proc_symlink()
5074 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
5088 &exception); in nfs4_proc_mkdir()
5089 } while (exception.retry); in nfs4_proc_mkdir()
5141 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5149 err, &exception); in nfs4_proc_readdir()
5150 } while (exception.retry); in nfs4_proc_readdir()
5193 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5207 &exception); in nfs4_proc_mknod()
5208 } while (exception.retry); in nfs4_proc_mknod()
5237 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5244 &exception); in nfs4_proc_statfs()
5245 } while (exception.retry); in nfs4_proc_statfs()
5270 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5282 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5283 } while (exception.retry); in nfs4_do_fsinfo()
5331 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5339 &exception); in nfs4_proc_pathconf()
5340 } while (exception.retry); in nfs4_proc_pathconf()
5387 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5393 server, task->tk_status, &exception); in nfs4_read_done_cb()
5394 if (exception.retry) { in nfs4_read_done_cb()
5499 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5506 &exception); in nfs4_write_done_cb()
5507 if (exception.retry) { in nfs4_write_done_cb()
5678 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5683 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5684 } while (exception.retry); in nfs4_proc_commit()
5998 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
6007 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
6008 } while (exception.retry); in nfs4_get_acl_uncached()
6090 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
6104 &exception); in nfs4_proc_set_acl()
6105 } while (exception.retry); in nfs4_proc_set_acl()
6148 struct nfs4_exception exception = { in nfs4_get_security_label() local
6160 &exception); in nfs4_get_security_label()
6161 } while (exception.retry); in nfs4_get_security_label()
6204 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6211 &exception); in nfs4_do_set_security_label()
6212 } while (exception.retry); in nfs4_do_set_security_label()
6527 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6577 &exception); in nfs4_delegreturn_done()
6578 if (exception.retry) in nfs4_delegreturn_done()
6714 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6725 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6726 } while (exception.retry); in nfs4_proc_delegreturn()
6774 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6783 &exception); in nfs4_proc_getlk()
6784 } while (exception.retry); in nfs4_proc_getlk()
6877 struct nfs4_exception exception = { in nfs4_locku_done() local
6912 &exception); in nfs4_locku_done()
6913 if (exception.retry) in nfs4_locku_done()
7283 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7295 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7296 } while (exception.retry); in nfs4_lock_reclaim()
7303 struct nfs4_exception exception = { in nfs4_lock_expired() local
7324 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7327 } while (exception.retry); in nfs4_lock_expired()
7381 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7393 err, &exception); in nfs4_proc_setlk()
7394 } while (exception.retry); in nfs4_proc_setlk()
8002 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
8011 &exception); in nfs4_proc_fs_locations()
8012 } while (exception.retry); in nfs4_proc_fs_locations()
8159 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
8175 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
8176 } while (exception.retry); in nfs4_proc_get_locations()
8286 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8301 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8302 } while (exception.retry); in nfs4_proc_fsid_present()
8367 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8389 &exception); in nfs4_proc_secinfo()
8390 } while (exception.retry); in nfs4_proc_secinfo()
9590 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9644 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9650 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9651 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9666 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9668 if (exception->retry) in nfs4_layoutget_handle_exception()
9718 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9735 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9736 *timeout = exception.timeout; in nfs4_proc_layoutget()
9739 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9918 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9924 &exception); in nfs4_proc_getdeviceinfo()
9925 } while (exception.retry); in nfs4_proc_getdeviceinfo()
10085 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
10114 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
10116 } while (exception.retry); in nfs41_proc_secinfo_no_name()
10222 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
10224 exception->retry = 0; in nfs4_handle_delay_or_session_error()
10228 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10235 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10254 struct nfs4_exception exception = { in nfs41_test_stateid() local
10260 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10261 } while (exception.retry); in nfs41_test_stateid()