Searched refs:MUTEX_HAS_WAITERS (Results 1 – 6 of 6) sorted by relevance
104 if ((MUTEX_OWNER(lp) == NULL) && !MUTEX_HAS_WAITERS(lp)) in common_mutex()108 MUTEX_HAS_WAITERS(lp) ? " has waiters" : ""); in common_mutex()111 MUTEX_HAS_WAITERS(lp) ? " has waiters" : ""); in common_mutex()
446 if (MUTEX_OWNER(vlp) == owner && MUTEX_HAS_WAITERS(vlp)) { in mutex_vector_enter()623 if (lp->m_owner == 0 && !MUTEX_HAS_WAITERS(lp)) { in mutex_destroy()632 if (MUTEX_HAS_WAITERS(lp)) { in mutex_destroy()
94 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_waiters != 0) macro
89 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_owner & MUTEX_WAITERS) macro
92 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_owner & MUTEX_WAITERS) macro
621 char *waiters = MUTEX_HAS_WAITERS(&lock) ? "yes" : "no"; in mutex()624 (owner == NULL && MUTEX_HAS_WAITERS(&lock)))) { in mutex()