Lines Matching refs:nlm_host
41 struct nlm_host { struct
97 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in()
102 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
107 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in()
112 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
124 struct nlm_host *host;
138 struct nlm_host * a_host; /* host handle */
175 struct nlm_host * b_host; /* host handle for RPC clnt */
204 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host);
208 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
213 void nlmclnt_recovery(struct nlm_host *);
214 int nlmclnt_reclaim(struct nlm_host *, struct file_lock *,
221 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
228 void nlmclnt_release_host(struct nlm_host *);
229 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
232 void nlmsvc_release_host(struct nlm_host *);
233 struct rpc_clnt * nlm_bind_host(struct nlm_host *);
234 void nlm_rebind_host(struct nlm_host *);
235 struct nlm_host * nlm_get_host(struct nlm_host *);
243 int nsm_monitor(const struct nlm_host *host);
244 void nsm_unmonitor(const struct nlm_host *host);
257 typedef int (*nlm_host_match_fn_t)(void *cur, struct nlm_host *ref);
263 struct nlm_host *, struct nlm_lock *, int,
267 struct nlm_host *, struct nlm_lock *,
271 void nlmsvc_traverse_blocks(struct nlm_host *, struct nlm_file *,
283 void nlmsvc_free_host_resources(struct nlm_host *);