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

/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOLocks.cpp53 return( lck_mtx_alloc_init(IOLockGroup, LCK_ATTR_NULL) );
58 lck_mtx_free( lock, IOLockGroup);
154 return IORecursiveLockAllocWithLockGroup( IOLockGroup );
278 return( lck_rw_alloc_init(IOLockGroup, LCK_ATTR_NULL) );
283 lck_rw_free( lock, IOLockGroup);
298 return( lck_spin_alloc_init( IOLockGroup, LCK_ATTR_NULL) );
303 lck_spin_init( lock, IOLockGroup, LCK_ATTR_NULL);
308 lck_spin_free( lock, IOLockGroup);
H A DIOLib.cpp100 lck_grp_t *IOLockGroup; variable
170 IOLockGroup = lck_grp_alloc_init("IOKit", LCK_GRP_ATTR_NULL);
172 gIOKitPageableSpace.lock = lck_mtx_alloc_init(IOLockGroup, LCK_ATTR_NULL);
177 gIOMallocContiguousEntriesLock = lck_mtx_alloc_init(IOLockGroup, LCK_ATTR_NULL);
/macosx-10.10.1/xnu-2782.1.97/libkern/gen/
H A DOSDebug.cpp59 extern lck_grp_t *IOLockGroup;
61 static lck_mtx_t *sOSReportLock = lck_mtx_alloc_init(IOLockGroup, LCK_ATTR_NULL);
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOLocks.h54 /*! @var IOLockGroup
57 extern lck_grp_t *IOLockGroup;
76 @discussion Allocates a mutex in general purpose memory, and initializes it. Mutexes are general purpose blocking mutual exclusion locks, supplied by libkern/locks.h. This function may block and so should not be called from interrupt level or while a spin lock is held. IOLocks use the global IOKit lock group, IOLockGroup. To simplify kext debugging and lock-heat analysis, consider using lck_* locks with a per-driver lock group, as defined in kern/locks.h.
169 @discussion Allocates a recursive lock in general purpose memory, and initializes it. Recursive locks function identically to mutexes but allow one thread to lock more than once, with balanced unlocks. IORecursiveLocks use the global IOKit lock group, IOLockGroup. To simplify kext debugging and lock-heat analysis, consider using lck_* locks with a per-driver lock group, as defined in kern/locks.h.
237 @discussion Allocates and initializes a read/write lock in general purpose memory. Read/write locks provide for multiple readers, one exclusive writer, and are supplied by libkern/locks.h. This function may block and so should not be called from interrupt level or while a spin lock is held. IORWLocks use the global IOKit lock group, IOLockGroup. To simplify kext debugging and lock-heat analysis, consider using lck_* locks with a per-driver lock group, as defined in kern/locks.h.
313 @discussion Allocates and initializes a spin lock in general purpose memory. Spin locks provide non-blocking mutual exclusion for synchronization between thread context and interrupt context, or for multiprocessor synchronization, and are supplied by libkern/locks.h. This function may block and so should not be called from interrupt level or while a spin lock is held. IOSimpleLocks use the global IOKit lock group, IOLockGroup. To simplify kext debugging and lock-heat analysis, consider using lck_* locks with a per-driver lock group, as defined in kern/locks.h.
/macosx-10.10.1/xnu-2782.1.97/libkern/c++/
H A DOSRuntime.cpp541 extern lck_grp_t * IOLockGroup;
546 lck_spin_init(&gOSObjectTrackLock, IOLockGroup, LCK_ATTR_NULL);
H A DOSSymbol.cpp143 extern lck_grp_t *IOLockGroup;
156 poolGate = lck_mtx_alloc_init(IOLockGroup, LCK_ATTR_NULL);
185 lck_mtx_free(poolGate, IOLockGroup);

Completed in 133 milliseconds