Lines Matching refs:clp
240 extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred);
241 extern int nfs4_destroy_clientid(struct nfs_client *clp);
272 extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
278 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument
280 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) == in is_ds_only_client()
285 is_ds_client(struct nfs_client *clp) in is_ds_client() argument
287 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS; in is_ds_client()
291 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in _nfs4_state_protect() argument
297 if (test_bit(sp4_mode, &clp->cl_sp4_flags)) { in _nfs4_state_protect()
298 spin_lock(&clp->cl_lock); in _nfs4_state_protect()
299 if (clp->cl_machine_cred != NULL) in _nfs4_state_protect()
302 newcred = clp->cl_machine_cred; in _nfs4_state_protect()
303 spin_unlock(&clp->cl_lock); in _nfs4_state_protect()
306 flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_state_protect()
309 *clntp = clp->cl_rpcclient; in _nfs4_state_protect()
323 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in nfs4_state_protect() argument
326 _nfs4_state_protect(clp, sp4_mode, clntp, msg); in nfs4_state_protect()
335 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() argument
338 if (_nfs4_state_protect(clp, NFS_SP4_MACH_CRED_WRITE, clntp, msg) && in nfs4_state_protect_write()
339 !test_bit(NFS_SP4_MACH_CRED_COMMIT, &clp->cl_sp4_flags)) in nfs4_state_protect_write()
349 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument
355 is_ds_client(struct nfs_client *clp) in is_ds_client() argument
361 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, in nfs4_state_protect() argument
367 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() argument
396 struct rpc_cred *nfs4_get_clid_cred(struct nfs_client *clp);
397 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp);
398 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp);
399 int nfs4_discover_server_trunking(struct nfs_client *clp,
401 int nfs40_discover_server_trunking(struct nfs_client *clp,
404 int nfs41_discover_server_trunking(struct nfs_client *clp,
407 extern void nfs41_server_notify_target_slotid_update(struct nfs_client *clp);
408 extern void nfs41_server_notify_highest_slotid_update(struct nfs_client *clp);
428 extern int nfs4_wait_clnt_recover(struct nfs_client *clp);
429 extern int nfs4_client_recover_expired_lease(struct nfs_client *clp);
431 extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp);
435 extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags);