Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dksocket.c59 kmutex_t kso_lock; member
72 mutex_init(&sock->kso_lock, NULL, MUTEX_DEFAULT, NULL); in _ksocket_ctor()
83 mutex_destroy(&sock->kso_lock); in _ksocket_dtor()
445 mutex_enter(&ks->kso_lock); in ksocket_close()
448 mutex_exit(&ks->kso_lock); in ksocket_close()
464 cv_wait(&ks->kso_closing_cv, &ks->kso_lock); in ksocket_close()
466 mutex_exit(&ks->kso_lock); in ksocket_close()
553 if (!mutex_owned(&ks->kso_lock)) { in ksocket_hold()
554 mutex_enter(&ks->kso_lock); in ksocket_hold()
556 mutex_exit(&ks->kso_lock); in ksocket_hold()
[all …]