Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h42 spinlock_t m_lock; /* used for serializing mutex_exit */ member
105 spin_lock_init(&(mp)->m_lock); \
176 spin_lock(&(mp)->m_lock); \
180 spin_unlock(&(mp)->m_lock); \
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c195 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()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h263 pthread_mutex_t m_lock;