Lines Matching refs:exception

420 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
423 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
424 const nfs4_stateid *stateid = exception->stateid; in nfs4_do_handle_exception()
425 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
428 exception->delay = 0; in nfs4_do_handle_exception()
429 exception->recovering = 0; in nfs4_do_handle_exception()
430 exception->retry = 0; in nfs4_do_handle_exception()
462 exception->retry = 1; in nfs4_do_handle_exception()
498 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
512 exception->delay = 1; in nfs4_do_handle_exception()
517 exception->retry = 1; in nfs4_do_handle_exception()
524 exception->retry = 1; in nfs4_do_handle_exception()
535 exception->recovering = 1; in nfs4_do_handle_exception()
542 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
547 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
548 if (exception->delay) { in nfs4_handle_exception()
549 ret = nfs4_delay(server->client, &exception->timeout); in nfs4_handle_exception()
552 if (exception->recovering) { in nfs4_handle_exception()
561 exception->retry = 1; in nfs4_handle_exception()
567 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
572 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
573 if (exception->delay) { in nfs4_async_handle_exception()
574 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
577 if (exception->recovering) { in nfs4_async_handle_exception()
588 exception->retry = 1; in nfs4_async_handle_exception()
603 struct nfs4_exception exception = { in nfs4_async_handle_error() local
610 exception.timeout = *timeout; in nfs4_async_handle_error()
613 &exception); in nfs4_async_handle_error()
614 if (exception.delay && timeout) in nfs4_async_handle_error()
615 *timeout = exception.timeout; in nfs4_async_handle_error()
616 if (exception.retry) in nfs4_async_handle_error()
1140 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1147 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2059 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2064 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2068 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2069 } while (exception.retry); in nfs4_do_open_reclaim()
2571 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2577 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2584 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2587 } while (exception.retry); in nfs4_do_open_expired()
3034 struct nfs4_exception exception = { }; in nfs4_do_open() local
3067 exception.retry = 1; in nfs4_do_open()
3077 exception.retry = 1; in nfs4_do_open()
3082 exception.retry = 1; in nfs4_do_open()
3085 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3088 status, &exception)); in nfs4_do_open()
3089 } while (exception.retry); in nfs4_do_open()
3168 struct nfs4_exception exception = { in nfs4_do_setattr() local
3197 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3198 } while (exception.retry); in nfs4_do_setattr()
3250 struct nfs4_exception exception = { in nfs4_close_done() local
3322 server, task->tk_status, &exception); in nfs4_close_done()
3323 if (exception.retry) in nfs4_close_done()
3647 struct nfs4_exception exception = { }; in nfs4_server_capabilities() local
3652 &exception); in nfs4_server_capabilities()
3653 } while (exception.retry); in nfs4_server_capabilities()
3689 struct nfs4_exception exception = { }; in nfs4_lookup_root() local
3699 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
3701 } while (exception.retry); in nfs4_lookup_root()
3916 struct nfs4_exception exception = { }; in nfs4_proc_getattr() local
3922 &exception); in nfs4_proc_getattr()
3923 } while (exception.retry); in nfs4_proc_getattr()
4039 struct nfs4_exception exception = { }; in nfs4_proc_lookup_common() local
4052 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4062 exception.retry = 1; in nfs4_proc_lookup_common()
4065 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4067 } while (exception.retry); in nfs4_proc_lookup_common()
4143 struct nfs4_exception exception = { }; in nfs4_proc_lookupp() local
4149 &exception); in nfs4_proc_lookupp()
4150 } while (exception.retry); in nfs4_proc_lookupp()
4191 struct nfs4_exception exception = { }; in nfs4_proc_access() local
4197 &exception); in nfs4_proc_access()
4198 } while (exception.retry); in nfs4_proc_access()
4246 struct nfs4_exception exception = { }; in nfs4_proc_readlink() local
4252 &exception); in nfs4_proc_readlink()
4253 } while (exception.retry); in nfs4_proc_readlink()
4322 struct nfs4_exception exception = { }; in nfs4_proc_remove() local
4336 &exception); in nfs4_proc_remove()
4337 } while (exception.retry); in nfs4_proc_remove()
4343 struct nfs4_exception exception = { }; in nfs4_proc_rmdir() local
4350 &exception); in nfs4_proc_rmdir()
4351 } while (exception.retry); in nfs4_proc_rmdir()
4502 struct nfs4_exception exception = { }; in nfs4_proc_link() local
4507 &exception); in nfs4_proc_link()
4508 } while (exception.retry); in nfs4_proc_link()
4609 struct nfs4_exception exception = { }; in nfs4_proc_symlink() local
4619 &exception); in nfs4_proc_symlink()
4620 } while (exception.retry); in nfs4_proc_symlink()
4648 struct nfs4_exception exception = { }; in nfs4_proc_mkdir() local
4660 &exception); in nfs4_proc_mkdir()
4661 } while (exception.retry); in nfs4_proc_mkdir()
4708 struct nfs4_exception exception = { }; in nfs4_proc_readdir() local
4715 &exception); in nfs4_proc_readdir()
4716 } while (exception.retry); in nfs4_proc_readdir()
4759 struct nfs4_exception exception = { }; in nfs4_proc_mknod() local
4771 &exception); in nfs4_proc_mknod()
4772 } while (exception.retry); in nfs4_proc_mknod()
4801 struct nfs4_exception exception = { }; in nfs4_proc_statfs() local
4806 &exception); in nfs4_proc_statfs()
4807 } while (exception.retry); in nfs4_proc_statfs()
4832 struct nfs4_exception exception = { }; in nfs4_do_fsinfo() local
4845 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
4846 } while (exception.retry); in nfs4_do_fsinfo()
4894 struct nfs4_exception exception = { }; in nfs4_proc_pathconf() local
4900 &exception); in nfs4_proc_pathconf()
4901 } while (exception.retry); in nfs4_proc_pathconf()
4948 struct nfs4_exception exception = { in nfs4_read_done_cb() local
4954 server, task->tk_status, &exception); in nfs4_read_done_cb()
4955 if (exception.retry) { in nfs4_read_done_cb()
5029 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5036 &exception); in nfs4_write_done_cb()
5037 if (exception.retry) { in nfs4_write_done_cb()
5171 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5176 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5177 } while (exception.retry); in nfs4_proc_commit()
5463 struct nfs4_exception exception = { }; in nfs4_get_acl_uncached() local
5470 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5471 } while (exception.retry); in nfs4_get_acl_uncached()
5546 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
5552 &exception); in nfs4_proc_set_acl()
5553 } while (exception.retry); in nfs4_proc_set_acl()
5597 struct nfs4_exception exception = { }; in nfs4_get_security_label() local
5607 &exception); in nfs4_get_security_label()
5608 } while (exception.retry); in nfs4_get_security_label()
5654 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
5662 &exception); in nfs4_do_set_security_label()
5663 } while (exception.retry); in nfs4_do_set_security_label()
5990 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6058 &exception); in nfs4_delegreturn_done()
6059 if (exception.retry) in nfs4_delegreturn_done()
6184 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6195 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6196 } while (exception.retry); in nfs4_proc_delegreturn()
6244 struct nfs4_exception exception = { }; in nfs4_proc_getlk() local
6251 &exception); in nfs4_proc_getlk()
6252 } while (exception.retry); in nfs4_proc_getlk()
6305 struct nfs4_exception exception = { in nfs4_locku_done() local
6336 &exception); in nfs4_locku_done()
6337 if (exception.retry) in nfs4_locku_done()
6707 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
6719 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
6720 } while (exception.retry); in nfs4_lock_reclaim()
6727 struct nfs4_exception exception = { in nfs4_lock_expired() local
6748 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
6751 } while (exception.retry); in nfs4_lock_expired()
6805 struct nfs4_exception exception = { in nfs4_proc_setlk() local
6816 err, &exception); in nfs4_proc_setlk()
6817 } while (exception.retry); in nfs4_proc_setlk()
7221 struct nfs4_exception exception = { }; in nfs4_proc_fs_locations() local
7228 &exception); in nfs4_proc_fs_locations()
7229 } while (exception.retry); in nfs4_proc_fs_locations()
7364 struct nfs4_exception exception = { }; in nfs4_proc_get_locations() local
7377 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
7378 } while (exception.retry); in nfs4_proc_get_locations()
7488 struct nfs4_exception exception = { }; in nfs4_proc_fsid_present() local
7501 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
7502 } while (exception.retry); in nfs4_proc_fsid_present()
7555 struct nfs4_exception exception = { }; in nfs4_proc_secinfo() local
7575 &exception); in nfs4_proc_secinfo()
7576 } while (exception.retry); in nfs4_proc_secinfo()
8765 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
8819 exception->timeout = 0; in nfs4_layoutget_handle_exception()
8826 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
8827 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
8842 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
8844 if (exception->retry) in nfs4_layoutget_handle_exception()
8896 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
8918 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
8919 *timeout = exception.timeout; in nfs4_proc_layoutget()
9088 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9094 &exception); in nfs4_proc_getdeviceinfo()
9095 } while (exception.retry); in nfs4_proc_getdeviceinfo()
9243 struct nfs4_exception exception = { }; in nfs41_proc_secinfo_no_name() local
9270 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
9272 } while (exception.retry); in nfs41_proc_secinfo_no_name()
9378 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
9380 exception->retry = 0; in nfs4_handle_delay_or_session_error()
9384 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
9391 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
9410 struct nfs4_exception exception = { }; in nfs41_test_stateid() local
9414 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
9415 } while (exception.retry); in nfs41_test_stateid()