Symbol: RW_THREAD
lib/libpthread/pthread_rwlock.c
144
if ((owner & ~RW_THREAD) != RW_WRITE_LOCKED)
lib/libpthread/pthread_rwlock.c
147
thread = (pthread_t)(owner & RW_THREAD);
lib/libpthread/pthread_rwlock.c
191
if ((owner & RW_THREAD) == (uintptr_t)self)
lib/libpthread/pthread_rwlock.c
295
if ((owner & RW_THREAD) == 0) {
lib/libpthread/pthread_rwlock.c
313
if ((owner & RW_THREAD) == (uintptr_t)self)
lib/libpthread/pthread_rwlock.c
469
if ((owner & RW_THREAD) != (uintptr_t)self) {
lib/libpthread/pthread_rwlock.c
486
if ((new & (RW_THREAD | RW_HAS_WAITERS)) != RW_HAS_WAITERS) {
lib/libpthread/pthread_rwlock.c
590
if ((owner & RW_THREAD) == 0) {
lib/libpthread/pthread_rwlock.c
617
return (owner & RW_THREAD) == (uintptr_t)pthread__self();
lib/libpthread/pthread_rwlock.c
618
return (owner & RW_THREAD) != 0;
lib/libpthread/pthread_rwlock.c
626
return (owner & RW_THREAD) != 0 && (owner & RW_WRITE_LOCKED) == 0;
lib/libpthread/pthread_rwlock.c
634
return (owner & (RW_THREAD | RW_WRITE_LOCKED)) ==
sys/ddb/db_syncobj.c
67
return (struct lwp *)(owner & RW_THREAD);
sys/kern/kern_rwlock.c
265
l = (lwp_t *)(owner & RW_THREAD);
sys/kern/kern_rwlock.c
325
need_wait = RW_WRITE_LOCKED | RW_THREAD;
sys/kern/kern_rwlock.c
410
if (op == RW_READER || (rw->rw_owner & RW_THREAD) == curthread)
sys/kern/kern_rwlock.c
473
if ((newown & (RW_THREAD | RW_HAS_WAITERS)) == RW_HAS_WAITERS)
sys/kern/kern_rwlock.c
566
need_wait = RW_WRITE_LOCKED | RW_THREAD;
sys/kern/kern_rwlock.c
703
newown = curthread | RW_WRITE_LOCKED | (owner & ~RW_THREAD);
sys/kern/kern_rwlock.c
710
if (__predict_false((next & RW_THREAD) != RW_READ_INCR)) {
sys/kern/kern_rwlock.c
711
RW_ASSERT(rw, (next & RW_THREAD) != 0);
sys/kern/kern_rwlock.c
740
return (owner & RW_WRITE_LOCKED) == 0 && (owner & RW_THREAD) != 0;
sys/kern/kern_rwlock.c
756
return (rw->rw_owner & (RW_WRITE_LOCKED | RW_THREAD)) ==
sys/kern/kern_rwlock.c
773
return (rw->rw_owner & RW_THREAD) != 0;
sys/kern/kern_rwlock.c
806
return (void *)(owner & RW_THREAD);
sys/sys/rwlock.h
80
#define RW_OWNER(rw) ((rw)->rw_owner & RW_THREAD)
sys/sys/rwlock.h
81
#define RW_COUNT(rw) ((rw)->rw_owner & RW_THREAD)
sys/sys/rwlock.h
82
#define RW_FLAGS(rw) ((rw)->rw_owner & ~RW_THREAD)