Lines Matching refs:clp
255 struct nfs_client *clp; member
301 extern int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred);
302 extern int nfs4_destroy_clientid(struct nfs_client *clp);
333 extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
348 extern int nfs4_detect_session_trunking(struct nfs_client *clp,
352 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument
354 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) == in is_ds_only_client()
359 is_ds_client(struct nfs_client *clp) in is_ds_client() argument
361 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS; in is_ds_client()
365 _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in _nfs4_state_protect() argument
381 if (test_bit(sp4_mode, &clp->cl_sp4_flags)) { in _nfs4_state_protect()
384 flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_state_protect()
387 *clntp = clp->cl_rpcclient; in _nfs4_state_protect()
401 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, in nfs4_state_protect() argument
404 _nfs4_state_protect(clp, sp4_mode, clntp, msg); in nfs4_state_protect()
413 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() argument
416 if (_nfs4_state_protect(clp, NFS_SP4_MACH_CRED_WRITE, clntp, msg) && in nfs4_state_protect_write()
417 !test_bit(NFS_SP4_MACH_CRED_COMMIT, &clp->cl_sp4_flags)) in nfs4_state_protect_write()
422 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument
428 is_ds_client(struct nfs_client *clp) in is_ds_client() argument
434 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, in nfs4_state_protect() argument
440 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, in nfs4_state_protect_write() argument
466 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
472 const struct cred *nfs4_get_clid_cred(struct nfs_client *clp);
473 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp);
474 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp);
475 int nfs4_discover_server_trunking(struct nfs_client *clp,
477 int nfs40_discover_server_trunking(struct nfs_client *clp,
480 int nfs41_discover_server_trunking(struct nfs_client *clp,
505 extern int nfs4_wait_clnt_recover(struct nfs_client *clp);
506 extern int nfs4_client_recover_expired_lease(struct nfs_client *clp);
508 extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp);
512 extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool);