Lines Matching refs:net

51 static void			nlm_gc_hosts(struct net *net);
62 struct net *net; /* network namespace to bind */ member
120 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host()
164 host->net = ni->net; in nlm_alloc_host()
179 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked()
217 struct net *net) in nlmclnt_lookup_host() argument
228 .net = net, in nlmclnt_lookup_host()
233 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host()
243 if (host->net != net) in nlmclnt_lookup_host()
330 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local
339 .net = net, in nlmsvc_lookup_host()
341 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host()
350 nlm_gc_hosts(net); in nlmsvc_lookup_host()
354 if (host->net != net) in nlmsvc_lookup_host()
445 .net = host->net, in nlm_bind_host()
548 void nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) in nlm_host_rebooted() argument
553 nsm = nsm_reboot_lookup(net, info); in nlm_host_rebooted()
574 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts() argument
579 if (net) { in nlm_complain_hosts()
580 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts()
585 net->ns.inum); in nlm_complain_hosts()
587 net->ns.inum); in nlm_complain_hosts()
596 if (net && host->net != net) in nlm_complain_hosts()
600 host->h_inuse, host->h_expires, host->net->ns.inum); in nlm_complain_hosts()
605 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net() argument
614 net ? net->ns.inum : 0); in nlm_shutdown_hosts_net()
616 if (net && host->net != net) in nlm_shutdown_hosts_net()
626 nlm_gc_hosts(net); in nlm_shutdown_hosts_net()
627 nlm_complain_hosts(net); in nlm_shutdown_hosts_net()
648 nlm_gc_hosts(struct net *net) in nlm_gc_hosts() argument
655 net ? net->ns.inum : 0); in nlm_gc_hosts()
657 if (net && host->net != net) in nlm_gc_hosts()
663 nlmsvc_mark_resources(net); in nlm_gc_hosts()
666 if (net && host->net != net) in nlm_gc_hosts()
673 host->net->ns.inum); in nlm_gc_hosts()
680 if (net) { in nlm_gc_hosts()
681 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_gc_hosts()