Lines Matching refs:exception
460 int errorcode, struct nfs4_exception *exception) in nfs4_do_handle_exception() argument
463 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
465 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
468 exception->delay = 0; in nfs4_do_handle_exception()
469 exception->recovering = 0; in nfs4_do_handle_exception()
470 exception->retry = 0; in nfs4_do_handle_exception()
472 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
504 exception->retry = 1; in nfs4_do_handle_exception()
538 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
552 exception->delay = 1; in nfs4_do_handle_exception()
557 exception->retry = 1; in nfs4_do_handle_exception()
564 exception->retry = 1; in nfs4_do_handle_exception()
575 exception->recovering = 1; in nfs4_do_handle_exception()
582 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
587 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
588 if (exception->delay) { in nfs4_handle_exception()
589 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
590 exception->interruptible); in nfs4_handle_exception()
593 if (exception->recovering) { 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()
629 exception->retry = 1; in nfs4_async_handle_exception()
644 struct nfs4_exception exception = { in nfs4_async_handle_error() local
651 exception.timeout = *timeout; in nfs4_async_handle_error()
654 &exception); in nfs4_async_handle_error()
655 if (exception.delay && timeout) in nfs4_async_handle_error()
656 *timeout = exception.timeout; in nfs4_async_handle_error()
657 if (exception.retry) in nfs4_async_handle_error()
1239 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1246 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2197 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2202 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2206 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2207 } while (exception.retry); in nfs4_do_open_reclaim()
2713 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2719 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2726 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2729 } while (exception.retry); in nfs4_do_open_expired()
3202 struct nfs4_exception exception = { in nfs4_do_open() local
3237 exception.retry = 1; in nfs4_do_open()
3247 exception.retry = 1; in nfs4_do_open()
3252 exception.retry = 1; in nfs4_do_open()
3257 exception.retry = 1; in nfs4_do_open()
3260 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3263 status, &exception)); in nfs4_do_open()
3264 } while (exception.retry); in nfs4_do_open()
3347 struct nfs4_exception exception = { in nfs4_do_setattr() local
3376 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3377 } while (exception.retry); in nfs4_do_setattr()
3525 struct nfs4_exception exception = { in nfs4_close_done() local
3578 server, task->tk_status, &exception); in nfs4_close_done()
3579 if (exception.retry) in nfs4_close_done()
3902 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3909 &exception); in nfs4_server_capabilities()
3910 } while (exception.retry); in nfs4_server_capabilities()
3946 struct nfs4_exception exception = { in nfs4_lookup_root() local
3958 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
3960 } while (exception.retry); in nfs4_lookup_root()
4176 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4184 &exception); in nfs4_proc_getattr()
4185 } while (exception.retry); in nfs4_proc_getattr()
4308 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4324 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4334 exception.retry = 1; in nfs4_proc_lookup_common()
4337 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4339 } while (exception.retry); in nfs4_proc_lookup_common()
4415 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4423 &exception); in nfs4_proc_lookupp()
4424 } while (exception.retry); in nfs4_proc_lookupp()
4464 struct nfs4_exception exception = { in nfs4_proc_access() local
4472 &exception); in nfs4_proc_access()
4473 } while (exception.retry); in nfs4_proc_access()
4521 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4529 &exception); in nfs4_proc_readlink()
4530 } while (exception.retry); in nfs4_proc_readlink()
4600 struct nfs4_exception exception = { in nfs4_proc_remove() local
4616 &exception); in nfs4_proc_remove()
4617 } while (exception.retry); in nfs4_proc_remove()
4623 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4632 &exception); in nfs4_proc_rmdir()
4633 } while (exception.retry); in nfs4_proc_rmdir()
4788 struct nfs4_exception exception = { in nfs4_proc_link() local
4795 &exception); in nfs4_proc_link()
4796 } while (exception.retry); in nfs4_proc_link()
4898 struct nfs4_exception exception = { in nfs4_proc_symlink() local
4910 &exception); in nfs4_proc_symlink()
4911 } while (exception.retry); in nfs4_proc_symlink()
4939 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
4953 &exception); in nfs4_proc_mkdir()
4954 } while (exception.retry); in nfs4_proc_mkdir()
5001 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5010 &exception); in nfs4_proc_readdir()
5011 } while (exception.retry); in nfs4_proc_readdir()
5054 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5068 &exception); in nfs4_proc_mknod()
5069 } while (exception.retry); in nfs4_proc_mknod()
5098 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5105 &exception); in nfs4_proc_statfs()
5106 } while (exception.retry); in nfs4_proc_statfs()
5131 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5143 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5144 } while (exception.retry); in nfs4_do_fsinfo()
5192 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5200 &exception); in nfs4_proc_pathconf()
5201 } while (exception.retry); in nfs4_proc_pathconf()
5248 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5254 server, task->tk_status, &exception); in nfs4_read_done_cb()
5255 if (exception.retry) { in nfs4_read_done_cb()
5361 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5368 &exception); in nfs4_write_done_cb()
5369 if (exception.retry) { in nfs4_write_done_cb()
5537 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5542 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5543 } while (exception.retry); in nfs4_proc_commit()
5837 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
5846 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5847 } while (exception.retry); in nfs4_get_acl_uncached()
5922 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
5928 &exception); in nfs4_proc_set_acl()
5929 } while (exception.retry); in nfs4_proc_set_acl()
5971 struct nfs4_exception exception = { in nfs4_get_security_label() local
5983 &exception); in nfs4_get_security_label()
5984 } while (exception.retry); in nfs4_get_security_label()
6030 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6038 &exception); in nfs4_do_set_security_label()
6039 } while (exception.retry); in nfs4_do_set_security_label()
6365 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6416 &exception); in nfs4_delegreturn_done()
6417 if (exception.retry) in nfs4_delegreturn_done()
6544 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6555 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6556 } while (exception.retry); in nfs4_proc_delegreturn()
6604 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6613 &exception); in nfs4_proc_getlk()
6614 } while (exception.retry); in nfs4_proc_getlk()
6707 struct nfs4_exception exception = { in nfs4_locku_done() local
6742 &exception); in nfs4_locku_done()
6743 if (exception.retry) in nfs4_locku_done()
7112 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7124 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7125 } while (exception.retry); in nfs4_lock_reclaim()
7132 struct nfs4_exception exception = { in nfs4_lock_expired() local
7153 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7156 } while (exception.retry); in nfs4_lock_expired()
7210 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7222 err, &exception); in nfs4_proc_setlk()
7223 } while (exception.retry); in nfs4_proc_setlk()
7751 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
7760 &exception); in nfs4_proc_fs_locations()
7761 } while (exception.retry); in nfs4_proc_fs_locations()
7896 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
7911 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
7912 } while (exception.retry); in nfs4_proc_get_locations()
8022 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8037 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8038 } while (exception.retry); in nfs4_proc_fsid_present()
8103 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8125 &exception); in nfs4_proc_secinfo()
8126 } while (exception.retry); in nfs4_proc_secinfo()
9329 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9383 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9390 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9391 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9406 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9408 if (exception->retry) in nfs4_layoutget_handle_exception()
9460 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9480 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9481 *timeout = exception.timeout; in nfs4_proc_layoutget()
9484 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9663 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9669 &exception); in nfs4_proc_getdeviceinfo()
9670 } while (exception.retry); in nfs4_proc_getdeviceinfo()
9829 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
9858 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
9860 } while (exception.retry); in nfs41_proc_secinfo_no_name()
9966 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
9968 exception->retry = 0; in nfs4_handle_delay_or_session_error()
9972 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
9979 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
9998 struct nfs4_exception exception = { in nfs41_test_stateid() local
10004 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10005 } while (exception.retry); in nfs41_test_stateid()