Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_event.c84 (void) pthread_mutex_init(&ep->ev_lock, NULL); in fmd_event_recreate()
134 (void) pthread_mutex_init(&ep->ev_lock, NULL); in fmd_event_create()
179 ASSERT(MUTEX_HELD(&ep->ev_lock)); in fmd_event_destroy()
233 (void) pthread_mutex_lock(&ep->ev_lock); in fmd_event_hold()
236 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_event_hold()
250 (void) pthread_mutex_lock(&ep->ev_lock); in fmd_event_rele()
256 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_event_rele()
282 (void) pthread_mutex_lock(&ep->ev_lock); in fmd_event_transition()
288 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_event_transition()
296 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_event_transition()
[all …]
H A Dfmd_event.h43 pthread_mutex_t ev_lock; /* lock protecting structure contents */ member
H A Dfmd_log.c521 (void) pthread_mutex_lock(&ep->ev_lock); in fmd_log_append()
540 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_log_append()
663 (void) pthread_mutex_unlock(&ep->ev_lock); in fmd_log_append()
732 ASSERT(MUTEX_HELD(&ep->ev_lock)); in fmd_log_commit()
778 ASSERT(MUTEX_HELD(&ep->ev_lock)); in fmd_log_decommit()
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent_impl.h126 mutex_t ev_lock; /* lock to protect this structure */ member
134 #define EV_LOCK(evcp) (&(EVCHAN_IMPL_HNDL(evcp)->ev_lock))
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.h469 kmutex_t ev_lock; member
H A Daac.c832 mutex_init(&softs->ev_lock, NULL, MUTEX_DRIVER, in aac_attach()
952 mutex_destroy(&softs->ev_lock); in aac_attach()
1017 mutex_enter(&softs->ev_lock); in aac_detach()
1019 cv_wait(&softs->event_wait_cv, &softs->ev_lock); in aac_detach()
1020 mutex_exit(&softs->ev_lock); in aac_detach()
1029 mutex_destroy(&softs->ev_lock); in aac_detach()
6718 mutex_enter(&softs->ev_lock); in aac_event_thread()
6723 cv_wait(&softs->event_disp_cv, &softs->ev_lock); in aac_event_thread()
6727 mutex_exit(&softs->ev_lock); in aac_event_thread()
6743 mutex_enter(&softs->ev_lock); in aac_event_thread()
[all …]