Lines Matching refs:clp
73 struct nfs_client *clp; member
107 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() argument
109 return clp->cl_session; in nfs4_get_session()
121 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp);
123 extern int nfs4_init_session(struct nfs_client *clp);
129 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument
131 if (clp->cl_session) in nfs4_has_session()
136 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() argument
138 if (nfs4_has_session(clp)) in nfs4_has_persistent_session()
139 return (clp->cl_session->flags & SESSION4_PERSIST); in nfs4_has_persistent_session()
161 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() argument
169 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument
174 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() argument