Home
last modified time | relevance | path

Searched refs:ns_reg (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dnetstack.c67 static struct netstack_registry ns_reg[NS_MAX]; variable
182 ASSERT(ns_reg[moduleid].nr_create == NULL); in netstack_register()
183 ASSERT(ns_reg[moduleid].nr_flags == 0); in netstack_register()
184 ns_reg[moduleid].nr_create = module_create; in netstack_register()
185 ns_reg[moduleid].nr_shutdown = module_shutdown; in netstack_register()
186 ns_reg[moduleid].nr_destroy = module_destroy; in netstack_register()
187 ns_reg[moduleid].nr_flags = NRF_REGISTERED; in netstack_register()
225 ASSERT(ns_reg[moduleid].nr_create != NULL); in netstack_unregister()
226 ASSERT(ns_reg[moduleid].nr_flags & NRF_REGISTERED); in netstack_unregister()
267 if (ns_reg[moduleid].nr_shutdown != NULL && created && in netstack_unregister()
[all …]