Lines Matching refs:lock
50 #include <sys/lock.h>
246 lck_mtx_t kw_lock; /* mutex lock protecting this structure */
259 #define PTH_RWL_EBIT 0x02 /* exclusive lock in progress */
278 #define PTHRW_RWL_INIT PTH_RWL_IBIT /* reset state on the lock bits (U)*/
289 #define PTHRW_RWS_INIT PTH_RWS_SBIT /* reset on the lock bits (U)*/
293 #define PTHRW_RWS_INIT PTH_RWS_SBIT /* reset on the lock bits (U)*/
825 /* got preposted lock */
1337 * consuming a prepost higher than our lock sequence is valid, but
1405 /* lock dropped */
1623 /* first to notice the reset of the lock, clear preposts */
1706 /* drops the kwq lock */
1791 /* first to notice the reset of the lock, clear preposts */
1852 /* drops the kwq lock */
1938 /* first to notice the reset of the lock, clear preposts */
2003 /* drops the wq lock */
2091 /* first to notice the reset of the lock, clear preposts */
2350 /* first to notice the reset of the lock, clear preposts */
2412 /* drops the lock */
2461 * reader/writer variety lock.
2709 /* no lock held for this as the waitqueue is getting freed */
2789 /* does not have list lock */
2877 /* will acquire lock again */
3624 panic("kwq_handle_unlock: writer lock granted but no ke set %x\n", updatebits);
3700 /* preposting yielding write thread is being granted exclusive lock */
3748 panic("rwunlock: invalid type for lock grants");