Lines Matching refs:clnt
1140 static int nfs4_do_call_sync(struct rpc_clnt *clnt, in nfs4_do_call_sync() argument
1154 .rpc_client = clnt, in nfs4_do_call_sync()
1164 static int nfs4_call_sync_sequence(struct rpc_clnt *clnt, in nfs4_call_sync_sequence() argument
1174 return nfs4_do_call_sync(clnt, server, msg, args, res, task_flags); in nfs4_call_sync_sequence()
1178 int nfs4_call_sync(struct rpc_clnt *clnt, in nfs4_call_sync() argument
1186 return nfs4_call_sync_sequence(clnt, server, msg, args, res); in nfs4_call_sync()
4412 static int _nfs4_proc_lookup(struct rpc_clnt *clnt, struct inode *dir, in _nfs4_proc_lookup() argument
4448 status = nfs4_do_call_sync(clnt, server, &msg, in _nfs4_proc_lookup()
4462 static int nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, in nfs4_proc_lookup_common() argument
4469 struct rpc_clnt *client = *clnt; in nfs4_proc_lookup_common()
4486 if (client != *clnt) in nfs4_proc_lookup_common()
4501 *clnt = client; in nfs4_proc_lookup_common()
4502 else if (client != *clnt) in nfs4_proc_lookup_common()
4538 struct rpc_clnt *clnt = NFS_CLIENT(inode); in _nfs4_proc_lookupp() local
4565 status = nfs4_call_sync(clnt, server, &msg, &args.seq_args, in _nfs4_proc_lookupp()
5612 struct rpc_clnt **clnt) in nfs4_proc_write_setup() argument
5633 nfs4_state_protect_write(hdr->ds_clp ? hdr->ds_clp : server->nfs_client, clnt, msg, hdr); in nfs4_proc_write_setup()
5665 struct rpc_clnt **clnt) in nfs4_proc_commit_setup() argument
5675 NFS_SP4_MACH_CRED_COMMIT, clnt, msg); in nfs4_proc_commit_setup()
8055 struct rpc_clnt *clnt = server->client; in _nfs40_proc_get_locations() local
8086 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_get_locations()
8112 struct rpc_clnt *clnt = server->client; in _nfs41_proc_get_locations() local
8138 .rpc_client = clnt, in _nfs41_proc_get_locations()
8218 struct rpc_clnt *clnt = server->client; in _nfs40_proc_fsid_present() local
8241 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_fsid_present()
8263 struct rpc_clnt *clnt = server->client; in _nfs41_proc_fsid_present() local
8282 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs41_proc_fsid_present()
8343 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo() local
8363 .rpc_client = clnt, in _nfs4_proc_secinfo()
8372 clnt = clp->cl_rpcclient; in _nfs4_proc_secinfo()
8373 task_setup.rpc_client = clnt; in _nfs4_proc_secinfo()
8381 nfs4_state_protect(clp, NFS_SP4_MACH_CRED_SECINFO, &clnt, &msg); in _nfs4_proc_secinfo()
8485 int nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt, in nfs4_proc_bind_one_conn_to_session() argument
8505 .rpc_client = clnt, in nfs4_proc_bind_one_conn_to_session()
8518 if (xprt != rcu_access_pointer(clnt->cl_xprt)) in nfs4_proc_bind_one_conn_to_session()
8555 nfs4_proc_bind_conn_to_session_callback(struct rpc_clnt *clnt, in nfs4_proc_bind_conn_to_session_callback() argument
8561 return nfs4_proc_bind_one_conn_to_session(clnt, xprt, p->clp, p->cred); in nfs4_proc_bind_conn_to_session_callback()
8931 void nfs4_test_session_trunk(struct rpc_clnt *clnt, struct rpc_xprt *xprt, in nfs4_test_session_trunk() argument
8957 rpc_clnt_xprt_switch_add_xprt(clnt, xprt); in nfs4_test_session_trunk()
8958 else if (status != -NFS4ERR_DELAY && rpc_clnt_xprt_switch_has_addr(clnt, in nfs4_test_session_trunk()
8960 rpc_clnt_xprt_switch_remove_xprt(clnt, xprt); in nfs4_test_session_trunk()
9122 struct rpc_clnt *clnt) in nfs4_init_channel_attrs() argument
9125 unsigned int max_bc_payload = rpc_max_bc_payload(clnt); in nfs4_init_channel_attrs()
9126 unsigned int max_bc_slots = rpc_num_bc_slots(clnt); in nfs4_init_channel_attrs()