MUTEX_OWNER
MUTEX_OWNER(ptm->ptm_owner) == 0);
thread = (pthread_t)MUTEX_OWNER(owner);
if (MUTEX_OWNER(owner) == (uintptr_t)self) {
if (MUTEX_OWNER(owner) == 0) {
} else if (MUTEX_OWNER(owner) != (uintptr_t)self) {
if (MUTEX_OWNER(owner) == 0) {
if (MUTEX_OWNER(ptm->ptm_owner) == 0) {
if (MUTEX_OWNER(val) == 0) {
if (MUTEX_OWNER(val) == (uintptr_t)self) {
bool weown = (MUTEX_OWNER(val) == (uintptr_t)self);
if (MUTEX_OWNER(newval) == 0 && ptm->ptm_waiters != NULL) {
MUTEX_OWNER(ptm->ptm_owner) != (uintptr_t)self)) {
return MUTEX_OWNER(ptm->ptm_owner) == (uintptr_t)pthread__self();
return (pthread_t)MUTEX_OWNER(ptm->ptm_owner);
(long)MUTEX_OWNER(owner), MUTEX_HAS_WAITERS(mtx),
l = (lwp_t *)MUTEX_OWNER(owner);
if (__predict_false(MUTEX_OWNER(owner) == curthread)) {
MUTEX_DASSERT(mtx, MUTEX_OWNER(mtx->mtx_owner) == curthread);
MUTEX_ASSERT(mtx, MUTEX_OWNER(mtx->mtx_owner) == curthread);
return MUTEX_OWNER(mtx->mtx_owner) == (uintptr_t)curlwp;
return (struct lwp *)MUTEX_OWNER(mtx->mtx_owner);
MUTEX_OWNER(mtx->mtx_owner) == curthread);