Lines Matching refs:exception
469 int errorcode, struct nfs4_exception *exception) in nfs4_do_handle_exception() argument
472 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
474 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
477 exception->delay = 0; in nfs4_do_handle_exception()
478 exception->recovering = 0; in nfs4_do_handle_exception()
479 exception->retry = 0; in nfs4_do_handle_exception()
481 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
513 exception->retry = 1; in nfs4_do_handle_exception()
547 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
561 exception->delay = 1; in nfs4_do_handle_exception()
566 exception->retry = 1; in nfs4_do_handle_exception()
573 exception->retry = 1; in nfs4_do_handle_exception()
584 exception->recovering = 1; in nfs4_do_handle_exception()
591 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
596 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
597 if (exception->delay) { in nfs4_handle_exception()
598 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
599 exception->interruptible); in nfs4_handle_exception()
602 if (exception->recovering) { in nfs4_handle_exception()
603 if (exception->task_is_privileged) in nfs4_handle_exception()
613 exception->retry = 1; in nfs4_handle_exception()
619 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
624 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
625 if (exception->delay) { in nfs4_async_handle_exception()
626 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
629 if (exception->recovering) { in nfs4_async_handle_exception()
630 if (exception->task_is_privileged) in nfs4_async_handle_exception()
642 exception->retry = 1; in nfs4_async_handle_exception()
657 struct nfs4_exception exception = { in nfs4_async_handle_error() local
664 exception.timeout = *timeout; in nfs4_async_handle_error()
667 &exception); in nfs4_async_handle_error()
668 if (exception.delay && timeout) in nfs4_async_handle_error()
669 *timeout = exception.timeout; in nfs4_async_handle_error()
670 if (exception.retry) in nfs4_async_handle_error()
1272 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1279 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2219 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2224 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2228 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2229 } while (exception.retry); in nfs4_do_open_reclaim()
2745 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2751 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2758 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2761 } while (exception.retry); in nfs4_do_open_expired()
3227 struct nfs4_exception exception = { in nfs4_do_open() local
3262 exception.retry = 1; in nfs4_do_open()
3272 exception.retry = 1; in nfs4_do_open()
3277 exception.retry = 1; in nfs4_do_open()
3282 exception.retry = 1; in nfs4_do_open()
3285 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3288 status, &exception)); in nfs4_do_open()
3289 } while (exception.retry); in nfs4_do_open()
3370 struct nfs4_exception exception = { in nfs4_do_setattr() local
3404 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3405 } while (exception.retry); in nfs4_do_setattr()
3553 struct nfs4_exception exception = { in nfs4_close_done() local
3603 server, task->tk_status, &exception); in nfs4_close_done()
3604 if (exception.retry) in nfs4_close_done()
3940 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3949 &exception); in nfs4_server_capabilities()
3950 } while (exception.retry); in nfs4_server_capabilities()
4054 struct nfs4_exception exception = { in nfs4_discover_trunking() local
4065 &exception); in nfs4_discover_trunking()
4066 } while (exception.retry); in nfs4_discover_trunking()
4103 struct nfs4_exception exception = { in nfs4_lookup_root() local
4115 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
4117 } while (exception.retry); in nfs4_lookup_root()
4330 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4338 &exception); in nfs4_proc_getattr()
4339 } while (exception.retry); in nfs4_proc_getattr()
4458 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4474 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4484 exception.retry = 1; in nfs4_proc_lookup_common()
4487 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4489 } while (exception.retry); in nfs4_proc_lookup_common()
4566 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4574 &exception); in nfs4_proc_lookupp()
4575 } while (exception.retry); in nfs4_proc_lookupp()
4617 struct nfs4_exception exception = { in nfs4_proc_access() local
4625 &exception); in nfs4_proc_access()
4626 } while (exception.retry); in nfs4_proc_access()
4674 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4682 &exception); in nfs4_proc_readlink()
4683 } while (exception.retry); in nfs4_proc_readlink()
4753 struct nfs4_exception exception = { in nfs4_proc_remove() local
4769 &exception); in nfs4_proc_remove()
4770 } while (exception.retry); in nfs4_proc_remove()
4776 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4785 &exception); in nfs4_proc_rmdir()
4786 } while (exception.retry); in nfs4_proc_rmdir()
4935 struct nfs4_exception exception = { in nfs4_proc_link() local
4942 &exception); in nfs4_proc_link()
4943 } while (exception.retry); in nfs4_proc_link()
5043 struct nfs4_exception exception = { in nfs4_proc_symlink() local
5055 &exception); in nfs4_proc_symlink()
5056 } while (exception.retry); in nfs4_proc_symlink()
5084 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
5098 &exception); in nfs4_proc_mkdir()
5099 } while (exception.retry); in nfs4_proc_mkdir()
5151 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5159 err, &exception); in nfs4_proc_readdir()
5160 } while (exception.retry); in nfs4_proc_readdir()
5203 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5217 &exception); in nfs4_proc_mknod()
5218 } while (exception.retry); in nfs4_proc_mknod()
5247 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5254 &exception); in nfs4_proc_statfs()
5255 } while (exception.retry); in nfs4_proc_statfs()
5280 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5292 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5293 } while (exception.retry); in nfs4_do_fsinfo()
5341 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5349 &exception); in nfs4_proc_pathconf()
5350 } while (exception.retry); in nfs4_proc_pathconf()
5397 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5403 server, task->tk_status, &exception); in nfs4_read_done_cb()
5404 if (exception.retry) { in nfs4_read_done_cb()
5513 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5520 &exception); in nfs4_write_done_cb()
5521 if (exception.retry) { in nfs4_write_done_cb()
5692 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5697 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5698 } while (exception.retry); in nfs4_proc_commit()
6011 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
6020 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
6021 } while (exception.retry); in nfs4_get_acl_uncached()
6103 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
6117 &exception); in nfs4_proc_set_acl()
6118 } while (exception.retry); in nfs4_proc_set_acl()
6161 struct nfs4_exception exception = { in nfs4_get_security_label() local
6173 &exception); in nfs4_get_security_label()
6174 } while (exception.retry); in nfs4_get_security_label()
6217 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6224 &exception); in nfs4_do_set_security_label()
6225 } while (exception.retry); in nfs4_do_set_security_label()
6540 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6590 &exception); in nfs4_delegreturn_done()
6591 if (exception.retry) in nfs4_delegreturn_done()
6727 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6738 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6739 } while (exception.retry); in nfs4_proc_delegreturn()
6787 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6796 &exception); in nfs4_proc_getlk()
6797 } while (exception.retry); in nfs4_proc_getlk()
6890 struct nfs4_exception exception = { in nfs4_locku_done() local
6925 &exception); in nfs4_locku_done()
6926 if (exception.retry) in nfs4_locku_done()
7302 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7314 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7315 } while (exception.retry); in nfs4_lock_reclaim()
7322 struct nfs4_exception exception = { in nfs4_lock_expired() local
7343 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7346 } while (exception.retry); in nfs4_lock_expired()
7400 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7412 err, &exception); in nfs4_proc_setlk()
7413 } while (exception.retry); in nfs4_proc_setlk()
8021 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
8030 &exception); in nfs4_proc_fs_locations()
8031 } while (exception.retry); in nfs4_proc_fs_locations()
8178 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
8194 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
8195 } while (exception.retry); in nfs4_proc_get_locations()
8305 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8320 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8321 } while (exception.retry); in nfs4_proc_fsid_present()
8386 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8408 &exception); in nfs4_proc_secinfo()
8409 } while (exception.retry); in nfs4_proc_secinfo()
9611 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9665 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9671 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9672 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9687 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9689 if (exception->retry) in nfs4_layoutget_handle_exception()
9739 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9756 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9757 *timeout = exception.timeout; in nfs4_proc_layoutget()
9760 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9939 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9945 &exception); in nfs4_proc_getdeviceinfo()
9946 } while (exception.retry); in nfs4_proc_getdeviceinfo()
10106 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
10135 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
10137 } while (exception.retry); in nfs41_proc_secinfo_no_name()
10243 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
10245 exception->retry = 0; in nfs4_handle_delay_or_session_error()
10249 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10256 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10275 struct nfs4_exception exception = { in nfs41_test_stateid() local
10281 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10282 } while (exception.retry); in nfs41_test_stateid()