Lines Matching refs:nini_flags

172 			n->nini_flags |= NSS_SHUTDOWN_COMPLETED;  in neti_stack_shutdown()
182 if ((n->nini_flags & (NSS_DESTROY_ALL|NSS_SHUTDOWN_ALL)) == 0) in neti_stack_shutdown()
183 n->nini_flags |= NSS_SHUTDOWN_NEEDED; in neti_stack_shutdown()
232 ASSERT((n->nini_flags & NSS_SHUTDOWN_ALL) != 0); in neti_stack_fini()
233 if ((n->nini_flags & NSS_DESTROY_ALL) == 0) in neti_stack_fini()
234 n->nini_flags |= NSS_DESTROY_NEEDED; in neti_stack_fini()
275 nini->nini_flags |= NSS_CREATE_NEEDED; in net_instance_int_create()
457 if ((tmp->nini_flags & NSS_SHUTDOWN_ALL) == 0) in net_instance_unregister()
458 tmp->nini_flags |= NSS_SHUTDOWN_NEEDED; in net_instance_unregister()
459 if ((tmp->nini_flags & NSS_DESTROY_ALL) == 0) in net_instance_unregister()
460 tmp->nini_flags |= NSS_DESTROY_NEEDED; in net_instance_unregister()
483 (tmp->nini_flags & NSS_SHUTDOWN_COMPLETED) && in net_instance_unregister()
484 (tmp->nini_flags & NSS_DESTROY_COMPLETED)) { in net_instance_unregister()
575 if ((tmp->nini_flags & NSS_CREATE_NEEDED) && !tmp->nini_condemned) { in neti_stack_apply_create()
577 tmp->nini_flags &= ~NSS_CREATE_NEEDED; in neti_stack_apply_create()
578 tmp->nini_flags |= NSS_CREATE_INPROGRESS; in neti_stack_apply_create()
598 tmp->nini_flags &= ~NSS_CREATE_INPROGRESS; in neti_stack_apply_create()
599 tmp->nini_flags |= NSS_CREATE_COMPLETED; in neti_stack_apply_create()
635 ASSERT((tmp->nini_flags & NSS_SHUTDOWN_ALL) != 0); in neti_stack_apply_shutdown()
647 if (tmp->nini_flags & NSS_SHUTDOWN_NEEDED) { in neti_stack_apply_shutdown()
648 tmp->nini_flags &= ~NSS_SHUTDOWN_NEEDED; in neti_stack_apply_shutdown()
649 tmp->nini_flags |= NSS_SHUTDOWN_COMPLETED; in neti_stack_apply_shutdown()
662 if ((tmp->nini_flags & NSS_SHUTDOWN_NEEDED) && !tmp->nini_condemned) { in neti_stack_apply_shutdown()
663 ASSERT((tmp->nini_flags & NSS_CREATE_COMPLETED) != 0); in neti_stack_apply_shutdown()
664 tmp->nini_flags &= ~NSS_SHUTDOWN_NEEDED; in neti_stack_apply_shutdown()
665 tmp->nini_flags |= NSS_SHUTDOWN_INPROGRESS; in neti_stack_apply_shutdown()
682 tmp->nini_flags &= ~NSS_SHUTDOWN_INPROGRESS; in neti_stack_apply_shutdown()
683 tmp->nini_flags |= NSS_SHUTDOWN_COMPLETED; in neti_stack_apply_shutdown()
688 ASSERT((tmp->nini_flags & NSS_SHUTDOWN_COMPLETED) != 0); in neti_stack_apply_shutdown()
730 if ((tmp->nini_flags & NSS_DESTROY_NEEDED) && !tmp->nini_condemned) { in neti_stack_apply_destroy()
731 ASSERT((tmp->nini_flags & NSS_SHUTDOWN_COMPLETED) != 0); in neti_stack_apply_destroy()
733 tmp->nini_flags &= ~NSS_DESTROY_NEEDED; in neti_stack_apply_destroy()
734 tmp->nini_flags |= NSS_DESTROY_INPROGRESS; in neti_stack_apply_destroy()
751 tmp->nini_flags &= ~NSS_DESTROY_INPROGRESS; in neti_stack_apply_destroy()
752 tmp->nini_flags |= NSS_DESTROY_COMPLETED; in neti_stack_apply_destroy()
775 while (nini->nini_flags & (NSS_ALL_INPROGRESS|cmask)) { in wait_for_nini_inprogress()