Searched refs:nsm (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/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() 90 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon() argument 96 .priv = &nsm->sm_priv, in nsm_mon_unmon() 100 .mon_name = nsm->sm_mon_name, in nsm_mon_unmon() 149 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor() local 153 dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); in nsm_monitor() 155 if (nsm->sm_monitored) in nsm_monitor() 162 nsm->sm_mon_name = nsm_use_hostnames ? nsm->sm_name : nsm->sm_addrbuf; in nsm_monitor() 164 status = nsm_mon_unmon(nsm, NSMPROC_MON, &res, host); in nsm_monitor() [all …]
|
D | host.c | 111 struct nsm_handle *nsm) in nlm_alloc_host() argument 116 if (nsm != NULL) in nlm_alloc_host() 117 refcount_inc(&nsm->sm_count); in nlm_alloc_host() 120 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host() 122 if (unlikely(nsm == NULL)) { in nlm_alloc_host() 132 nsm_release(nsm); in nlm_alloc_host() 142 host->h_name = nsm->sm_name; in nlm_alloc_host() 162 host->h_nsmhandle = nsm; in nlm_alloc_host() 163 host->h_addrbuf = nsm->sm_addrbuf; in nlm_alloc_host() 232 struct nsm_handle *nsm = NULL; in nlmclnt_lookup_host() local [all …]
|
/linux-4.19.296/include/linux/lockd/ |
D | lockd.h | 259 void nsm_release(struct nsm_handle *nsm);
|