Searched refs:mtype (Results 1 – 2 of 2) sorted by relevance
556 _recursive_increment(pthread_mutex_t* mutex, int mvalue, int mtype) in _recursive_increment() argument558 if (mtype == MUTEX_TYPE_BITS_ERRORCHECK) { in _recursive_increment()593 int mvalue, mtype, tid, shared; in pthread_mutex_lock_impl() local599 mtype = (mvalue & MUTEX_TYPE_MASK); in pthread_mutex_lock_impl()603 if ( __likely(mtype == MUTEX_TYPE_BITS_NORMAL) ) { in pthread_mutex_lock_impl()611 return _recursive_increment(mutex, mvalue, mtype); in pthread_mutex_lock_impl()614 mtype |= shared; in pthread_mutex_lock_impl()619 if (mvalue == mtype) { in pthread_mutex_lock_impl()620 int newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; in pthread_mutex_lock_impl()638 if (mvalue == mtype) { in pthread_mutex_lock_impl()[all …]
49 long mtype; member