Searched refs:RW_READ_INCR (Results 1 – 14 of 14) sorted by relevance
| /netbsd/src/sys/arch/powerpc/powerpc/ |
| D | lock_stubs.S | 109 #if RW_READ_INCR != 32 110 #error RW_READ_INCR != 32, clrrXi need fixing 124 addi %r7,%r9,RW_READ_INCR 150 addi %r7,%r9,RW_READ_INCR 182 addi %r7,%r9,-RW_READ_INCR
|
| D | genassym.cf | 228 define RW_READ_INCR RW_READ_INCR
|
| /netbsd/src/sys/kern/ |
| D | kern_rwlock.c | 317 incr = RW_READ_INCR; in rw_vector_enter() 462 decr = RW_READ_INCR; in rw_vector_exit() 505 if (rcnt == 0 || decr == RW_READ_INCR) { in rw_vector_exit() 561 incr = RW_READ_INCR; in rw_vector_tryenter() 618 next = rw_cas(rw, owner, newown + RW_READ_INCR); in rw_downgrade() 651 newown |= RW_READ_INCR | RW_HAS_WAITERS | in rw_downgrade() 665 newown += (rcnt << RW_READ_COUNT_SHIFT) + RW_READ_INCR; in rw_downgrade() 702 for (owner = RW_READ_INCR;; owner = next) { in rw_tryupgrade() 710 if (__predict_false((next & RW_THREAD) != RW_READ_INCR)) { in rw_tryupgrade()
|
| /netbsd/src/sys/arch/amd64/amd64/ |
| D | lock_stubs.S | 190 leaq RW_READ_INCR(%rax), %rdx 227 cmpq $RW_READ_INCR, %rax 229 leaq -RW_READ_INCR(%rax), %rdx 267 leaq RW_READ_INCR(%rax), %rdx
|
| D | genassym.cf | 359 define RW_READ_INCR RW_READ_INCR
|
| /netbsd/src/sys/sys/ |
| D | rwlock.h | 78 #define RW_READ_INCR (1UL << RW_READ_COUNT_SHIFT) macro 79 #define RW_THREAD ((uintptr_t)-RW_READ_INCR)
|
| /netbsd/src/sys/arch/i386/i386/ |
| D | lock_stubs.S | 117 leal RW_READ_INCR(%eax), %ecx 155 cmpl $RW_READ_INCR, %eax 157 leal -RW_READ_INCR(%eax), %ecx 199 leal RW_READ_INCR(%eax), %ecx
|
| D | genassym.cf | 359 define RW_READ_INCR RW_READ_INCR
|
| /netbsd/src/sys/arch/alpha/alpha/ |
| D | lock_stubs.s | 231 addq t0, RW_READ_INCR, t2 268 addq t0, RW_READ_INCR, v0 336 subq t0, RW_READ_INCR, t2
|
| D | genassym.cf | 209 define RW_READ_INCR RW_READ_INCR
|
| /netbsd/src/lib/libpthread/ |
| D | pthread_rwlock.c | 174 next = rw_cas(ptr, owner, owner + RW_READ_INCR); in pthread__rwlock_rdlock() 265 next = rw_cas(ptr, owner, owner + RW_READ_INCR); in pthread_rwlock_tryrdlock() 473 decr = RW_READ_INCR; in pthread_rwlock_unlock() 547 new += RW_READ_INCR; in pthread_rwlock_unlock()
|
| D | pthread_int.h | 332 #define RW_READ_INCR (1 << RW_READ_COUNT_SHIFT) macro 333 #define RW_THREAD ((uintptr_t)-RW_READ_INCR)
|
| /netbsd/src/sys/arch/vax/vax/ |
| D | lock_stubs.S | 199 subl3 $RW_READ_INCR, %r2, %r3 /* decr. reader count (new) */ 233 addl3 $RW_READ_INCR, %r2, %r3 /* incr reader count (new) */
|
| D | genassym.cf | 177 define RW_READ_INCR RW_READ_INCR
|