Searched refs:owner_count (Results 1 – 9 of 9) sorted by relevance
96 lock->owner_count = 0; in __rw_lock_init_etc()127 lock->owner_count++; in __rw_lock_read_lock()141 if (--lock->owner_count > 0) in __rw_lock_read_unlock()171 lock->owner_count = 1; in __rw_lock_write_lock()176 lock->owner_count++; in __rw_lock_write_lock()191 lock->owner_count = 1; in __rw_lock_write_lock()206 if (--lock->owner_count > 0) in __rw_lock_write_unlock()
39 mutex->owner_count = 0; in pthread_mutex_init()61 if (mutex->owner_count == INT32_MAX) in __pthread_mutex_lock()64 mutex->owner_count++; in __pthread_mutex_lock()98 mutex->owner_count = 1; in __pthread_mutex_lock()162 && --mutex->owner_count > 0) { in pthread_mutex_unlock()
82 mutex->owner_count = 0; in cond_wait()
295 lock->owner_count = 0; in rw_lock_init()309 lock->owner_count = 0; in rw_lock_init_etc()363 lock->owner_count++; in _rw_lock_read_lock()393 lock->owner_count++; in _rw_lock_read_lock_with_timeout()489 lock->owner_count--; in _rw_lock_read_unlock_threads_locked()517 lock->owner_count += RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()527 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()539 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()563 lock->owner_count -= RW_LOCK_WRITER_COUNT_BASE; in _rw_lock_write_unlock_threads_locked()564 if (lock->owner_count >= RW_LOCK_WRITER_COUNT_BASE) in _rw_lock_write_unlock_threads_locked()[all …]
386 lock->owner_count = 0; in rw_lock_init()404 lock->owner_count = 0; in rw_lock_init_etc()525 lock->owner_count++; in _rw_lock_read_lock()586 lock->owner_count++; in _rw_lock_read_lock_with_timeout()687 ASSERT((lock->owner_count % RW_LOCK_WRITER_COUNT_BASE) > 0); in _rw_lock_read_unlock()688 lock->owner_count--; in _rw_lock_read_unlock()725 lock->owner_count += RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()737 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()749 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE; in rw_lock_write_lock()767 ASSERT(lock->owner_count >= RW_LOCK_WRITER_COUNT_BASE); in _rw_lock_write_unlock()[all …]
80 __haiku_std_int32 owner_count; member
44 int32 owner_count; member
55 int32 owner_count; member
740 if (ok && fLocker.owner_count > 1) in ReadLock()757 if (ok && fLocker.owner_count > 1) in WriteLock()