Lines Matching defs:nlm_host
44 struct nlm_host { struct
45 struct hlist_node h_hash; /* doubly linked list */
46 struct sockaddr_storage h_addr; /* peer address */
47 size_t h_addrlen;
48 struct sockaddr_storage h_srcaddr; /* our address (optional) */
49 size_t h_srcaddrlen;
50 struct rpc_clnt *h_rpcclnt; /* RPC client to talk to peer */
51 char *h_name; /* remote hostname */
52 u32 h_version; /* interface version */
53 unsigned short h_proto; /* transport proto */
54 unsigned short h_reclaiming : 1,
55 h_server : 1, /* server side, not client side */
56 h_noresvport : 1,
57 h_inuse : 1;
58 wait_queue_head_t h_gracewait; /* wait while reclaiming */
59 struct rw_semaphore h_rwsem; /* Reboot recovery lock */
60 u32 h_state; /* pseudo-state counter */
61 u32 h_nsmstate; /* true remote NSM state */
62 u32 h_pidcount; /* Pseudopids */
63 refcount_t h_count; /* reference count */
64 struct mutex h_mutex; /* mutex for pmap binding */
65 unsigned long h_nextrebind; /* next portmap call */
66 unsigned long h_expires; /* eligible for GC */
67 struct list_head h_lockowners; /* Lockowners for the client */
68 spinlock_t h_lock;
69 struct list_head h_granted; /* Locks in GRANTED state */
70 struct list_head h_reclaim; /* Locks in RECLAIM state */
71 struct nsm_handle *h_nsmhandle; /* NSM status handle */
72 char *h_addrbuf; /* address eyecatcher */
73 struct net *net; /* host net */
74 const struct cred *h_cred;
75 char nodename[UNX_MAXNODENAME + 1];
76 const struct nlmclnt_operations *h_nlmclnt_ops; /* Callback ops for NLM users */