Lines Matching refs:exception

469 		int errorcode, struct nfs4_exception *exception)  in nfs4_do_handle_exception()  argument
472 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
474 struct inode *inode = exception->inode; in nfs4_do_handle_exception()
477 exception->delay = 0; in nfs4_do_handle_exception()
478 exception->recovering = 0; in nfs4_do_handle_exception()
479 exception->retry = 0; in nfs4_do_handle_exception()
481 stateid = nfs4_recoverable_stateid(exception->stateid); in nfs4_do_handle_exception()
513 exception->retry = 1; in nfs4_do_handle_exception()
547 if (exception->timeout > HZ) { in nfs4_do_handle_exception()
561 exception->delay = 1; in nfs4_do_handle_exception()
566 exception->retry = 1; in nfs4_do_handle_exception()
573 exception->retry = 1; in nfs4_do_handle_exception()
584 exception->recovering = 1; in nfs4_do_handle_exception()
591 …t nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exception) in nfs4_handle_exception() argument
596 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_handle_exception()
597 if (exception->delay) { in nfs4_handle_exception()
598 ret = nfs4_delay(&exception->timeout, in nfs4_handle_exception()
599 exception->interruptible); in nfs4_handle_exception()
602 if (exception->recovering) { in nfs4_handle_exception()
603 if (exception->task_is_privileged) in nfs4_handle_exception()
613 exception->retry = 1; in nfs4_handle_exception()
619 int errorcode, struct nfs4_exception *exception) in nfs4_async_handle_exception() argument
624 ret = nfs4_do_handle_exception(server, errorcode, exception); in nfs4_async_handle_exception()
625 if (exception->delay) { in nfs4_async_handle_exception()
626 rpc_delay(task, nfs4_update_delay(&exception->timeout)); in nfs4_async_handle_exception()
629 if (exception->recovering) { in nfs4_async_handle_exception()
630 if (exception->task_is_privileged) in nfs4_async_handle_exception()
642 exception->retry = 1; in nfs4_async_handle_exception()
657 struct nfs4_exception exception = { in nfs4_async_handle_error() local
664 exception.timeout = *timeout; in nfs4_async_handle_error()
667 &exception); in nfs4_async_handle_error()
668 if (exception.delay && timeout) in nfs4_async_handle_error()
669 *timeout = exception.timeout; in nfs4_async_handle_error()
670 if (exception.retry) in nfs4_async_handle_error()
1250 int err, struct nfs4_exception *exception) in nfs4_clear_cap_atomic_open_v1() argument
1257 exception->retry = 1; in nfs4_clear_cap_atomic_open_v1()
2209 struct nfs4_exception exception = { }; in nfs4_do_open_reclaim() local
2214 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_reclaim()
2218 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_reclaim()
2219 } while (exception.retry); in nfs4_do_open_reclaim()
2725 struct nfs4_exception exception = { }; in nfs4_do_open_expired() local
2731 if (nfs4_clear_cap_atomic_open_v1(server, err, &exception)) in nfs4_do_open_expired()
2738 nfs4_handle_exception(server, err, &exception); in nfs4_do_open_expired()
2741 } while (exception.retry); in nfs4_do_open_expired()
3219 struct nfs4_exception exception = { in nfs4_do_open() local
3254 exception.retry = 1; in nfs4_do_open()
3264 exception.retry = 1; in nfs4_do_open()
3269 exception.retry = 1; in nfs4_do_open()
3274 exception.retry = 1; in nfs4_do_open()
3277 if (nfs4_clear_cap_atomic_open_v1(server, status, &exception)) in nfs4_do_open()
3280 status, &exception)); in nfs4_do_open()
3281 } while (exception.retry); in nfs4_do_open()
3364 struct nfs4_exception exception = { in nfs4_do_setattr() local
3393 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_setattr()
3394 } while (exception.retry); in nfs4_do_setattr()
3542 struct nfs4_exception exception = { in nfs4_close_done() local
3593 server, task->tk_status, &exception); in nfs4_close_done()
3594 if (exception.retry) in nfs4_close_done()
3920 struct nfs4_exception exception = { in nfs4_server_capabilities() local
3927 &exception); in nfs4_server_capabilities()
3928 } while (exception.retry); in nfs4_server_capabilities()
3964 struct nfs4_exception exception = { in nfs4_lookup_root() local
3976 err = nfs4_handle_exception(server, err, &exception); in nfs4_lookup_root()
3978 } while (exception.retry); in nfs4_lookup_root()
4194 struct nfs4_exception exception = { in nfs4_proc_getattr() local
4202 &exception); in nfs4_proc_getattr()
4203 } while (exception.retry); in nfs4_proc_getattr()
4326 struct nfs4_exception exception = { in nfs4_proc_lookup_common() local
4342 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4352 exception.retry = 1; in nfs4_proc_lookup_common()
4355 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4357 } while (exception.retry); in nfs4_proc_lookup_common()
4433 struct nfs4_exception exception = { in nfs4_proc_lookupp() local
4441 &exception); in nfs4_proc_lookupp()
4442 } while (exception.retry); in nfs4_proc_lookupp()
4482 struct nfs4_exception exception = { in nfs4_proc_access() local
4490 &exception); in nfs4_proc_access()
4491 } while (exception.retry); in nfs4_proc_access()
4539 struct nfs4_exception exception = { in nfs4_proc_readlink() local
4547 &exception); in nfs4_proc_readlink()
4548 } while (exception.retry); in nfs4_proc_readlink()
4618 struct nfs4_exception exception = { in nfs4_proc_remove() local
4634 &exception); in nfs4_proc_remove()
4635 } while (exception.retry); in nfs4_proc_remove()
4641 struct nfs4_exception exception = { in nfs4_proc_rmdir() local
4650 &exception); in nfs4_proc_rmdir()
4651 } while (exception.retry); in nfs4_proc_rmdir()
4806 struct nfs4_exception exception = { in nfs4_proc_link() local
4813 &exception); in nfs4_proc_link()
4814 } while (exception.retry); in nfs4_proc_link()
4916 struct nfs4_exception exception = { in nfs4_proc_symlink() local
4928 &exception); in nfs4_proc_symlink()
4929 } while (exception.retry); in nfs4_proc_symlink()
4957 struct nfs4_exception exception = { in nfs4_proc_mkdir() local
4971 &exception); in nfs4_proc_mkdir()
4972 } while (exception.retry); in nfs4_proc_mkdir()
5025 struct nfs4_exception exception = { in nfs4_proc_readdir() local
5034 &exception); in nfs4_proc_readdir()
5035 } while (exception.retry); in nfs4_proc_readdir()
5078 struct nfs4_exception exception = { in nfs4_proc_mknod() local
5092 &exception); in nfs4_proc_mknod()
5093 } while (exception.retry); in nfs4_proc_mknod()
5122 struct nfs4_exception exception = { in nfs4_proc_statfs() local
5129 &exception); in nfs4_proc_statfs()
5130 } while (exception.retry); in nfs4_proc_statfs()
5155 struct nfs4_exception exception = { in nfs4_do_fsinfo() local
5167 err = nfs4_handle_exception(server, err, &exception); in nfs4_do_fsinfo()
5168 } while (exception.retry); in nfs4_do_fsinfo()
5216 struct nfs4_exception exception = { in nfs4_proc_pathconf() local
5224 &exception); in nfs4_proc_pathconf()
5225 } while (exception.retry); in nfs4_proc_pathconf()
5272 struct nfs4_exception exception = { in nfs4_read_done_cb() local
5278 server, task->tk_status, &exception); in nfs4_read_done_cb()
5279 if (exception.retry) { in nfs4_read_done_cb()
5385 struct nfs4_exception exception = { in nfs4_write_done_cb() local
5392 &exception); in nfs4_write_done_cb()
5393 if (exception.retry) { in nfs4_write_done_cb()
5568 struct nfs4_exception exception = { }; in nfs4_proc_commit() local
5573 status = nfs4_handle_exception(dst_server, status, &exception); in nfs4_proc_commit()
5574 } while (exception.retry); in nfs4_proc_commit()
5868 struct nfs4_exception exception = { in nfs4_get_acl_uncached() local
5877 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5878 } while (exception.retry); in nfs4_get_acl_uncached()
5956 struct nfs4_exception exception = { }; in nfs4_proc_set_acl() local
5970 &exception); in nfs4_proc_set_acl()
5971 } while (exception.retry); in nfs4_proc_set_acl()
6013 struct nfs4_exception exception = { in nfs4_get_security_label() local
6025 &exception); in nfs4_get_security_label()
6026 } while (exception.retry); in nfs4_get_security_label()
6072 struct nfs4_exception exception = { }; in nfs4_do_set_security_label() local
6080 &exception); in nfs4_do_set_security_label()
6081 } while (exception.retry); in nfs4_do_set_security_label()
6407 struct nfs4_exception exception = { in nfs4_delegreturn_done() local
6457 &exception); in nfs4_delegreturn_done()
6458 if (exception.retry) in nfs4_delegreturn_done()
6592 struct nfs4_exception exception = { }; in nfs4_proc_delegreturn() local
6603 err = nfs4_handle_exception(server, err, &exception); in nfs4_proc_delegreturn()
6604 } while (exception.retry); in nfs4_proc_delegreturn()
6652 struct nfs4_exception exception = { in nfs4_proc_getlk() local
6661 &exception); in nfs4_proc_getlk()
6662 } while (exception.retry); in nfs4_proc_getlk()
6755 struct nfs4_exception exception = { in nfs4_locku_done() local
6790 &exception); in nfs4_locku_done()
6791 if (exception.retry) in nfs4_locku_done()
7162 struct nfs4_exception exception = { in nfs4_lock_reclaim() local
7174 nfs4_handle_exception(server, err, &exception); in nfs4_lock_reclaim()
7175 } while (exception.retry); in nfs4_lock_reclaim()
7182 struct nfs4_exception exception = { in nfs4_lock_expired() local
7203 nfs4_handle_exception(server, err, &exception); in nfs4_lock_expired()
7206 } while (exception.retry); in nfs4_lock_expired()
7260 struct nfs4_exception exception = { in nfs4_proc_setlk() local
7272 err, &exception); in nfs4_proc_setlk()
7273 } while (exception.retry); in nfs4_proc_setlk()
7804 struct nfs4_exception exception = { in nfs4_proc_fs_locations() local
7813 &exception); in nfs4_proc_fs_locations()
7814 } while (exception.retry); in nfs4_proc_fs_locations()
7949 struct nfs4_exception exception = { in nfs4_proc_get_locations() local
7964 nfs4_handle_exception(server, status, &exception); in nfs4_proc_get_locations()
7965 } while (exception.retry); in nfs4_proc_get_locations()
8075 struct nfs4_exception exception = { in nfs4_proc_fsid_present() local
8090 nfs4_handle_exception(server, status, &exception); in nfs4_proc_fsid_present()
8091 } while (exception.retry); in nfs4_proc_fsid_present()
8156 struct nfs4_exception exception = { in nfs4_proc_secinfo() local
8178 &exception); in nfs4_proc_secinfo()
8179 } while (exception.retry); in nfs4_proc_secinfo()
9386 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9440 exception->timeout = 0; in nfs4_layoutget_handle_exception()
9447 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9448 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9463 err = nfs4_handle_exception(server, nfs4err, exception); in nfs4_layoutget_handle_exception()
9465 if (exception->retry) in nfs4_layoutget_handle_exception()
9517 struct nfs4_exception exception = { in nfs4_proc_layoutget() local
9537 status = nfs4_layoutget_handle_exception(task, lgp, &exception); in nfs4_proc_layoutget()
9538 *timeout = exception.timeout; in nfs4_proc_layoutget()
9541 *timeout = nfs4_update_delay(&exception.timeout); in nfs4_proc_layoutget()
9725 struct nfs4_exception exception = { }; in nfs4_proc_getdeviceinfo() local
9731 &exception); in nfs4_proc_getdeviceinfo()
9732 } while (exception.retry); in nfs4_proc_getdeviceinfo()
9891 struct nfs4_exception exception = { in nfs41_proc_secinfo_no_name() local
9920 err = nfs4_handle_exception(server, err, &exception); in nfs41_proc_secinfo_no_name()
9922 } while (exception.retry); in nfs41_proc_secinfo_no_name()
10028 int err, struct nfs4_exception *exception) in nfs4_handle_delay_or_session_error() argument
10030 exception->retry = 0; in nfs4_handle_delay_or_session_error()
10034 nfs4_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10041 nfs4_do_handle_exception(server, err, exception); in nfs4_handle_delay_or_session_error()
10060 struct nfs4_exception exception = { in nfs41_test_stateid() local
10066 nfs4_handle_delay_or_session_error(server, err, &exception); in nfs41_test_stateid()
10067 } while (exception.retry); in nfs41_test_stateid()