Searched refs:privinfo_lock (Results 1 – 1 of 1) sorted by relevance
70 krwlock_t privinfo_lock; variable90 rw_init(&privinfo_lock, NULL, RW_DRIVER, NULL); in priv_init()289 rw_enter(&privinfo_lock, RW_READER); in priv_hold_implinfo()296 rw_exit(&privinfo_lock); in priv_release_implinfo()355 rw_enter(&privinfo_lock, RW_READER); in priv_getbyname()359 rw_exit(&privinfo_lock); in priv_getbyname()366 rw_exit(&privinfo_lock); in priv_getbyname()374 rw_exit(&privinfo_lock); in priv_getbyname()385 rw_exit(&privinfo_lock); in priv_getbyname()390 if (!rw_tryupgrade(&privinfo_lock)) { in priv_getbyname()[all …]