Lines Matching refs:nsm_handle
63 static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) in nsm_addr()
91 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon()
150 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor()
191 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_unmonitor()
210 static struct nsm_handle *nsm_lookup_hostname(const struct list_head *nsm_handles, in nsm_lookup_hostname()
213 struct nsm_handle *nsm; in nsm_lookup_hostname()
222 static struct nsm_handle *nsm_lookup_addr(const struct list_head *nsm_handles, in nsm_lookup_addr()
225 struct nsm_handle *nsm; in nsm_lookup_addr()
233 static struct nsm_handle *nsm_lookup_priv(const struct list_head *nsm_handles, in nsm_lookup_priv()
236 struct nsm_handle *nsm; in nsm_lookup_priv()
262 static void nsm_init_private(struct nsm_handle *nsm) in nsm_init_private()
272 static struct nsm_handle *nsm_create_handle(const struct sockaddr *sap, in nsm_create_handle()
277 struct nsm_handle *new; in nsm_create_handle()
314 struct nsm_handle *nsm_get_handle(const struct net *net, in nsm_get_handle()
319 struct nsm_handle *cached, *new = NULL; in nsm_get_handle()
376 struct nsm_handle *nsm_reboot_lookup(const struct net *net, in nsm_reboot_lookup()
379 struct nsm_handle *cached; in nsm_reboot_lookup()
406 void nsm_release(struct nsm_handle *nsm) in nsm_release()