Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dnetstack.c66 static struct netstack_registry ns_reg[NS_MAX]; variable
169 ASSERT(ns_reg[moduleid].nr_create == NULL); in netstack_register()
170 ASSERT(ns_reg[moduleid].nr_flags == 0); in netstack_register()
171 ns_reg[moduleid].nr_create = module_create; in netstack_register()
172 ns_reg[moduleid].nr_shutdown = module_shutdown; in netstack_register()
173 ns_reg[moduleid].nr_destroy = module_destroy; in netstack_register()
174 ns_reg[moduleid].nr_flags = NRF_REGISTERED; in netstack_register()
212 ASSERT(ns_reg[moduleid].nr_create != NULL); in netstack_unregister()
213 ASSERT(ns_reg[moduleid].nr_flags & NRF_REGISTERED); in netstack_unregister()
254 if (ns_reg[moduleid].nr_shutdown != NULL && created && in netstack_unregister()
[all …]