Searched refs:RW_WRITE_LOCKED (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/common/sys/ |
H A D | rwlock_impl.h | 52 #define RW_WRITE_LOCKED 4 macro 54 #define RW_WRITE_LOCK(thread) ((uintptr_t)(thread) | RW_WRITE_LOCKED) 60 #define RW_WRITE_CLAIMED (RW_WRITE_LOCKED | RW_WRITE_WANTED) 70 !((tmp) & RW_WRITE_LOCKED)) 74 (RW_OWNER | RW_WRITE_LOCKED)) == RW_WRITE_LOCK(curthread))
|
/titanic_50/usr/src/uts/common/os/ |
H A D | rwlock.c | 258 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_locked() 288 lock_busy = RW_WRITE_LOCKED; in rw_enter_sleep() 360 (old & RW_WRITE_LOCKED) ? 1 : 0, in rw_enter_sleep() 417 if (old & RW_WRITE_LOCKED) { in rw_exit_wakeup() 464 if (!(old & RW_WRITE_LOCKED)) { in rw_exit_wakeup() 479 if ((old & RW_WRITE_LOCKED) && in rw_exit_wakeup() 537 RW_WRITE_CLAIMED : RW_WRITE_LOCKED)) { in rw_tryenter() 639 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_read_locked() 656 return ((old & RW_WRITE_LOCKED) ? (kthread_t *)(old & RW_OWNER) : NULL); in rw_owner()
|
/titanic_50/usr/src/uts/intel/ia32/ml/ |
H A D | lock_prim.s | 922 testl $RW_WRITE_LOCKED|RW_WRITE_WANTED, %eax 937 orq $RW_WRITE_LOCKED, %rdx /* rdx = write-locked value */ 980 testl $RW_WRITE_LOCKED, %eax /* write-locked or write-wanted? */ 989 orq $RW_WRITE_LOCKED, %rax /* eax = write-locked value */ 1011 testl $RW_WRITE_LOCKED|RW_WRITE_WANTED, %eax 1024 orl $RW_WRITE_LOCKED, %edx /* edx = write-locked value */ 1067 testl $RW_WRITE_LOCKED, %eax /* write-locked or write-wanted? */ 1076 orl $RW_WRITE_LOCKED, %eax /* eax = write-locked value */
|
/titanic_50/usr/src/uts/sparc/v9/ml/ |
H A D | lock_prim.s | 504 or THREAD_REG, RW_WRITE_LOCKED, %o5 ! delay: %o5 = owner 561 andcc %o4, RW_WRITE_LOCKED, %g0 ! are we a writer? 563 or THREAD_REG, RW_WRITE_LOCKED, %o4 ! delay: %o4 = owner
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | sobj.c | 517 else if ((wwwh = lock.rw_wwwh) & RW_WRITE_LOCKED) in rwlock()
|