Lines Matching refs:clp

254 	struct nfs_client	*clp;
300 extern int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred);
301 extern int nfs4_destroy_clientid(struct nfs_client *clp);
329 extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
344 extern int nfs4_detect_session_trunking(struct nfs_client *clp,
348 is_ds_only_client(struct nfs_client *clp)
350 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) ==
355 is_ds_client(struct nfs_client *clp)
357 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS;
361 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode,
377 if (test_bit(sp4_mode, &clp->cl_sp4_flags)) {
380 flavor = clp->cl_rpcclient->cl_auth->au_flavor;
383 *clntp = clp->cl_rpcclient;
397 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode,
400 _nfs4_state_protect(clp, sp4_mode, clntp, msg);
409 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp,
412 if (_nfs4_state_protect(clp, NFS_SP4_MACH_CRED_WRITE, clntp, msg) &&
413 !test_bit(NFS_SP4_MACH_CRED_COMMIT, &clp->cl_sp4_flags))
418 is_ds_only_client(struct nfs_client *clp)
424 is_ds_client(struct nfs_client *clp)
430 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags,
436 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp,
463 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
469 const struct cred *nfs4_get_clid_cred(struct nfs_client *clp);
470 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp);
471 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp);
472 int nfs4_discover_server_trunking(struct nfs_client *clp,
474 int nfs40_discover_server_trunking(struct nfs_client *clp,
477 int nfs41_discover_server_trunking(struct nfs_client *clp,
502 extern int nfs4_wait_clnt_recover(struct nfs_client *clp);
503 extern int nfs4_client_recover_expired_lease(struct nfs_client *clp);
505 extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp);
509 extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool);