Lines Matching refs:exception

459 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
462 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
464 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
467 exception->delay = 0; in nfs4_do_handle_exception()
468 exception->recovering = 0; in nfs4_do_handle_exception()
469 exception->retry = 0; in nfs4_do_handle_exception()
471 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
503 exception->retry = 1; in nfs4_do_handle_exception()
537 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
551 exception->delay = 1; in nfs4_do_handle_exception()
556 exception->retry = 1; in nfs4_do_handle_exception()
563 exception->retry = 1; in nfs4_do_handle_exception()
574 exception->recovering = 1; in nfs4_do_handle_exception()
581 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
586 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
587 if (exception->delay) { in nfs4_handle_exception()
588 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
589 exception->interruptible); in nfs4_handle_exception()
592 if (exception->recovering) { in nfs4_handle_exception()
593 if (exception->task_is_privileged) in nfs4_handle_exception()
603 exception->retry = 1; in nfs4_handle_exception()
609 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
614 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
615 if (exception->delay) { in nfs4_async_handle_exception()
616 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
619 if (exception->recovering) { in nfs4_async_handle_exception()
620 if (exception->task_is_privileged) in nfs4_async_handle_exception()
632 exception->retry = 1; in nfs4_async_handle_exception()
647 struct nfs4_exception exception = { in nfs4_async_handle_error() local
654 exception.timeout = *timeout; in nfs4_async_handle_error()
657 &exception); in nfs4_async_handle_error()
658 if (exception.delay && timeout) in nfs4_async_handle_error()
659 *timeout = exception.timeout; in nfs4_async_handle_error()
660 if (exception.retry) in nfs4_async_handle_error()
1264 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1271 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2217 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2222 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2226 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2227 } while (exception.retry); in nfs4_do_open_reclaim()
2740 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2746 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2753 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2756 } while (exception.retry); in nfs4_do_open_expired()
3216 struct nfs4_exception exception = { in nfs4_do_open() local
3251 exception.retry = 1; in nfs4_do_open()
3261 exception.retry = 1; in nfs4_do_open()
3266 exception.retry = 1; in nfs4_do_open()
3271 exception.retry = 1; in nfs4_do_open()
3274 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3277 status, &exception)); in nfs4_do_open()
3278 } while (exception.retry); in nfs4_do_open()
3359 struct nfs4_exception exception = { in nfs4_do_setattr() local
3393 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3394 } while (exception.retry); in nfs4_do_setattr()
3542 struct nfs4_exception exception = { in nfs4_close_done() local
3592 server, task->tk_status, &exception); in nfs4_close_done()
3593 if (exception.retry) in nfs4_close_done()
3921 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3930 &exception); in nfs4_server_capabilities()
3931 } while (exception.retry); in nfs4_server_capabilities()
3967 struct nfs4_exception exception = { in nfs4_lookup_root() local
3979 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
3981 } while (exception.retry); in nfs4_lookup_root()
4195 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4203 &exception); in nfs4_proc_getattr()
4204 } while (exception.retry); in nfs4_proc_getattr()
4323 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4339 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4349 exception.retry = 1; in nfs4_proc_lookup_common()
4352 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4354 } while (exception.retry); in nfs4_proc_lookup_common()
4431 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4439 &exception); in nfs4_proc_lookupp()
4440 } while (exception.retry); in nfs4_proc_lookupp()
4480 struct nfs4_exception exception = { in nfs4_proc_access() local
4488 &exception); in nfs4_proc_access()
4489 } while (exception.retry); in nfs4_proc_access()
4537 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4545 &exception); in nfs4_proc_readlink()
4546 } while (exception.retry); in nfs4_proc_readlink()
4616 struct nfs4_exception exception = { in nfs4_proc_remove() local
4632 &exception); in nfs4_proc_remove()
4633 } while (exception.retry); in nfs4_proc_remove()
4639 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4648 &exception); in nfs4_proc_rmdir()
4649 } while (exception.retry); in nfs4_proc_rmdir()
4795 struct nfs4_exception exception = { in nfs4_proc_link() local
4802 &exception); in nfs4_proc_link()
4803 } while (exception.retry); in nfs4_proc_link()
4903 struct nfs4_exception exception = { in nfs4_proc_symlink() local
4915 &exception); in nfs4_proc_symlink()
4916 } while (exception.retry); in nfs4_proc_symlink()
4944 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
4958 &exception); in nfs4_proc_mkdir()
4959 } while (exception.retry); in nfs4_proc_mkdir()
5011 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5019 err, &exception); in nfs4_proc_readdir()
5020 } while (exception.retry); in nfs4_proc_readdir()
5063 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5077 &exception); in nfs4_proc_mknod()
5078 } while (exception.retry); in nfs4_proc_mknod()
5107 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5114 &exception); in nfs4_proc_statfs()
5115 } while (exception.retry); in nfs4_proc_statfs()
5140 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5152 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5153 } while (exception.retry); in nfs4_do_fsinfo()
5201 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5209 &exception); in nfs4_proc_pathconf()
5210 } while (exception.retry); in nfs4_proc_pathconf()
5257 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5263 server, task->tk_status, &exception); in nfs4_read_done_cb()
5264 if (exception.retry) { in nfs4_read_done_cb()
5369 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5376 &exception); in nfs4_write_done_cb()
5377 if (exception.retry) { in nfs4_write_done_cb()
5550 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5555 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5556 } while (exception.retry); in nfs4_proc_commit()
5850 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
5859 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5860 } while (exception.retry); in nfs4_get_acl_uncached()
5938 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
5952 &exception); in nfs4_proc_set_acl()
5953 } while (exception.retry); in nfs4_proc_set_acl()
5996 struct nfs4_exception exception = { in nfs4_get_security_label() local
6008 &exception); in nfs4_get_security_label()
6009 } while (exception.retry); in nfs4_get_security_label()
6052 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6059 &exception); in nfs4_do_set_security_label()
6060 } while (exception.retry); in nfs4_do_set_security_label()
6375 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6425 &exception); in nfs4_delegreturn_done()
6426 if (exception.retry) in nfs4_delegreturn_done()
6558 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6569 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6570 } while (exception.retry); in nfs4_proc_delegreturn()
6618 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6627 &exception); in nfs4_proc_getlk()
6628 } while (exception.retry); in nfs4_proc_getlk()
6721 struct nfs4_exception exception = { in nfs4_locku_done() local
6756 &exception); in nfs4_locku_done()
6757 if (exception.retry) in nfs4_locku_done()
7129 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7141 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7142 } while (exception.retry); in nfs4_lock_reclaim()
7149 struct nfs4_exception exception = { in nfs4_lock_expired() local
7170 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7173 } while (exception.retry); in nfs4_lock_expired()
7227 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7239 err, &exception); in nfs4_proc_setlk()
7240 } while (exception.retry); in nfs4_proc_setlk()
7800 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
7809 &exception); in nfs4_proc_fs_locations()
7810 } while (exception.retry); in nfs4_proc_fs_locations()
7945 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
7960 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
7961 } while (exception.retry); in nfs4_proc_get_locations()
8071 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8086 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8087 } while (exception.retry); in nfs4_proc_fsid_present()
8152 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8174 &exception); in nfs4_proc_secinfo()
8175 } while (exception.retry); in nfs4_proc_secinfo()
9359 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9413 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9419 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9420 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9435 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9437 if (exception->retry) in nfs4_layoutget_handle_exception()
9487 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9502 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9503 *timeout = exception.timeout; in nfs4_proc_layoutget()
9506 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9685 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9691 &exception); in nfs4_proc_getdeviceinfo()
9692 } while (exception.retry); in nfs4_proc_getdeviceinfo()
9852 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
9881 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
9883 } while (exception.retry); in nfs41_proc_secinfo_no_name()
9989 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
9991 exception->retry = 0; in nfs4_handle_delay_or_session_error()
9995 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10002 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10021 struct nfs4_exception exception = { in nfs41_test_stateid() local
10027 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10028 } while (exception.retry); in nfs41_test_stateid()