nlm_host
nlmclnt_recovery(struct nlm_host *host)
struct nlm_host *host = (struct nlm_host *) ptr;
struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init)
struct nlm_host *host;
void nlmclnt_done(struct nlm_host *host)
void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct file_lock *fl)
struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host)
static struct nlm_lockowner *nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner)
int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data)
struct nlm_rqst *nlm_alloc_call(struct nlm_host *host)
struct nlm_host *host = req->a_host;
static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host);
struct nlm_host *host = req->a_host;
static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *);
static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host)
struct nlm_host *host = req->a_host;
nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl,
struct nlm_host *host = req->a_host;
static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid)
static int nlmclnt_cancel(struct nlm_host *host, int block, struct file_lock *fl)
static inline uint32_t __nlm_alloc_pid(struct nlm_host *host)
static struct nlm_lockowner *__nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner)
static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni,
struct nlm_host *host = NULL;
static void nlm_destroy_host_locked(struct nlm_host *host)
struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
struct nlm_host *host;
void nlmclnt_release_host(struct nlm_host *host)
void nlmclnt_shutdown_rpc_clnt(struct nlm_host *host)
struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
struct nlm_host *host = NULL;
void nlmsvc_release_host(struct nlm_host *host)
nlm_bind_host(struct nlm_host *host)
nlm_rebind_host(struct nlm_host *host)
struct nlm_host * nlm_get_host(struct nlm_host *host)
static struct nlm_host *next_host_state(struct hlist_head *cache,
struct nlm_host *host;
struct nlm_host *host;
struct nlm_host *host;
struct nlm_host *host;
struct nlm_host *host;
static inline struct sockaddr *nlm_addr(const struct nlm_host *host)
static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host)
struct nlm_host *host;
struct nlm_host *b_host;
struct nlm_host * a_host; /* host handle */
struct nlm_host * b_host; /* host handle for RPC clnt */
struct nlm_rqst * nlm_alloc_call(struct nlm_host *host);
void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host,
void nlmclnt_recovery(struct nlm_host *);
int nlmclnt_reclaim(struct nlm_host *, struct file_lock *,
struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
void nlmclnt_release_host(struct nlm_host *);
struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
void nlmsvc_release_host(struct nlm_host *);
struct rpc_clnt * nlm_bind_host(struct nlm_host *);
void nlm_rebind_host(struct nlm_host *);
struct nlm_host * nlm_get_host(struct nlm_host *);
int nsm_monitor(const struct nlm_host *host);
void nsm_unmonitor(const struct nlm_host *host);
typedef int (*nlm_host_match_fn_t)(void *cur, struct nlm_host *ref);
struct nlm_host *, struct lockd_lock *, int,
struct nlm_host *host, struct lockd_lock *lock,
void nlmsvc_traverse_blocks(struct nlm_host *, struct nlm_file *,
void nlmsvc_locks_init_private(struct file_lock *, struct nlm_host *, pid_t);
void nlmsvc_free_host_resources(struct nlm_host *);
int nsm_monitor(const struct nlm_host *host)
void nsm_unmonitor(const struct nlm_host *host)
const struct nlm_host *host)
struct nlm_host * s_host; /* client host */
__be32 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file,
__be32 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
struct nlm_host *host = NULL;
struct nlm_host *host;
static struct nlm_host *
struct nlm_host *host;
nlm4svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host,
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host = NULL;
struct nlm_host *host = NULL;
nlm4svc_callback(struct svc_rqst *rqstp, struct nlm_host *host, u32 proc,
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host;
struct nlm_host *host = NULL;
nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host,
void nlmsvc_traverse_blocks(struct nlm_host *host,
static struct nlm_lockowner *__nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid)
static struct nlm_lockowner *nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid)
void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host,
struct nlm_host *host, struct lockd_lock *lock, int wait,
struct nlm_host *host, struct lockd_lock *lock,
struct nlm_host *host = NULL;
struct nlm_host *host = NULL;
struct nlm_host *host;
static struct nlm_host *
struct nlm_host *host;
nlm3svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host,
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host = NULL;
struct nlm_host *host = NULL;
nlmsvc_callback(struct svc_rqst *rqstp, struct nlm_host *host, u32 proc,
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *host;
struct nlm_host *host;
void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file,
nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file,
nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file,
struct nlm_host *lockhost;
nlmsvc_always_match(void *dummy1, struct nlm_host *dummy2)
nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match)
nlmsvc_mark_host(void *data, struct nlm_host *hint)
struct nlm_host *host = data;
nlmsvc_same_host(void *data, struct nlm_host *other)
struct nlm_host *host = data;
nlmsvc_is_client(void *data, struct nlm_host *dummy)
struct nlm_host *host = data;
struct nlm_host hint;
nlmsvc_free_host_resources(struct nlm_host *host)
nlmsvc_match_ip(void *datap, struct nlm_host *host)
if (server->nlm_host)
nlmclnt_done(server->nlm_host);
struct nlm_host *host;
server->nlm_host = host;
status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx);
return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, NULL);
if (server->nlm_host)
nlmclnt_shutdown_rpc_clnt(server->nlm_host);
extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
extern void nlmclnt_done(struct nlm_host *host);
extern struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host);
extern void nlmclnt_shutdown_rpc_clnt(struct nlm_host *host);
extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
struct nlm_host *nlm_host; /* NLM client handle */
struct nlm_host;