Searched refs:SX_OWNER (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_lock.c92 SX_OWNER(lock->base.sx.sx_lock);
106 (struct thread *)SX_OWNER(
127 if ((struct thread *)SX_OWNER(lock->base.sx.sx_lock) == NULL)
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dww_mutex.h87 else if ((struct thread *)SX_OWNER(lock->base.sx.sx_lock) == curthread)
98 else if ((struct thread *)SX_OWNER(lock->base.sx.sx_lock) == curthread)
H A Dmutex.h119 return ((struct thread *)SX_OWNER(m->sx.sx_lock) != NULL);
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Drwlock.h91 #define rw_owner(lock) ((lock)->sx_lock & SX_LOCK_SHARED ? NULL : (struct thread *)SX_OWNER((lock)->sx_lock))
/freebsd-11-stable/sys/sys/
H A Dsx.h76 #define SX_OWNER(x) ((x) & ~SX_LOCK_FLAGMASK) macro
78 #define SX_SHARERS(x) (SX_OWNER(x) >> SX_SHARERS_SHIFT)
94 ((v & SX_LOCK_SHARED) ? NULL : (struct thread *)SX_OWNER(v))
246 (struct thread *)SX_OWNER((sx)->sx_lock))
/freebsd-11-stable/sys/kern/
H A Dkern_sx.c216 ((*owner = (struct thread *)SX_OWNER(x)) != NULL));
721 owner = (struct thread *)SX_OWNER(x);
1052 owner = (struct thread *)SX_OWNER(x);

Completed in 320 milliseconds