Searched refs:m_lock (Results 1 – 3 of 3) sorted by relevance
42 spinlock_t m_lock; /* used for serializing mutex_exit */ member105 spin_lock_init(&(mp)->m_lock); \176 spin_lock(&(mp)->m_lock); \180 spin_unlock(&(mp)->m_lock); \
195 VERIFY0(pthread_mutex_init(&mp->m_lock, NULL)); in mutex_init()202 VERIFY0(pthread_mutex_destroy(&mp->m_lock)); in mutex_destroy()208 VERIFY0(pthread_mutex_lock(&mp->m_lock)); in mutex_enter()217 error = pthread_mutex_trylock(&mp->m_lock); in mutex_tryenter()231 VERIFY0(pthread_mutex_unlock(&mp->m_lock)); in mutex_exit()339 VERIFY0(pthread_cond_wait(cv, &mp->m_lock)); in cv_wait()372 error = pthread_cond_timedwait(cv, &mp->m_lock, &ts); in cv_timedwait()412 error = pthread_cond_timedwait(cv, &mp->m_lock, &ts); in cv_timedwait_hires()
263 pthread_mutex_t m_lock;