Lines Matching refs:clnt

1207 static int nfs4_do_call_sync(struct rpc_clnt *clnt,  in nfs4_do_call_sync()  argument
1221 .rpc_client = clnt, in nfs4_do_call_sync()
1231 static int nfs4_call_sync_sequence(struct rpc_clnt *clnt, in nfs4_call_sync_sequence() argument
1241 return nfs4_do_call_sync(clnt, server, msg, args, res, task_flags); in nfs4_call_sync_sequence()
1245 int nfs4_call_sync(struct rpc_clnt *clnt, in nfs4_call_sync() argument
1253 return nfs4_call_sync_sequence(clnt, server, msg, args, res); in nfs4_call_sync()
4567 static int _nfs4_proc_lookup(struct rpc_clnt *clnt, struct inode *dir, in _nfs4_proc_lookup() argument
4603 status = nfs4_do_call_sync(clnt, server, &msg, in _nfs4_proc_lookup()
4617 static int nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, in nfs4_proc_lookup_common() argument
4624 struct rpc_clnt *client = *clnt; in nfs4_proc_lookup_common()
4640 if (client != *clnt) in nfs4_proc_lookup_common()
4655 *clnt = client; in nfs4_proc_lookup_common()
4656 else if (client != *clnt) in nfs4_proc_lookup_common()
4693 struct rpc_clnt *clnt = NFS_CLIENT(inode); in _nfs4_proc_lookupp() local
4720 status = nfs4_call_sync(clnt, server, &msg, &args.seq_args, in _nfs4_proc_lookupp()
5798 struct rpc_clnt **clnt) in nfs4_proc_write_setup() argument
5819 nfs4_state_protect_write(hdr->ds_clp ? hdr->ds_clp : server->nfs_client, clnt, msg, hdr); in nfs4_proc_write_setup()
5851 struct rpc_clnt **clnt) in nfs4_proc_commit_setup() argument
5861 NFS_SP4_MACH_CRED_COMMIT, clnt, msg); in nfs4_proc_commit_setup()
8304 struct rpc_clnt *clnt = server->client; in _nfs40_proc_get_locations() local
8335 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_get_locations()
8361 struct rpc_clnt *clnt = server->client; in _nfs41_proc_get_locations() local
8387 .rpc_client = clnt, in _nfs41_proc_get_locations()
8467 struct rpc_clnt *clnt = server->client; in _nfs40_proc_fsid_present() local
8490 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_fsid_present()
8512 struct rpc_clnt *clnt = server->client; in _nfs41_proc_fsid_present() local
8531 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs41_proc_fsid_present()
8592 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo() local
8612 .rpc_client = clnt, in _nfs4_proc_secinfo()
8621 clnt = clp->cl_rpcclient; in _nfs4_proc_secinfo()
8622 task_setup.rpc_client = clnt; in _nfs4_proc_secinfo()
8630 nfs4_state_protect(clp, NFS_SP4_MACH_CRED_SECINFO, &clnt, &msg); in _nfs4_proc_secinfo()
8734 int nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt, in nfs4_proc_bind_one_conn_to_session() argument
8754 .rpc_client = clnt, in nfs4_proc_bind_one_conn_to_session()
8767 if (xprt != rcu_access_pointer(clnt->cl_xprt)) in nfs4_proc_bind_one_conn_to_session()
8804 nfs4_proc_bind_conn_to_session_callback(struct rpc_clnt *clnt, in nfs4_proc_bind_conn_to_session_callback() argument
8810 return nfs4_proc_bind_one_conn_to_session(clnt, xprt, p->clp, p->cred); in nfs4_proc_bind_conn_to_session_callback()
9180 void nfs4_test_session_trunk(struct rpc_clnt *clnt, struct rpc_xprt *xprt, in nfs4_test_session_trunk() argument
9208 rpc_clnt_xprt_switch_add_xprt(clnt, xprt); in nfs4_test_session_trunk()
9209 else if (status != -NFS4ERR_DELAY && rpc_clnt_xprt_switch_has_addr(clnt, in nfs4_test_session_trunk()
9211 rpc_clnt_xprt_switch_remove_xprt(clnt, xprt); in nfs4_test_session_trunk()
9373 struct rpc_clnt *clnt) in nfs4_init_channel_attrs() argument
9376 unsigned int max_bc_payload = rpc_max_bc_payload(clnt); in nfs4_init_channel_attrs()
9377 unsigned int max_bc_slots = rpc_num_bc_slots(clnt); in nfs4_init_channel_attrs()