Searched refs:kso_lock (Results 1 – 1 of 1) sorted by relevance
58 kmutex_t kso_lock; member71 mutex_init(&sock->kso_lock, NULL, MUTEX_DEFAULT, NULL); in _ksocket_ctor()82 mutex_destroy(&sock->kso_lock); in _ksocket_dtor()423 mutex_enter(&ks->kso_lock); in ksocket_close()426 mutex_exit(&ks->kso_lock); in ksocket_close()442 cv_wait(&ks->kso_closing_cv, &ks->kso_lock); in ksocket_close()444 mutex_exit(&ks->kso_lock); in ksocket_close()531 if (!mutex_owned(&ks->kso_lock)) { in ksocket_hold()532 mutex_enter(&ks->kso_lock); in ksocket_hold()534 mutex_exit(&ks->kso_lock); in ksocket_hold()[all …]