Searched refs:mod_unload_lock (Results 1 – 1 of 1) sorted by relevance
91 static rwlock_t mod_unload_lock; /* sync module unloading */ variable441 (void) rwlock_init(&mod_unload_lock, USYNC_THREAD, NULL); in main()1020 if (rw_tryrdlock(&mod_unload_lock) != 0) { in dispatch()1039 (void) rw_unlock(&mod_unload_lock); in dispatch()1052 (void) rw_unlock(&mod_unload_lock); in dispatch()1084 (void) rw_unlock(&mod_unload_lock); in dispatch()1162 (void) rw_unlock(&mod_unload_lock); in dispatch()1530 (void) rw_wrlock(&mod_unload_lock); in syseventd_fini()1532 (void) rw_unlock(&mod_unload_lock); in syseventd_fini()