Lines Matching defs:exception
470 int errorcode, struct nfs4_exception *exception)
473 struct nfs4_state *state = exception->state;
475 struct inode *inode = exception->inode;
478 exception->delay = 0;
479 exception->recovering = 0;
480 exception->retry = 0;
482 stateid = nfs4_recoverable_stateid(exception->stateid);
514 exception->retry = 1;
548 if (exception->timeout > HZ) {
563 exception->delay = 1;
568 exception->retry = 1;
575 exception->retry = 1;
586 exception->recovering = 1;
593 int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception)
598 ret = nfs4_do_handle_exception(server, errorcode, exception);
599 if (exception->delay) {
600 ret = nfs4_delay(&exception->timeout,
601 exception->interruptible);
604 if (exception->recovering) {
605 if (exception->task_is_privileged)
615 exception->retry = 1;
621 int errorcode, struct nfs4_exception *exception)
626 ret = nfs4_do_handle_exception(server, errorcode, exception);
627 if (exception->delay) {
628 rpc_delay(task, nfs4_update_delay(&exception->timeout));
631 if (exception->recovering) {
632 if (exception->task_is_privileged)
644 exception->retry = 1;
659 struct nfs4_exception exception = {
666 exception.timeout = *timeout;
669 &exception);
670 if (exception.delay && timeout)
671 *timeout = exception.timeout;
672 if (exception.retry)
1274 int err, struct nfs4_exception *exception)
1281 exception->retry = 1;
2221 struct nfs4_exception exception = { };
2226 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2230 nfs4_handle_exception(server, err, &exception);
2231 } while (exception.retry);
2747 struct nfs4_exception exception = { };
2753 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2760 nfs4_handle_exception(server, err, &exception);
2763 } while (exception.retry);
3229 struct nfs4_exception exception = {
3264 exception.retry = 1;
3274 exception.retry = 1;
3279 exception.retry = 1;
3284 exception.retry = 1;
3287 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception))
3290 status, &exception));
3291 } while (exception.retry);
3372 struct nfs4_exception exception = {
3406 err = nfs4_handle_exception(server, err, &exception);
3407 } while (exception.retry);
3555 struct nfs4_exception exception = {
3605 server, task->tk_status, &exception);
3606 if (exception.retry)
3942 struct nfs4_exception exception = {
3951 &exception);
3952 } while (exception.retry);
4056 struct nfs4_exception exception = {
4067 &exception);
4068 } while (exception.retry);
4105 struct nfs4_exception exception = {
4117 err = nfs4_handle_exception(server, err, &exception);
4119 } while (exception.retry);
4277 * referral. Cause us to drop into the exception handler, which
4332 struct nfs4_exception exception = {
4340 &exception);
4341 } while (exception.retry);
4460 struct nfs4_exception exception = {
4476 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4486 exception.retry = 1;
4489 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4491 } while (exception.retry);
4568 struct nfs4_exception exception = {
4576 &exception);
4577 } while (exception.retry);
4619 struct nfs4_exception exception = {
4627 &exception);
4628 } while (exception.retry);
4676 struct nfs4_exception exception = {
4684 &exception);
4685 } while (exception.retry);
4755 struct nfs4_exception exception = {
4771 &exception);
4772 } while (exception.retry);
4778 struct nfs4_exception exception = {
4787 &exception);
4788 } while (exception.retry);
4937 struct nfs4_exception exception = {
4944 &exception);
4945 } while (exception.retry);
5045 struct nfs4_exception exception = {
5057 &exception);
5058 } while (exception.retry);
5086 struct nfs4_exception exception = {
5100 &exception);
5101 } while (exception.retry);
5153 struct nfs4_exception exception = {
5161 err, &exception);
5162 } while (exception.retry);
5205 struct nfs4_exception exception = {
5219 &exception);
5220 } while (exception.retry);
5249 struct nfs4_exception exception = {
5256 &exception);
5257 } while (exception.retry);
5282 struct nfs4_exception exception = {
5294 err = nfs4_handle_exception(server, err, &exception);
5295 } while (exception.retry);
5343 struct nfs4_exception exception = {
5351 &exception);
5352 } while (exception.retry);
5399 struct nfs4_exception exception = {
5405 server, task->tk_status, &exception);
5406 if (exception.retry) {
5515 struct nfs4_exception exception = {
5522 &exception);
5523 if (exception.retry) {
5695 struct nfs4_exception exception = { };
5700 status = nfs4_handle_exception(dst_server, status, &exception);
5701 } while (exception.retry);
6014 struct nfs4_exception exception = {
6023 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception);
6024 } while (exception.retry);
6106 struct nfs4_exception exception = { };
6120 &exception);
6121 } while (exception.retry);
6164 struct nfs4_exception exception = {
6176 &exception);
6177 } while (exception.retry);
6220 struct nfs4_exception exception = { };
6227 &exception);
6228 } while (exception.retry);
6543 struct nfs4_exception exception = {
6593 &exception);
6594 if (exception.retry)
6730 struct nfs4_exception exception = { };
6741 err = nfs4_handle_exception(server, err, &exception);
6742 } while (exception.retry);
6790 struct nfs4_exception exception = {
6799 &exception);
6800 } while (exception.retry);
6893 struct nfs4_exception exception = {
6928 &exception);
6929 if (exception.retry)
7305 struct nfs4_exception exception = {
7317 nfs4_handle_exception(server, err, &exception);
7318 } while (exception.retry);
7325 struct nfs4_exception exception = {
7346 nfs4_handle_exception(server, err, &exception);
7349 } while (exception.retry);
7403 struct nfs4_exception exception = {
7415 err, &exception);
7416 } while (exception.retry);
8024 struct nfs4_exception exception = {
8033 &exception);
8034 } while (exception.retry);
8181 struct nfs4_exception exception = {
8197 nfs4_handle_exception(server, status, &exception);
8198 } while (exception.retry);
8308 struct nfs4_exception exception = {
8323 nfs4_handle_exception(server, status, &exception);
8324 } while (exception.retry);
8389 struct nfs4_exception exception = {
8411 &exception);
8412 } while (exception.retry);
9619 struct nfs4_layoutget *lgp, struct nfs4_exception *exception)
9674 exception->timeout = 0;
9680 exception->state = lgp->args.ctx->state;
9681 exception->stateid = &lgp->args.stateid;
9696 err = nfs4_handle_exception(server, nfs4err, exception);
9698 if (exception->retry)
9748 struct nfs4_exception exception = {
9765 status = nfs4_layoutget_handle_exception(task, lgp, &exception);
9766 *timeout = exception.timeout;
9769 *timeout = nfs4_update_delay(&exception.timeout);
9948 struct nfs4_exception exception = { };
9954 &exception);
9955 } while (exception.retry);
10115 struct nfs4_exception exception = {
10144 err = nfs4_handle_exception(server, err, &exception);
10146 } while (exception.retry);
10252 int err, struct nfs4_exception *exception)
10254 exception->retry = 0;
10258 nfs4_handle_exception(server, err, exception);
10265 nfs4_do_handle_exception(server, err, exception);
10284 struct nfs4_exception exception = {
10290 nfs4_handle_delay_or_session_error(server, err, &exception);
10291 } while (exception.retry);