Lines Matching refs: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;
596 struct nfs4_exception *exception)
599 if (exception->retrans++ >= (unsigned short)nfs_delay_retrans)
608 int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception)
613 ret = nfs4_do_handle_exception(server, errorcode, exception);
614 if (exception->delay) {
615 int ret2 = nfs4_exception_should_retrans(server, exception);
617 exception->retry = 0;
620 ret = nfs4_delay(&exception->timeout,
621 exception->interruptible);
624 if (exception->recovering) {
625 if (exception->task_is_privileged)
635 exception->retry = 1;
641 int errorcode, struct nfs4_exception *exception)
646 ret = nfs4_do_handle_exception(server, errorcode, exception);
647 if (exception->delay) {
648 int ret2 = nfs4_exception_should_retrans(server, exception);
650 exception->retry = 0;
653 rpc_delay(task, nfs4_update_delay(&exception->timeout));
656 if (exception->recovering) {
657 if (exception->task_is_privileged)
669 exception->retry = 1;
684 struct nfs4_exception exception = {
691 exception.timeout = *timeout;
694 &exception);
695 if (exception.delay && timeout)
696 *timeout = exception.timeout;
697 if (exception.retry)
1299 int err, struct nfs4_exception *exception)
1306 exception->retry = 1;
2246 struct nfs4_exception exception = { };
2251 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2255 nfs4_handle_exception(server, err, &exception);
2256 } while (exception.retry);
2772 struct nfs4_exception exception = { };
2778 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2785 nfs4_handle_exception(server, err, &exception);
2788 } while (exception.retry);
3249 struct nfs4_exception exception = {
3284 exception.retry = 1;
3294 exception.retry = 1;
3299 exception.retry = 1;
3304 exception.retry = 1;
3307 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception))
3310 status, &exception));
3311 } while (exception.retry);
3392 struct nfs4_exception exception = {
3426 err = nfs4_handle_exception(server, err, &exception);
3427 } while (exception.retry);
3575 struct nfs4_exception exception = {
3625 server, task->tk_status, &exception);
3626 if (exception.retry)
3962 struct nfs4_exception exception = {
3971 &exception);
3972 } while (exception.retry);
4076 struct nfs4_exception exception = {
4087 &exception);
4088 } while (exception.retry);
4125 struct nfs4_exception exception = {
4137 err = nfs4_handle_exception(server, err, &exception);
4139 } while (exception.retry);
4297 * referral. Cause us to drop into the exception handler, which
4352 struct nfs4_exception exception = {
4360 &exception);
4361 } while (exception.retry);
4480 struct nfs4_exception exception = {
4496 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4506 exception.retry = 1;
4509 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4511 } while (exception.retry);
4588 struct nfs4_exception exception = {
4596 &exception);
4597 } while (exception.retry);
4639 struct nfs4_exception exception = {
4647 &exception);
4648 } while (exception.retry);
4696 struct nfs4_exception exception = {
4704 &exception);
4705 } while (exception.retry);
4775 struct nfs4_exception exception = {
4791 &exception);
4792 } while (exception.retry);
4798 struct nfs4_exception exception = {
4807 &exception);
4808 } while (exception.retry);
4957 struct nfs4_exception exception = {
4964 &exception);
4965 } while (exception.retry);
5066 struct nfs4_exception exception = {
5078 &exception);
5079 } while (exception.retry);
5107 struct nfs4_exception exception = {
5121 &exception);
5122 } while (exception.retry);
5174 struct nfs4_exception exception = {
5182 err, &exception);
5183 } while (exception.retry);
5226 struct nfs4_exception exception = {
5240 &exception);
5241 } while (exception.retry);
5270 struct nfs4_exception exception = {
5277 &exception);
5278 } while (exception.retry);
5303 struct nfs4_exception exception = {
5315 err = nfs4_handle_exception(server, err, &exception);
5316 } while (exception.retry);
5364 struct nfs4_exception exception = {
5372 &exception);
5373 } while (exception.retry);
5420 struct nfs4_exception exception = {
5426 server, task->tk_status, &exception);
5427 if (exception.retry) {
5536 struct nfs4_exception exception = {
5543 &exception);
5544 if (exception.retry) {
5716 struct nfs4_exception exception = { };
5721 status = nfs4_handle_exception(dst_server, status, &exception);
5722 } while (exception.retry);
6035 struct nfs4_exception exception = {
6044 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception);
6045 } while (exception.retry);
6127 struct nfs4_exception exception = { };
6141 &exception);
6142 } while (exception.retry);
6185 struct nfs4_exception exception = {
6197 &exception);
6198 } while (exception.retry);
6241 struct nfs4_exception exception = { };
6248 &exception);
6249 } while (exception.retry);
6564 struct nfs4_exception exception = {
6614 &exception);
6615 if (exception.retry)
6751 struct nfs4_exception exception = { };
6762 err = nfs4_handle_exception(server, err, &exception);
6763 } while (exception.retry);
6811 struct nfs4_exception exception = {
6820 &exception);
6821 } while (exception.retry);
6914 struct nfs4_exception exception = {
6949 &exception);
6950 if (exception.retry)
7329 struct nfs4_exception exception = {
7341 nfs4_handle_exception(server, err, &exception);
7342 } while (exception.retry);
7349 struct nfs4_exception exception = {
7370 nfs4_handle_exception(server, err, &exception);
7373 } while (exception.retry);
7427 struct nfs4_exception exception = {
7439 err, &exception);
7440 } while (exception.retry);
8048 struct nfs4_exception exception = {
8057 &exception);
8058 } while (exception.retry);
8205 struct nfs4_exception exception = {
8221 nfs4_handle_exception(server, status, &exception);
8222 } while (exception.retry);
8332 struct nfs4_exception exception = {
8347 nfs4_handle_exception(server, status, &exception);
8348 } while (exception.retry);
8413 struct nfs4_exception exception = {
8435 &exception);
8436 } while (exception.retry);
9645 struct nfs4_layoutget *lgp, struct nfs4_exception *exception)
9658 exception->state = NULL;
9659 exception->stateid = NULL;
9703 exception->timeout = 0;
9709 exception->state = lgp->args.ctx->state;
9710 exception->stateid = &lgp->args.stateid;
9725 err = nfs4_handle_exception(server, nfs4err, exception);
9727 if (exception->retry)
9758 struct nfs4_exception *exception)
9781 exception->retry = 0;
9792 exception->retry = 1;
9793 status = nfs4_layoutget_handle_exception(task, lgp, exception);
9795 exception->retry = 1;
9797 nfs4_update_delay(&exception->timeout);
9976 struct nfs4_exception exception = { };
9982 &exception);
9983 } while (exception.retry);
10143 struct nfs4_exception exception = {
10172 err = nfs4_handle_exception(server, err, &exception);
10174 } while (exception.retry);
10280 int err, struct nfs4_exception *exception)
10282 exception->retry = 0;
10286 nfs4_handle_exception(server, err, exception);
10293 nfs4_do_handle_exception(server, err, exception);
10312 struct nfs4_exception exception = {
10318 nfs4_handle_delay_or_session_error(server, err, &exception);
10319 } while (exception.retry);