Lines Matching defs:exception

475 		int errorcode, struct nfs4_exception *exception)
478 struct nfs4_state *state = exception->state;
480 struct inode *inode = exception->inode;
483 exception->delay = 0;
484 exception->recovering = 0;
485 exception->retry = 0;
487 stateid = nfs4_recoverable_stateid(exception->stateid);
519 exception->retry = 1;
553 if (exception->timeout > HZ) {
568 exception->delay = 1;
573 exception->retry = 1;
580 exception->retry = 1;
591 exception->recovering = 1;
598 int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception)
603 ret = nfs4_do_handle_exception(server, errorcode, exception);
604 if (exception->delay) {
605 ret = nfs4_delay(&exception->timeout,
606 exception->interruptible);
609 if (exception->recovering) {
610 if (exception->task_is_privileged)
620 exception->retry = 1;
626 int errorcode, struct nfs4_exception *exception)
631 ret = nfs4_do_handle_exception(server, errorcode, exception);
632 if (exception->delay) {
633 rpc_delay(task, nfs4_update_delay(&exception->timeout));
636 if (exception->recovering) {
637 if (exception->task_is_privileged)
649 exception->retry = 1;
664 struct nfs4_exception exception = {
671 exception.timeout = *timeout;
674 &exception);
675 if (exception.delay && timeout)
676 *timeout = exception.timeout;
677 if (exception.retry)
1258 int err, struct nfs4_exception *exception)
1265 exception->retry = 1;
2216 struct nfs4_exception exception = { };
2221 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2225 nfs4_handle_exception(server, err, &exception);
2226 } while (exception.retry);
2737 struct nfs4_exception exception = { };
2743 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception))
2750 nfs4_handle_exception(server, err, &exception);
2753 } while (exception.retry);
3231 struct nfs4_exception exception = {
3266 exception.retry = 1;
3276 exception.retry = 1;
3281 exception.retry = 1;
3286 exception.retry = 1;
3289 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception))
3292 status, &exception));
3293 } while (exception.retry);
3376 struct nfs4_exception exception = {
3405 err = nfs4_handle_exception(server, err, &exception);
3406 } while (exception.retry);
3554 struct nfs4_exception exception = {
3605 server, task->tk_status, &exception);
3606 if (exception.retry)
3932 struct nfs4_exception exception = {
3939 &exception);
3940 } while (exception.retry);
3976 struct nfs4_exception exception = {
3988 err = nfs4_handle_exception(server, err, &exception);
3990 } while (exception.retry);
4147 * referral. Cause us to drop into the exception handler, which
4206 struct nfs4_exception exception = {
4214 &exception);
4215 } while (exception.retry);
4338 struct nfs4_exception exception = {
4354 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4364 exception.retry = 1;
4367 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception);
4369 } while (exception.retry);
4445 struct nfs4_exception exception = {
4453 &exception);
4454 } while (exception.retry);
4494 struct nfs4_exception exception = {
4502 &exception);
4503 } while (exception.retry);
4551 struct nfs4_exception exception = {
4559 &exception);
4560 } while (exception.retry);
4630 struct nfs4_exception exception = {
4646 &exception);
4647 } while (exception.retry);
4653 struct nfs4_exception exception = {
4662 &exception);
4663 } while (exception.retry);
4818 struct nfs4_exception exception = {
4825 &exception);
4826 } while (exception.retry);
4928 struct nfs4_exception exception = {
4940 &exception);
4941 } while (exception.retry);
4969 struct nfs4_exception exception = {
4983 &exception);
4984 } while (exception.retry);
5037 struct nfs4_exception exception = {
5046 &exception);
5047 } while (exception.retry);
5090 struct nfs4_exception exception = {
5104 &exception);
5105 } while (exception.retry);
5134 struct nfs4_exception exception = {
5141 &exception);
5142 } while (exception.retry);
5167 struct nfs4_exception exception = {
5179 err = nfs4_handle_exception(server, err, &exception);
5180 } while (exception.retry);
5228 struct nfs4_exception exception = {
5236 &exception);
5237 } while (exception.retry);
5284 struct nfs4_exception exception = {
5290 server, task->tk_status, &exception);
5291 if (exception.retry) {
5397 struct nfs4_exception exception = {
5404 &exception);
5405 if (exception.retry) {
5581 struct nfs4_exception exception = { };
5586 status = nfs4_handle_exception(dst_server, status, &exception);
5587 } while (exception.retry);
5880 struct nfs4_exception exception = {
5889 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception);
5890 } while (exception.retry);
5968 struct nfs4_exception exception = { };
5982 &exception);
5983 } while (exception.retry);
6025 struct nfs4_exception exception = {
6037 &exception);
6038 } while (exception.retry);
6084 struct nfs4_exception exception = { };
6092 &exception);
6093 } while (exception.retry);
6419 struct nfs4_exception exception = {
6469 &exception);
6470 if (exception.retry)
6604 struct nfs4_exception exception = { };
6615 err = nfs4_handle_exception(server, err, &exception);
6616 } while (exception.retry);
6664 struct nfs4_exception exception = {
6673 &exception);
6674 } while (exception.retry);
6767 struct nfs4_exception exception = {
6802 &exception);
6803 if (exception.retry)
7181 struct nfs4_exception exception = {
7193 nfs4_handle_exception(server, err, &exception);
7194 } while (exception.retry);
7201 struct nfs4_exception exception = {
7222 nfs4_handle_exception(server, err, &exception);
7225 } while (exception.retry);
7279 struct nfs4_exception exception = {
7291 err, &exception);
7292 } while (exception.retry);
7820 struct nfs4_exception exception = {
7829 &exception);
7830 } while (exception.retry);
7965 struct nfs4_exception exception = {
7980 nfs4_handle_exception(server, status, &exception);
7981 } while (exception.retry);
8091 struct nfs4_exception exception = {
8106 nfs4_handle_exception(server, status, &exception);
8107 } while (exception.retry);
8172 struct nfs4_exception exception = {
8194 &exception);
8195 } while (exception.retry);
9402 struct nfs4_layoutget *lgp, struct nfs4_exception *exception)
9457 exception->timeout = 0;
9464 exception->state = lgp->args.ctx->state;
9465 exception->stateid = &lgp->args.stateid;
9480 err = nfs4_handle_exception(server, nfs4err, exception);
9482 if (exception->retry)
9534 struct nfs4_exception exception = {
9554 status = nfs4_layoutget_handle_exception(task, lgp, &exception);
9555 *timeout = exception.timeout;
9558 *timeout = nfs4_update_delay(&exception.timeout);
9742 struct nfs4_exception exception = { };
9748 &exception);
9749 } while (exception.retry);
9908 struct nfs4_exception exception = {
9937 err = nfs4_handle_exception(server, err, &exception);
9939 } while (exception.retry);
10045 int err, struct nfs4_exception *exception)
10047 exception->retry = 0;
10051 nfs4_handle_exception(server, err, exception);
10058 nfs4_do_handle_exception(server, err, exception);
10077 struct nfs4_exception exception = {
10083 nfs4_handle_delay_or_session_error(server, err, &exception);
10084 } while (exception.retry);