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()
180 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked()
221 struct net *net, in nlmclnt_lookup_host() argument
233 .net = net, in nlmclnt_lookup_host()
239 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host()
249 if (host->net != net) in nlmclnt_lookup_host()
336 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local
345 .net = net, in nlmsvc_lookup_host()
347 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host()
356 nlm_gc_hosts(net); in nlmsvc_lookup_host()
360 if (host->net != net) in nlmsvc_lookup_host()
451 .net = host->net, in nlm_bind_host()
556 void nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) in nlm_host_rebooted() argument
561 nsm = nsm_reboot_lookup(net, info); in nlm_host_rebooted()
582 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts() argument
587 if (net) { in nlm_complain_hosts()
588 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts()
593 net->ns.inum); in nlm_complain_hosts()
595 net->ns.inum); in nlm_complain_hosts()
604 if (net && host->net != net) in nlm_complain_hosts()
608 host->h_inuse, host->h_expires, host->net->ns.inum); in nlm_complain_hosts()
613 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net() argument
622 net ? net->ns.inum : 0); in nlm_shutdown_hosts_net()
624 if (net && host->net != net) in nlm_shutdown_hosts_net()
635 nlm_gc_hosts(net); in nlm_shutdown_hosts_net()
636 nlm_complain_hosts(net); in nlm_shutdown_hosts_net()
657 nlm_gc_hosts(struct net *net) in nlm_gc_hosts() argument
664 net ? net->ns.inum : 0); in nlm_gc_hosts()
666 if (net && host->net != net) in nlm_gc_hosts()
672 nlmsvc_mark_resources(net); in nlm_gc_hosts()
675 if (net && host->net != net) in nlm_gc_hosts()
682 host->net->ns.inum); in nlm_gc_hosts()
689 if (net) { in nlm_gc_hosts()
690 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_gc_hosts()