Searched refs:RW_LOCK_WRITER_COUNT_BASE (Results 1 - 3 of 3) sorted by relevance

/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlock.cpp249 return RW_LOCK_WRITER_COUNT_BASE;
267 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
360 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
390 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
396 ASSERT(lock->count >= RW_LOCK_WRITER_COUNT_BASE);
503 lock->owner_count += RW_LOCK_WRITER_COUNT_BASE;
508 int32 oldCount = atomic_add(&lock->count, RW_LOCK_WRITER_COUNT_BASE);
513 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE;
519 if (oldCount < RW_LOCK_WRITER_COUNT_BASE)
525 lock->owner_count = RW_LOCK_WRITER_COUNT_BASE;
[all...]
/haiku/src/system/kernel/locks/
H A Dlock.cpp344 return RW_LOCK_WRITER_COUNT_BASE;
363 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
503 if (oldCount < RW_LOCK_WRITER_COUNT_BASE) {
527 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
536 ASSERT(lock->count >= RW_LOCK_WRITER_COUNT_BASE);
562 if (oldCount < RW_LOCK_WRITER_COUNT_BASE) {
586 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
595 ASSERT(lock->count >= RW_LOCK_WRITER_COUNT_BASE);
666 ASSERT(lock->owner_count % RW_LOCK_WRITER_COUNT_BASE > 0);
675 if (oldCount < RW_LOCK_WRITER_COUNT_BASE)
[all...]
/haiku/headers/private/kernel/
H A Dlock.h67 #define RW_LOCK_WRITER_COUNT_BASE 0x10000 macro
190 if (oldCount >= RW_LOCK_WRITER_COUNT_BASE)
205 if (oldCount >= RW_LOCK_WRITER_COUNT_BASE)
219 if (oldCount >= RW_LOCK_WRITER_COUNT_BASE)

Completed in 67 milliseconds