Searched refs:efd_lock (Results 1 – 1 of 1) sorted by relevance
36 kmutex_t efd_lock; /* lock protecting state */ member100 mutex_enter(&state->efd_lock); in eventfd_read()104 mutex_exit(&state->efd_lock); in eventfd_read()108 if (!cv_wait_sig_swap(&state->efd_cv, &state->efd_lock)) { in eventfd_read()109 mutex_exit(&state->efd_lock); in eventfd_read()137 mutex_exit(&state->efd_lock); in eventfd_read()170 mutex_enter(&state->efd_lock); in eventfd_write()174 mutex_exit(&state->efd_lock); in eventfd_write()179 if (!cv_wait_sig_swap(&state->efd_cv, &state->efd_lock)) { in eventfd_write()181 mutex_exit(&state->efd_lock); in eventfd_write()[all …]