Searched refs:RW_OWNER (Results 1 – 3 of 3) sorted by relevance
58 #define RW_OWNER RW_HOLD_COUNT macro74 (RW_OWNER | RW_WRITE_LOCKED)) == RW_WRITE_LOCK(curthread))
261 return ((old & RW_OWNER) == (uintptr_t)curthread); in rw_locked()323 if ((old & RW_OWNER) == (uintptr_t)curthread) { in rw_enter_sleep()424 if ((old & RW_OWNER) != (uintptr_t)curthread) { in rw_exit_wakeup()579 if ((lp->rw_wwwh & RW_OWNER) != (uintptr_t)curthread) { in rw_downgrade()667 return ((old & RW_WRITE_LOCKED) ? (kthread_t *)(old & RW_OWNER) : NULL); in rw_owner()
518 mdb_printf("%*p", RW_OWNR_WIDTH, wwwh & RW_OWNER); in rwlock()