Lines Matching refs:clp

102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
471 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() local
525 nfs4_schedule_lease_recovery(clp); in nfs4_do_handle_exception()
533 nfs4_schedule_lease_moved_recovery(clp); in nfs4_do_handle_exception()
593 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() local
605 ret = nfs4_wait_clnt_recover(clp); in nfs4_handle_exception()
621 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() local
632 rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL); in nfs4_async_handle_exception()
633 if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0) in nfs4_async_handle_exception()
634 rpc_wake_up_queued_task(&clp->cl_rpcwaitq, task); in nfs4_async_handle_exception()
679 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() argument
681 rpc_authflavor_t flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_is_integrity_protected()
685 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() argument
687 spin_lock(&clp->cl_lock); in do_renew_lease()
688 if (time_before(clp->cl_last_renewal,timestamp)) in do_renew_lease()
689 clp->cl_last_renewal = timestamp; in do_renew_lease()
690 spin_unlock(&clp->cl_lock); in do_renew_lease()
695 struct nfs_client *clp = server->nfs_client; in renew_lease() local
697 if (!nfs4_has_session(clp)) in renew_lease()
698 do_renew_lease(clp, timestamp); in renew_lease()
776 nfs41_notify_server(session->clp); in nfs41_release_slot()
812 struct nfs_client *clp; in nfs41_sequence_process() local
823 clp = session->clp; in nfs41_sequence_process()
838 do_renew_lease(clp, res->sr_timestamp); in nfs41_sequence_process()
840 nfs41_handle_sequence_flag_errors(clp, res->sr_status_flags, in nfs41_sequence_process()
893 nfs4_probe_sequence(clp, task->tk_msg.rpc_cred, slot); in nfs41_sequence_process()
1144 struct nfs_client *clp = server->nfs_client; in nfs4_do_call_sync() local
1153 .callback_ops = clp->cl_mvops->call_sync_ops, in nfs4_do_call_sync()
1581 struct nfs_client *clp = state->owner->so_server->nfs_client; in nfs_test_and_clear_all_open_stateid() local
1591 nfs4_state_mark_reclaim_nograce(clp, state); in nfs_test_and_clear_all_open_stateid()
1799 struct nfs_client *clp = server->nfs_client; in update_open_stateid() local
1841 nfs4_schedule_state_manager(clp); in update_open_stateid()
1931 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg() local
1948 clp->cl_hostname); in nfs4_opendata_check_deleg()
2429 struct nfs_client *clp = sp->so_server->nfs_client; in nfs4_open_prepare() local
2451 data->o_arg.clientid = clp->cl_clientid; in nfs4_open_prepare()
2474 if (clp->cl_mvops->minor_version == 0) { in nfs4_open_prepare()
2480 } else if (nfs4_has_persistent_session(clp)) in nfs4_open_prepare()
3951 struct nfs_client *clp, in test_fs_location_for_trunking() argument
3962 .net = clp->cl_net, in test_fs_location_for_trunking()
3965 .clp = clp, in test_fs_location_for_trunking()
3968 .add_xprt_test = clp->cl_mvops->session_trunk, in test_fs_location_for_trunking()
3978 clp->cl_net, server->port); in test_fs_location_for_trunking()
3990 xprtdata.cred = nfs4_get_clid_cred(clp); in test_fs_location_for_trunking()
3991 rpc_clnt_add_xprt(clp->cl_rpcclient, &xprt_args, in test_fs_location_for_trunking()
4006 struct nfs_client *clp = server->nfs_client; in _nfs4_discover_trunking() local
4008 clp->cl_mvops->state_renewal_ops; in _nfs4_discover_trunking()
4011 cred = ops->get_state_renewal_cred(clp); in _nfs4_discover_trunking()
4013 cred = nfs4_get_clid_cred(clp); in _nfs4_discover_trunking()
4034 test_fs_location_for_trunking(&locations->locations[i], clp, in _nfs4_discover_trunking()
4053 struct nfs_client *clp = server->nfs_client; in nfs4_discover_trunking() local
4056 if (!nfs4_has_session(clp)) in nfs4_discover_trunking()
5707 struct nfs_client *clp = data->client; in nfs4_renew_release() local
5709 if (refcount_read(&clp->cl_count) > 1) in nfs4_renew_release()
5710 nfs4_schedule_state_renewal(clp); in nfs4_renew_release()
5711 nfs_put_client(clp); in nfs4_renew_release()
5718 struct nfs_client *clp = data->client; in nfs4_renew_done() local
5721 trace_nfs4_renew_async(clp, task->tk_status); in nfs4_renew_done()
5726 nfs4_schedule_lease_moved_recovery(clp); in nfs4_renew_done()
5730 if (test_bit(NFS_CS_RENEWD, &clp->cl_res_state) == 0) in nfs4_renew_done()
5733 nfs4_schedule_lease_recovery(clp); in nfs4_renew_done()
5736 nfs4_schedule_path_down_recovery(clp); in nfs4_renew_done()
5738 do_renew_lease(clp, timestamp); in nfs4_renew_done()
5746 static int nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_fl… in nfs4_proc_async_renew() argument
5750 .rpc_argp = clp, in nfs4_proc_async_renew()
5757 if (!refcount_inc_not_zero(&clp->cl_count)) in nfs4_proc_async_renew()
5761 nfs_put_client(clp); in nfs4_proc_async_renew()
5764 data->client = clp; in nfs4_proc_async_renew()
5766 return rpc_call_async(clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT, in nfs4_proc_async_renew()
5770 static int nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_renew() argument
5774 .rpc_argp = clp, in nfs4_proc_renew()
5780 status = rpc_call_sync(clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT); in nfs4_proc_renew()
5783 do_renew_lease(clp, now); in nfs4_proc_renew()
6245 static void nfs4_init_boot_verifier(const struct nfs_client *clp, in nfs4_init_boot_verifier() argument
6250 if (test_bit(NFS4CLNT_PURGE_STATE, &clp->cl_state)) { in nfs4_init_boot_verifier()
6256 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs4_init_boot_verifier()
6266 nfs4_get_uniquifier(struct nfs_client *clp, char *buf, size_t buflen) in nfs4_get_uniquifier() argument
6268 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs4_get_uniquifier()
6289 nfs4_init_nonuniform_client_string(struct nfs_client *clp) in nfs4_init_nonuniform_client_string() argument
6296 if (clp->cl_owner_id != NULL) in nfs4_init_nonuniform_client_string()
6301 strlen(clp->cl_rpcclient->cl_nodename) + in nfs4_init_nonuniform_client_string()
6303 strlen(rpc_peeraddr2str(clp->cl_rpcclient, RPC_DISPLAY_ADDR)) + in nfs4_init_nonuniform_client_string()
6307 buflen = nfs4_get_uniquifier(clp, buf, sizeof(buf)); in nfs4_init_nonuniform_client_string()
6326 clp->cl_rpcclient->cl_nodename, buf, in nfs4_init_nonuniform_client_string()
6327 rpc_peeraddr2str(clp->cl_rpcclient, in nfs4_init_nonuniform_client_string()
6331 clp->cl_rpcclient->cl_nodename, in nfs4_init_nonuniform_client_string()
6332 rpc_peeraddr2str(clp->cl_rpcclient, in nfs4_init_nonuniform_client_string()
6336 clp->cl_owner_id = str; in nfs4_init_nonuniform_client_string()
6341 nfs4_init_uniform_client_string(struct nfs_client *clp) in nfs4_init_uniform_client_string() argument
6348 if (clp->cl_owner_id != NULL) in nfs4_init_uniform_client_string()
6352 strlen(clp->cl_rpcclient->cl_nodename) + 1; in nfs4_init_uniform_client_string()
6354 buflen = nfs4_get_uniquifier(clp, buf, sizeof(buf)); in nfs4_init_uniform_client_string()
6372 clp->rpc_ops->version, clp->cl_minorversion, in nfs4_init_uniform_client_string()
6373 buf, clp->cl_rpcclient->cl_nodename); in nfs4_init_uniform_client_string()
6376 clp->rpc_ops->version, clp->cl_minorversion, in nfs4_init_uniform_client_string()
6377 clp->cl_rpcclient->cl_nodename); in nfs4_init_uniform_client_string()
6378 clp->cl_owner_id = str; in nfs4_init_uniform_client_string()
6388 nfs4_init_callback_netid(const struct nfs_client *clp, char *buf, size_t len) in nfs4_init_callback_netid() argument
6390 if (strchr(clp->cl_ipaddr, ':') != NULL) in nfs4_init_callback_netid()
6418 int nfs4_proc_setclientid(struct nfs_client *clp, u32 program, in nfs4_proc_setclientid() argument
6426 .sc_clnt = clp, in nfs4_proc_setclientid()
6435 .rpc_client = clp->cl_rpcclient, in nfs4_proc_setclientid()
6445 nfs4_init_boot_verifier(clp, &sc_verifier); in nfs4_proc_setclientid()
6447 if (test_bit(NFS_CS_MIGRATION, &clp->cl_flags)) in nfs4_proc_setclientid()
6448 status = nfs4_init_uniform_client_string(clp); in nfs4_proc_setclientid()
6450 status = nfs4_init_nonuniform_client_string(clp); in nfs4_proc_setclientid()
6457 nfs4_init_callback_netid(clp, in nfs4_proc_setclientid()
6462 clp->cl_ipaddr, port >> 8, port & 255); in nfs4_proc_setclientid()
6465 clp->cl_rpcclient->cl_auth->au_ops->au_name, in nfs4_proc_setclientid()
6466 clp->cl_owner_id); in nfs4_proc_setclientid()
6470 kfree(clp->cl_acceptor); in nfs4_proc_setclientid()
6471 clp->cl_acceptor = rpcauth_stringify_acceptor(setclientid.sc_cred); in nfs4_proc_setclientid()
6476 do_renew_lease(clp, now); in nfs4_proc_setclientid()
6478 trace_nfs4_setclientid(clp, status); in nfs4_proc_setclientid()
6491 int nfs4_proc_setclientid_confirm(struct nfs_client *clp, in nfs4_proc_setclientid_confirm() argument
6503 clp->cl_rpcclient->cl_auth->au_ops->au_name, in nfs4_proc_setclientid_confirm()
6504 clp->cl_clientid); in nfs4_proc_setclientid_confirm()
6505 status = rpc_call_sync(clp->cl_rpcclient, &msg, in nfs4_proc_setclientid_confirm()
6507 trace_nfs4_setclientid_confirm(clp, status); in nfs4_proc_setclientid_confirm()
6740 struct nfs_client *clp = server->nfs_client; in _nfs4_proc_getlk() local
6757 arg.lock_owner.clientid = clp->cl_clientid; in _nfs4_proc_getlk()
7464 struct nfs_client *clp = server->nfs_client; in nfs4_retry_setlk() local
7465 wait_queue_head_t *q = &clp->cl_lock_waitq; in nfs4_retry_setlk()
7468 .owner = { .clientid = clp->cl_clientid, in nfs4_retry_setlk()
8163 struct nfs_client *clp = server->nfs_client; in nfs4_proc_get_locations() local
8165 clp->cl_mvops->mig_recovery_ops; in nfs4_proc_get_locations()
8174 clp->cl_hostname); in nfs4_proc_get_locations()
8197 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present() local
8201 .clientid = clp->cl_clientid, in _nfs40_proc_fsid_present()
8227 do_renew_lease(clp, now); in _nfs40_proc_fsid_present()
8290 struct nfs_client *clp = server->nfs_client; in nfs4_proc_fsid_present() local
8292 clp->cl_mvops->mig_recovery_ops; in nfs4_proc_fsid_present()
8301 clp->cl_hostname); in nfs4_proc_fsid_present()
8324 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; in _nfs4_proc_secinfo() local
8345 .callback_ops = clp->cl_mvops->call_sync_ops, in _nfs4_proc_secinfo()
8352 clnt = clp->cl_rpcclient; in _nfs4_proc_secinfo()
8355 cred = nfs4_get_clid_cred(clp); in _nfs4_proc_secinfo()
8361 nfs4_state_protect(clp, NFS_SP4_MACH_CRED_SECINFO, &clnt, &msg); in _nfs4_proc_secinfo()
8437 struct nfs_client *clp = args->client; in nfs4_bind_one_conn_to_session_done() local
8442 nfs4_schedule_session_recovery(clp->cl_session, in nfs4_bind_one_conn_to_session_done()
8467 struct nfs_client *clp, in nfs4_proc_bind_one_conn_to_session() argument
8472 .client = clp, in nfs4_proc_bind_one_conn_to_session()
8493 nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); in nfs4_proc_bind_one_conn_to_session()
8494 if (!(clp->cl_session->flags & SESSION4_BACK_CHAN)) in nfs4_proc_bind_one_conn_to_session()
8507 trace_nfs4_bind_conn_to_session(clp, status); in nfs4_proc_bind_one_conn_to_session()
8510 clp->cl_session->sess_id.data, NFS4_MAX_SESSIONID_LEN)) { in nfs4_proc_bind_one_conn_to_session()
8530 struct nfs_client *clp; member
8541 return nfs4_proc_bind_one_conn_to_session(clnt, xprt, p->clp, p->cred); in nfs4_proc_bind_conn_to_session_callback()
8544 int nfs4_proc_bind_conn_to_session(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_bind_conn_to_session() argument
8547 .clp = clp, in nfs4_proc_bind_conn_to_session()
8550 return rpc_clnt_iterate_for_each_xprt(clp->cl_rpcclient, in nfs4_proc_bind_conn_to_session()
8588 static int nfs4_sp4_select_mode(struct nfs_client *clp, in nfs4_sp4_select_mode() argument
8679 clp->cl_sp4_flags = flags; in nfs4_sp4_select_mode()
8710 nfs4_run_exchange_id(struct nfs_client *clp, const struct cred *cred, in nfs4_run_exchange_id() argument
8718 .rpc_client = clp->cl_rpcclient, in nfs4_run_exchange_id()
8726 if (!refcount_inc_not_zero(&clp->cl_count)) in nfs4_run_exchange_id()
8734 nfs4_init_boot_verifier(clp, &calldata->args.verifier); in nfs4_run_exchange_id()
8736 status = nfs4_init_uniform_client_string(clp); in nfs4_run_exchange_id()
8773 memcpy(calldata->args.verifier.data, clp->cl_confirm.data, in nfs4_run_exchange_id()
8776 calldata->args.client = clp; in nfs4_run_exchange_id()
8797 nfs_put_client(clp); in nfs4_run_exchange_id()
8806 static int _nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred, in _nfs4_proc_exchange_id() argument
8815 task = nfs4_run_exchange_id(clp, cred, sp4_how, NULL); in _nfs4_proc_exchange_id()
8826 clp->cl_mvops->minor_version); in _nfs4_proc_exchange_id()
8830 status = nfs4_sp4_select_mode(clp, &resp->state_protect); in _nfs4_proc_exchange_id()
8834 do_renew_lease(clp, now); in _nfs4_proc_exchange_id()
8836 clp->cl_clientid = resp->clientid; in _nfs4_proc_exchange_id()
8837 clp->cl_exchange_flags = resp->flags; in _nfs4_proc_exchange_id()
8838 clp->cl_seqid = resp->seqid; in _nfs4_proc_exchange_id()
8842 &clp->cl_session->session_state); in _nfs4_proc_exchange_id()
8844 if (clp->cl_serverscope != NULL && in _nfs4_proc_exchange_id()
8845 !nfs41_same_server_scope(clp->cl_serverscope, in _nfs4_proc_exchange_id()
8849 set_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state); in _nfs4_proc_exchange_id()
8852 swap(clp->cl_serverowner, resp->server_owner); in _nfs4_proc_exchange_id()
8853 swap(clp->cl_serverscope, resp->server_scope); in _nfs4_proc_exchange_id()
8854 swap(clp->cl_implid, resp->impl_id); in _nfs4_proc_exchange_id()
8857 memcpy(clp->cl_confirm.data, argp->verifier.data, in _nfs4_proc_exchange_id()
8858 sizeof(clp->cl_confirm.data)); in _nfs4_proc_exchange_id()
8860 trace_nfs4_exchange_id(clp, status); in _nfs4_proc_exchange_id()
8877 int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_exchange_id() argument
8879 rpc_authflavor_t authflavor = clp->cl_rpcclient->cl_auth->au_flavor; in nfs4_proc_exchange_id()
8885 status = _nfs4_proc_exchange_id(clp, cred, SP4_MACH_CRED); in nfs4_proc_exchange_id()
8891 return _nfs4_proc_exchange_id(clp, cred, SP4_NONE); in nfs4_proc_exchange_id()
8921 sp4_how = (adata->clp->cl_sp4_flags == 0 ? SP4_NONE : SP4_MACH_CRED); in nfs4_test_session_trunk()
8924 task = nfs4_run_exchange_id(adata->clp, adata->cred, sp4_how, xprt); in nfs4_test_session_trunk()
8930 status = nfs4_detect_session_trunking(adata->clp, in nfs4_test_session_trunk()
8943 static int _nfs4_proc_destroy_clientid(struct nfs_client *clp, in _nfs4_proc_destroy_clientid() argument
8948 .rpc_argp = clp, in _nfs4_proc_destroy_clientid()
8953 status = rpc_call_sync(clp->cl_rpcclient, &msg, in _nfs4_proc_destroy_clientid()
8955 trace_nfs4_destroy_clientid(clp, status); in _nfs4_proc_destroy_clientid()
8958 "DESTROY_CLIENTID.", status, clp->cl_hostname); in _nfs4_proc_destroy_clientid()
8962 static int nfs4_proc_destroy_clientid(struct nfs_client *clp, in nfs4_proc_destroy_clientid() argument
8969 ret = _nfs4_proc_destroy_clientid(clp, cred); in nfs4_proc_destroy_clientid()
8982 int nfs4_destroy_clientid(struct nfs_client *clp) in nfs4_destroy_clientid() argument
8987 if (clp->cl_mvops->minor_version < 1) in nfs4_destroy_clientid()
8989 if (clp->cl_exchange_flags == 0) in nfs4_destroy_clientid()
8991 if (clp->cl_preserve_clid) in nfs4_destroy_clientid()
8993 cred = nfs4_get_clid_cred(clp); in nfs4_destroy_clientid()
8994 ret = nfs4_proc_destroy_clientid(clp, cred); in nfs4_destroy_clientid()
8999 clp->cl_exchange_flags = 0; in nfs4_destroy_clientid()
9010 struct nfs_client *clp; member
9021 nfs4_setup_sequence(data->clp, in nfs4_get_lease_time_prepare()
9055 int nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo) in nfs4_proc_get_lease_time() argument
9064 .clp = clp, in nfs4_proc_get_lease_time()
9072 .rpc_client = clp->cl_rpcclient, in nfs4_proc_get_lease_time()
9194 session->clp->cl_exchange_flags |= EXCHGID4_FLAG_CONFIRMED_R; in nfs4_update_session()
9203 static int _nfs4_proc_create_session(struct nfs_client *clp, in _nfs4_proc_create_session() argument
9206 struct nfs4_session *session = clp->cl_session; in _nfs4_proc_create_session()
9208 .client = clp, in _nfs4_proc_create_session()
9209 .clientid = clp->cl_clientid, in _nfs4_proc_create_session()
9210 .seqid = clp->cl_seqid, in _nfs4_proc_create_session()
9223 nfs4_init_channel_attrs(&args, clp->cl_rpcclient); in _nfs4_proc_create_session()
9226 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, in _nfs4_proc_create_session()
9228 trace_nfs4_create_session(clp, status); in _nfs4_proc_create_session()
9239 clp->cl_seqid++; in _nfs4_proc_create_session()
9257 int nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_create_session() argument
9261 struct nfs4_session *session = clp->cl_session; in nfs4_proc_create_session()
9263 .clp = clp, in nfs4_proc_create_session()
9266 .add_xprt_test = clp->cl_mvops->session_trunk, in nfs4_proc_create_session()
9270 dprintk("--> %s clp=%p session=%p\n", __func__, clp, session); in nfs4_proc_create_session()
9272 status = _nfs4_proc_create_session(clp, cred); in nfs4_proc_create_session()
9284 clp->cl_seqid, ptr[0], ptr[1], ptr[2], ptr[3]); in nfs4_proc_create_session()
9285 rpc_clnt_probe_trunked_xprts(clp->cl_rpcclient, &rpcdata); in nfs4_proc_create_session()
9308 status = rpc_call_sync(session->clp->cl_rpcclient, &msg, in nfs4_proc_destroy_session()
9310 trace_nfs4_destroy_session(session->clp, status); in nfs4_proc_destroy_session()
9315 rpc_clnt_manage_trunked_xprts(session->clp->cl_rpcclient); in nfs4_proc_destroy_session()
9323 struct nfs_client *clp; member
9331 struct nfs_client *clp = calldata->clp; in nfs41_sequence_release() local
9333 if (refcount_read(&clp->cl_count) > 1) in nfs41_sequence_release()
9334 nfs4_schedule_state_renewal(clp); in nfs41_sequence_release()
9335 nfs_put_client(clp); in nfs41_sequence_release()
9339 static int nfs41_sequence_handle_errors(struct rpc_task *task, struct nfs_client *clp) in nfs41_sequence_handle_errors() argument
9346 nfs4_schedule_lease_recovery(clp); in nfs41_sequence_handle_errors()
9354 struct nfs_client *clp = calldata->clp; in nfs41_sequence_call_done() local
9359 trace_nfs4_sequence(clp, task->tk_status); in nfs41_sequence_call_done()
9362 if (refcount_read(&clp->cl_count) == 1) in nfs41_sequence_call_done()
9365 if (nfs41_sequence_handle_errors(task, clp) == -EAGAIN) { in nfs41_sequence_call_done()
9376 struct nfs_client *clp = calldata->clp; in nfs41_sequence_prepare() local
9383 nfs4_setup_sequence(clp, args, res, task); in nfs41_sequence_prepare()
9392 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, in _nfs41_proc_sequence() argument
9403 .rpc_client = clp->cl_rpcclient, in _nfs41_proc_sequence()
9411 if (!refcount_inc_not_zero(&clp->cl_count)) in _nfs41_proc_sequence()
9422 calldata->clp = clp; in _nfs41_proc_sequence()
9430 nfs_put_client(clp); in _nfs41_proc_sequence()
9436 static int nfs41_proc_async_sequence(struct nfs_client *clp, const struct cred *cred, unsigned rene… in nfs41_proc_async_sequence() argument
9443 task = _nfs41_proc_sequence(clp, cred, NULL, false); in nfs41_proc_async_sequence()
9452 static int nfs4_proc_sequence(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_sequence() argument
9457 task = _nfs41_proc_sequence(clp, cred, NULL, true); in nfs4_proc_sequence()
9472 struct nfs_client *clp; member
9481 nfs4_setup_sequence(calldata->clp, in nfs4_reclaim_complete_prepare()
9487 static int nfs41_reclaim_complete_handle_errors(struct rpc_task *task, struct nfs_client *clp) in nfs41_reclaim_complete_handle_errors() argument
9491 wake_up_all(&clp->cl_lock_waitq); in nfs41_reclaim_complete_handle_errors()
9502 __func__, task->tk_status, clp->cl_hostname); in nfs41_reclaim_complete_handle_errors()
9509 nfs4_schedule_lease_recovery(clp); in nfs41_reclaim_complete_handle_errors()
9517 struct nfs_client *clp = calldata->clp; in nfs4_reclaim_complete_done() local
9523 trace_nfs4_reclaim_complete(clp, task->tk_status); in nfs4_reclaim_complete_done()
9524 if (nfs41_reclaim_complete_handle_errors(task, clp) == -EAGAIN) { in nfs4_reclaim_complete_done()
9546 static int nfs41_proc_reclaim_complete(struct nfs_client *clp, in nfs41_proc_reclaim_complete() argument
9555 .rpc_client = clp->cl_rpcclient, in nfs41_proc_reclaim_complete()
9565 calldata->clp = clp; in nfs41_proc_reclaim_complete()
9768 nfs4_setup_sequence(lrp->clp, in nfs4_layoutreturn_prepare()
10303 struct nfs_client *clp = data->server->nfs_client; in nfs41_free_stateid_release() local
10305 nfs_put_client(clp); in nfs41_free_stateid_release()
10342 struct nfs_client *clp = server->nfs_client; in nfs41_free_stateid() local
10344 if (!refcount_inc_not_zero(&clp->cl_count)) in nfs41_free_stateid()
10597 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs4_enable_swap() local
10599 nfs4_schedule_state_manager(clp); in nfs4_enable_swap()
10607 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs4_disable_swap() local
10609 nfs4_schedule_state_manager(clp); in nfs4_disable_swap()