Lines Matching refs:exception

491 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
494 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
496 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
499 exception->delay = 0; in nfs4_do_handle_exception()
500 exception->recovering = 0; in nfs4_do_handle_exception()
501 exception->retry = 0; in nfs4_do_handle_exception()
503 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
535 exception->retry = 1; in nfs4_do_handle_exception()
569 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
584 exception->delay = 1; in nfs4_do_handle_exception()
589 exception->retry = 1; in nfs4_do_handle_exception()
596 exception->retry = 1; in nfs4_do_handle_exception()
607 exception->recovering = 1; in nfs4_do_handle_exception()
617 struct nfs4_exception *exception) in nfs4_exception_should_retrans() argument
620 if (exception->retrans++ >= (unsigned short)nfs_delay_retrans) in nfs4_exception_should_retrans()
629 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
634 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
635 if (exception->delay) { in nfs4_handle_exception()
636 int ret2 = nfs4_exception_should_retrans(server, exception); in nfs4_handle_exception()
638 exception->retry = 0; in nfs4_handle_exception()
641 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
642 exception->interruptible); in nfs4_handle_exception()
645 if (exception->recovering) { in nfs4_handle_exception()
646 if (exception->task_is_privileged) in nfs4_handle_exception()
656 exception->retry = 1; in nfs4_handle_exception()
662 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
667 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
668 if (exception->delay) { in nfs4_async_handle_exception()
669 int ret2 = nfs4_exception_should_retrans(server, exception); in nfs4_async_handle_exception()
671 exception->retry = 0; in nfs4_async_handle_exception()
674 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
677 if (exception->recovering) { in nfs4_async_handle_exception()
678 if (exception->task_is_privileged) in nfs4_async_handle_exception()
690 exception->retry = 1; in nfs4_async_handle_exception()
705 struct nfs4_exception exception = { in nfs4_async_handle_error() local
712 exception.timeout = *timeout; in nfs4_async_handle_error()
715 &exception); in nfs4_async_handle_error()
716 if (exception.delay && timeout) in nfs4_async_handle_error()
717 *timeout = exception.timeout; in nfs4_async_handle_error()
718 if (exception.retry) in nfs4_async_handle_error()
1321 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1328 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2305 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2310 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2314 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2315 } while (exception.retry); in nfs4_do_open_reclaim()
2833 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2839 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2846 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2849 } while (exception.retry); in nfs4_do_open_expired()
3310 struct nfs4_exception exception = { in nfs4_do_open() local
3345 exception.retry = 1; in nfs4_do_open()
3355 exception.retry = 1; in nfs4_do_open()
3360 exception.retry = 1; in nfs4_do_open()
3365 exception.retry = 1; in nfs4_do_open()
3368 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3371 status, &exception)); in nfs4_do_open()
3372 } while (exception.retry); in nfs4_do_open()
3453 struct nfs4_exception exception = { in nfs4_do_setattr() local
3492 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3493 } while (exception.retry); in nfs4_do_setattr()
3641 struct nfs4_exception exception = { in nfs4_close_done() local
3691 server, task->tk_status, &exception); in nfs4_close_done()
3692 if (exception.retry) in nfs4_close_done()
4065 struct nfs4_exception exception = { in nfs4_server_capabilities() local
4074 &exception); in nfs4_server_capabilities()
4075 } while (exception.retry); in nfs4_server_capabilities()
4200 struct nfs4_exception exception = { in nfs4_discover_trunking() local
4211 &exception); in nfs4_discover_trunking()
4212 } while (exception.retry); in nfs4_discover_trunking()
4249 struct nfs4_exception exception = { in nfs4_lookup_root() local
4261 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
4263 } while (exception.retry); in nfs4_lookup_root()
4476 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4484 &exception); in nfs4_proc_getattr()
4485 } while (exception.retry); in nfs4_proc_getattr()
4604 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4619 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4629 exception.retry = 1; in nfs4_proc_lookup_common()
4632 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4634 } while (exception.retry); in nfs4_proc_lookup_common()
4712 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4720 &exception); in nfs4_proc_lookupp()
4721 } while (exception.retry); in nfs4_proc_lookupp()
4763 struct nfs4_exception exception = { in nfs4_proc_access() local
4771 &exception); in nfs4_proc_access()
4772 } while (exception.retry); in nfs4_proc_access()
4820 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4828 &exception); in nfs4_proc_readlink()
4829 } while (exception.retry); in nfs4_proc_readlink()
4899 struct nfs4_exception exception = { in nfs4_proc_remove() local
4915 &exception); in nfs4_proc_remove()
4916 } while (exception.retry); in nfs4_proc_remove()
4922 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4931 &exception); in nfs4_proc_rmdir()
4932 } while (exception.retry); in nfs4_proc_rmdir()
5082 struct nfs4_exception exception = { in nfs4_proc_link() local
5089 &exception); in nfs4_proc_link()
5090 } while (exception.retry); in nfs4_proc_link()
5191 struct nfs4_exception exception = { in nfs4_proc_symlink() local
5203 &exception); in nfs4_proc_symlink()
5204 } while (exception.retry); in nfs4_proc_symlink()
5232 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
5246 &exception); in nfs4_proc_mkdir()
5247 } while (exception.retry); in nfs4_proc_mkdir()
5299 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5307 err, &exception); in nfs4_proc_readdir()
5308 } while (exception.retry); in nfs4_proc_readdir()
5351 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5365 &exception); in nfs4_proc_mknod()
5366 } while (exception.retry); in nfs4_proc_mknod()
5395 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5402 &exception); in nfs4_proc_statfs()
5403 } while (exception.retry); in nfs4_proc_statfs()
5428 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5440 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5441 } while (exception.retry); in nfs4_do_fsinfo()
5489 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5497 &exception); in nfs4_proc_pathconf()
5498 } while (exception.retry); in nfs4_proc_pathconf()
5545 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5551 server, task->tk_status, &exception); in nfs4_read_done_cb()
5552 if (exception.retry) { in nfs4_read_done_cb()
5661 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5668 &exception); in nfs4_write_done_cb()
5669 if (exception.retry) { in nfs4_write_done_cb()
5841 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5846 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5847 } while (exception.retry); in nfs4_proc_commit()
6160 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
6169 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
6170 } while (exception.retry); in nfs4_get_acl_uncached()
6252 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
6266 &exception); in nfs4_proc_set_acl()
6267 } while (exception.retry); in nfs4_proc_set_acl()
6310 struct nfs4_exception exception = { in nfs4_get_security_label() local
6322 &exception); in nfs4_get_security_label()
6323 } while (exception.retry); in nfs4_get_security_label()
6366 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6373 &exception); in nfs4_do_set_security_label()
6374 } while (exception.retry); in nfs4_do_set_security_label()
6691 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6765 &exception); in nfs4_delegreturn_done()
6766 if (exception.retry) in nfs4_delegreturn_done()
6922 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6934 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6935 } while (exception.retry); in nfs4_proc_delegreturn()
6983 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6992 &exception); in nfs4_proc_getlk()
6993 } while (exception.retry); in nfs4_proc_getlk()
7086 struct nfs4_exception exception = { in nfs4_locku_done() local
7121 &exception); in nfs4_locku_done()
7122 if (exception.retry) in nfs4_locku_done()
7501 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7513 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7514 } while (exception.retry); in nfs4_lock_reclaim()
7521 struct nfs4_exception exception = { in nfs4_lock_expired() local
7542 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7545 } while (exception.retry); in nfs4_lock_expired()
7599 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7611 err, &exception); in nfs4_proc_setlk()
7612 } while (exception.retry); in nfs4_proc_setlk()
8220 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
8229 &exception); in nfs4_proc_fs_locations()
8230 } while (exception.retry); in nfs4_proc_fs_locations()
8377 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
8393 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
8394 } while (exception.retry); in nfs4_proc_get_locations()
8504 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8519 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8520 } while (exception.retry); in nfs4_proc_fsid_present()
8585 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8607 &exception); in nfs4_proc_secinfo()
8608 } while (exception.retry); in nfs4_proc_secinfo()
9817 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9830 exception->state = NULL; in nfs4_layoutget_handle_exception()
9831 exception->stateid = NULL; in nfs4_layoutget_handle_exception()
9875 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9881 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9882 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9897 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9899 if (exception->retry) in nfs4_layoutget_handle_exception()
9930 struct nfs4_exception *exception) in nfs4_proc_layoutget() argument
9953 exception->retry = 0; in nfs4_proc_layoutget()
9964 exception->retry = 1; in nfs4_proc_layoutget()
9965 status = nfs4_layoutget_handle_exception(task, lgp, exception); in nfs4_proc_layoutget()
9967 exception->retry = 1; in nfs4_proc_layoutget()
9969 nfs4_update_delay(&exception->timeout); in nfs4_proc_layoutget()
10172 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
10178 &exception); in nfs4_proc_getdeviceinfo()
10179 } while (exception.retry); in nfs4_proc_getdeviceinfo()
10339 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
10368 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
10370 } while (exception.retry); in nfs41_proc_secinfo_no_name()
10476 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
10478 exception->retry = 0; in nfs4_handle_delay_or_session_error()
10482 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10489 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10508 struct nfs4_exception exception = { in nfs41_test_stateid() local
10514 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10515 } while (exception.retry); in nfs41_test_stateid()