Searched refs:nsm (Results 1 – 2 of 2) sorted by relevance
/fs/lockd/ |
D | mon.c | 63 static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) in nsm_addr() argument 65 return (struct sockaddr *)&nsm->sm_addr; in nsm_addr() 91 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon() argument 97 .priv = &nsm->sm_priv, in nsm_mon_unmon() 101 .mon_name = nsm->sm_mon_name, in nsm_mon_unmon() 150 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor() local 154 dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); in nsm_monitor() 156 if (nsm->sm_monitored) in nsm_monitor() 163 nsm->sm_mon_name = nsm_use_hostnames ? nsm->sm_name : nsm->sm_addrbuf; in nsm_monitor() 165 status = nsm_mon_unmon(nsm, NSMPROC_MON, &res, host); in nsm_monitor() [all …]
|
D | host.c | 112 struct nsm_handle *nsm) in nlm_alloc_host() argument 117 if (nsm != NULL) in nlm_alloc_host() 118 refcount_inc(&nsm->sm_count); in nlm_alloc_host() 121 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host() 123 if (unlikely(nsm == NULL)) { in nlm_alloc_host() 133 nsm_release(nsm); in nlm_alloc_host() 143 host->h_name = nsm->sm_name; in nlm_alloc_host() 163 host->h_nsmhandle = nsm; in nlm_alloc_host() 164 host->h_addrbuf = nsm->sm_addrbuf; in nlm_alloc_host() 239 struct nsm_handle *nsm = NULL; in nlmclnt_lookup_host() local [all …]
|