Lines Matching refs:exception

458 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
461 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
463 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
466 exception->delay = 0; in nfs4_do_handle_exception()
467 exception->recovering = 0; in nfs4_do_handle_exception()
468 exception->retry = 0; in nfs4_do_handle_exception()
470 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
502 exception->retry = 1; in nfs4_do_handle_exception()
536 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
550 exception->delay = 1; in nfs4_do_handle_exception()
555 exception->retry = 1; in nfs4_do_handle_exception()
562 exception->retry = 1; in nfs4_do_handle_exception()
573 exception->recovering = 1; in nfs4_do_handle_exception()
580 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
585 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
586 if (exception->delay) { in nfs4_handle_exception()
587 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
588 exception->interruptible); in nfs4_handle_exception()
591 if (exception->recovering) { in nfs4_handle_exception()
592 if (exception->task_is_privileged) in nfs4_handle_exception()
602 exception->retry = 1; in nfs4_handle_exception()
608 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
613 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
614 if (exception->delay) { in nfs4_async_handle_exception()
615 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
618 if (exception->recovering) { in nfs4_async_handle_exception()
619 if (exception->task_is_privileged) in nfs4_async_handle_exception()
631 exception->retry = 1; in nfs4_async_handle_exception()
646 struct nfs4_exception exception = { in nfs4_async_handle_error() local
653 exception.timeout = *timeout; in nfs4_async_handle_error()
656 &exception); in nfs4_async_handle_error()
657 if (exception.delay && timeout) in nfs4_async_handle_error()
658 *timeout = exception.timeout; in nfs4_async_handle_error()
659 if (exception.retry) in nfs4_async_handle_error()
1263 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1270 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2221 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2226 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2230 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2231 } while (exception.retry); in nfs4_do_open_reclaim()
2741 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2747 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2754 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2757 } while (exception.retry); in nfs4_do_open_expired()
3230 struct nfs4_exception exception = { in nfs4_do_open() local
3265 exception.retry = 1; in nfs4_do_open()
3275 exception.retry = 1; in nfs4_do_open()
3280 exception.retry = 1; in nfs4_do_open()
3285 exception.retry = 1; in nfs4_do_open()
3288 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3291 status, &exception)); in nfs4_do_open()
3292 } while (exception.retry); in nfs4_do_open()
3375 struct nfs4_exception exception = { in nfs4_do_setattr() local
3409 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3410 } while (exception.retry); in nfs4_do_setattr()
3558 struct nfs4_exception exception = { in nfs4_close_done() local
3609 server, task->tk_status, &exception); in nfs4_close_done()
3610 if (exception.retry) in nfs4_close_done()
3940 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3947 &exception); in nfs4_server_capabilities()
3948 } while (exception.retry); in nfs4_server_capabilities()
3984 struct nfs4_exception exception = { in nfs4_lookup_root() local
3996 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
3998 } while (exception.retry); in nfs4_lookup_root()
4216 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4224 &exception); in nfs4_proc_getattr()
4225 } while (exception.retry); in nfs4_proc_getattr()
4351 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4367 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4377 exception.retry = 1; in nfs4_proc_lookup_common()
4380 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4382 } while (exception.retry); in nfs4_proc_lookup_common()
4462 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4470 &exception); in nfs4_proc_lookupp()
4471 } while (exception.retry); in nfs4_proc_lookupp()
4511 struct nfs4_exception exception = { in nfs4_proc_access() local
4519 &exception); in nfs4_proc_access()
4520 } while (exception.retry); in nfs4_proc_access()
4568 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4576 &exception); in nfs4_proc_readlink()
4577 } while (exception.retry); in nfs4_proc_readlink()
4647 struct nfs4_exception exception = { in nfs4_proc_remove() local
4663 &exception); in nfs4_proc_remove()
4664 } while (exception.retry); in nfs4_proc_remove()
4670 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4679 &exception); in nfs4_proc_rmdir()
4680 } while (exception.retry); in nfs4_proc_rmdir()
4836 struct nfs4_exception exception = { in nfs4_proc_link() local
4843 &exception); in nfs4_proc_link()
4844 } while (exception.retry); in nfs4_proc_link()
4946 struct nfs4_exception exception = { in nfs4_proc_symlink() local
4958 &exception); in nfs4_proc_symlink()
4959 } while (exception.retry); in nfs4_proc_symlink()
4987 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
5001 &exception); in nfs4_proc_mkdir()
5002 } while (exception.retry); in nfs4_proc_mkdir()
5054 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5062 err, &exception); in nfs4_proc_readdir()
5063 } while (exception.retry); in nfs4_proc_readdir()
5106 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5120 &exception); in nfs4_proc_mknod()
5121 } while (exception.retry); in nfs4_proc_mknod()
5150 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5157 &exception); in nfs4_proc_statfs()
5158 } while (exception.retry); in nfs4_proc_statfs()
5183 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5195 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5196 } while (exception.retry); in nfs4_do_fsinfo()
5244 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5252 &exception); in nfs4_proc_pathconf()
5253 } while (exception.retry); in nfs4_proc_pathconf()
5300 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5306 server, task->tk_status, &exception); in nfs4_read_done_cb()
5307 if (exception.retry) { in nfs4_read_done_cb()
5414 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5421 &exception); in nfs4_write_done_cb()
5422 if (exception.retry) { in nfs4_write_done_cb()
5595 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5600 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5601 } while (exception.retry); in nfs4_proc_commit()
5895 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
5904 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5905 } while (exception.retry); in nfs4_get_acl_uncached()
5983 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
5997 &exception); in nfs4_proc_set_acl()
5998 } while (exception.retry); in nfs4_proc_set_acl()
6040 struct nfs4_exception exception = { in nfs4_get_security_label() local
6052 &exception); in nfs4_get_security_label()
6053 } while (exception.retry); in nfs4_get_security_label()
6099 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6107 &exception); in nfs4_do_set_security_label()
6108 } while (exception.retry); in nfs4_do_set_security_label()
6434 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6484 &exception); in nfs4_delegreturn_done()
6485 if (exception.retry) in nfs4_delegreturn_done()
6617 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6628 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6629 } while (exception.retry); in nfs4_proc_delegreturn()
6677 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6686 &exception); in nfs4_proc_getlk()
6687 } while (exception.retry); in nfs4_proc_getlk()
6780 struct nfs4_exception exception = { in nfs4_locku_done() local
6815 &exception); in nfs4_locku_done()
6816 if (exception.retry) in nfs4_locku_done()
7194 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7206 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7207 } while (exception.retry); in nfs4_lock_reclaim()
7214 struct nfs4_exception exception = { in nfs4_lock_expired() local
7235 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7238 } while (exception.retry); in nfs4_lock_expired()
7292 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7304 err, &exception); in nfs4_proc_setlk()
7305 } while (exception.retry); in nfs4_proc_setlk()
7865 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
7874 &exception); in nfs4_proc_fs_locations()
7875 } while (exception.retry); in nfs4_proc_fs_locations()
8010 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
8025 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
8026 } while (exception.retry); in nfs4_proc_get_locations()
8136 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8151 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8152 } while (exception.retry); in nfs4_proc_fsid_present()
8217 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8239 &exception); in nfs4_proc_secinfo()
8240 } while (exception.retry); in nfs4_proc_secinfo()
9443 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9497 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9503 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9504 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9519 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9521 if (exception->retry) in nfs4_layoutget_handle_exception()
9574 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9591 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9592 *timeout = exception.timeout; in nfs4_proc_layoutget()
9595 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9782 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9788 &exception); in nfs4_proc_getdeviceinfo()
9789 } while (exception.retry); in nfs4_proc_getdeviceinfo()
9950 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
9979 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
9981 } while (exception.retry); in nfs41_proc_secinfo_no_name()
10087 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
10089 exception->retry = 0; in nfs4_handle_delay_or_session_error()
10093 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10100 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10119 struct nfs4_exception exception = { in nfs41_test_stateid() local
10125 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10126 } while (exception.retry); in nfs41_test_stateid()