Lines Matching defs:IOLock
60 typedef lck_mtx_t IOLock;
62 typedef struct _IOLock IOLock;
71 IOLock * IOLockAlloc( void );
78 void IOLockFree( IOLock * lock);
85 lck_mtx_t * IOLockGetMachLock( IOLock * lock);
95 void IOLockLock( IOLock * lock)
100 void IOLockLock( IOLock * lock);
103 void IOLockLock( IOLock * lock);
115 boolean_t IOLockTryLock( IOLock * lock)
120 boolean_t IOLockTryLock( IOLock * lock);
123 boolean_t IOLockTryLock( IOLock * lock);
134 void IOLockUnlock( IOLock * lock)
139 void IOLockUnlock( IOLock * lock);
142 void IOLockUnlock( IOLock * lock);
152 int IOLockSleep( IOLock * lock, void *event, UInt32 interType);
154 int IOLockSleepDeadline( IOLock * lock, void *event,
157 void IOLockWakeup(IOLock * lock, void *event, bool oneThread);
168 void IOLockInitWithState( IOLock * lock, IOLockState state);
171 static __inline__ void IOTakeLock( IOLock * lock) { IOLockLock(lock); }
172 static __inline__ boolean_t IOTryLock( IOLock * lock) { return(IOLockTryLock(lock)); }
173 static __inline__ void IOUnlock( IOLock * lock) { IOLockUnlock(lock); }