Lines Matching refs:nsm_handle
63 static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) in nsm_addr()
90 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon()
149 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor()
190 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_unmonitor()
209 static struct nsm_handle *nsm_lookup_hostname(const struct list_head *nsm_handles, in nsm_lookup_hostname()
212 struct nsm_handle *nsm; in nsm_lookup_hostname()
221 static struct nsm_handle *nsm_lookup_addr(const struct list_head *nsm_handles, in nsm_lookup_addr()
224 struct nsm_handle *nsm; in nsm_lookup_addr()
232 static struct nsm_handle *nsm_lookup_priv(const struct list_head *nsm_handles, in nsm_lookup_priv()
235 struct nsm_handle *nsm; in nsm_lookup_priv()
261 static void nsm_init_private(struct nsm_handle *nsm) in nsm_init_private()
271 static struct nsm_handle *nsm_create_handle(const struct sockaddr *sap, in nsm_create_handle()
276 struct nsm_handle *new; in nsm_create_handle()
316 struct nsm_handle *nsm_get_handle(const struct net *net, in nsm_get_handle()
321 struct nsm_handle *cached, *new = NULL; in nsm_get_handle()
378 struct nsm_handle *nsm_reboot_lookup(const struct net *net, in nsm_reboot_lookup()
381 struct nsm_handle *cached; in nsm_reboot_lookup()
408 void nsm_release(struct nsm_handle *nsm) in nsm_release()