/macosx-10.10/IOSCSIParallelFamily-300.0.2/ |
H A D | SCSIParallelWorkLoop.cpp | 86 SCSIParallelWorkLoop * workLoop = NULL; local 88 workLoop = OSTypeAlloc ( SCSIParallelWorkLoop ); 89 require_nonzero ( workLoop, ErrorExit ); 91 require ( workLoop->InitWithLockGroupName ( lockGroupName ), ReleaseWorkLoop ); 93 return workLoop; 99 require_nonzero ( workLoop, ErrorExit ); 100 workLoop->release ( ); 101 workLoop = NULL; 107 return workLoop;
|
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOEventSource.cpp | 91 workLoop->signalWorkAvailable(); 97 workLoop->openGate(); 102 workLoop->closeGate(); 109 if ((res = workLoop->tryCloseGate())) { 119 res = workLoop->sleepGate(event, type); 128 res = workLoop->sleepGate(event, deadline, type); 133 void IOEventSource::wakeupGate(void *event, bool oneThread) { workLoop->wakeupGate(event, oneThread); } 189 if (workLoop) 207 workLoop = inWorkLoop; 212 return workLoop; [all...] |
H A D | IOCommandGate.cpp | 96 if (workLoop && !workLoop->inGate()) 104 if (workLoop) { 121 if (!inWorkLoop && workLoop) { // tearing down 161 if (!workLoop->onThread()) { 215 if (!workLoop->onThread() && !enabled) 241 if (!workLoop->inGate()) 249 if (!workLoop->inGate())
|
H A D | IOTimerEventSource.cpp | 107 wl = me->workLoop; 124 DTRACE_TMR3(iotescallout__expire, Action, doit, OSObject, me->owner, void, me->workLoop); 149 wl = me->reserved->workLoop; 166 DTRACE_TMR3(iotescallout__expire, Action, doit, OSObject, me->owner, void, me->workLoop); 178 me->reserved->workLoop->release(); 240 workLoop->release(); 260 workLoop->release(); 353 if ( enabled && AbsoluteTime_to_scalar(&abstime) && workLoop ) 363 if ( enabled && AbsoluteTime_to_scalar(&inAbstime) && AbsoluteTime_to_scalar(&abstime) && workLoop ) 368 workLoop [all...] |
H A D | IOFilterInterruptEventSource.cpp | 163 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 187 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 203 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 227 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
|
H A D | IOInterruptEventSource.cpp | 311 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 344 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 355 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop); 388 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
|
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDSystem/ |
H A D | IOHIDWorkLoop.h | 18 static IOHIDWorkLoop * workLoop();
|
H A D | IOHIDWorkLoop.cpp | 12 IOHIDWorkLoop * IOHIDWorkLoop::workLoop() function in class:IOHIDWorkLoop
|
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDFamily/ |
H A D | IOHIDEventSource.cpp | 60 // the workLoop member variable of the event source being set to NULL. 68 // can get preempted after the check and when closeGate() is called workLoop 71 // workLoop is being set to NULL, skip setting it to NULL and set it to NULL 82 workLoop->retain(); 89 OSSafeReleaseNULL(workLoop);
|
H A D | IOHIDResource.cpp | 37 _workLoop = IOWorkLoop::workLoop();
|
H A D | IOHIDResourceUserClient.cpp | 97 IOWorkLoop * workLoop; local 106 workLoop = getWorkLoop(); 107 require_action(workLoop, exit, result=false); 111 require_noerr_action(workLoop->addEventSource(_createDeviceTimer), exit, result=false); 115 require_noerr_action(workLoop->addEventSource(_commandGate), exit, result=false); 133 IOWorkLoop * workLoop = getWorkLoop(); local 135 require(workLoop, exit); 139 workLoop->removeEventSource(_createDeviceTimer); 145 workLoop->removeEventSource(_commandGate);
|
H A D | IOHIDEventSystem.cpp | 71 _workLoop = IOHIDWorkLoop::workLoop(); 109 if (workLoop) { 110 workLoop->disableAllEventSources();
|
/macosx-10.10/xnu-2782.1.97/iokit/Tests/ |
H A D | TestDevice.cpp | 59 workLoop = IOWorkLoop::workLoop(); 60 if ( !workLoop ) 65 if (!commQ || kIOReturnSuccess != workLoop->addEventSource(commQ)) 70 if (!intES || kIOReturnSuccess != workLoop->addEventSource(intES)) 80 if (workLoop) workLoop->release();
|
H A D | Tests.h | 82 IOWorkLoop *workLoop; member in class:TestDevice
|
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/ |
H A D | IOFWQEventSource.h | 50 inline bool inGate( void ) {return workLoop->inGate();};
|
H A D | IOFWWorkLoop.h | 57 static IOFWWorkLoop * workLoop();
|
/macosx-10.10/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/ |
H A D | AppleSCSIEmulatorAdapterUC.cpp | 135 IOWorkLoop * workLoop = NULL; local 150 workLoop = getWorkLoop ( ); 151 require_nonzero_action ( workLoop, 157 workLoop->addEventSource ( fCommandGate ); 164 workLoop->removeEventSource ( fCommandGate ); 168 fWorkLoop = workLoop;
|
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOEventSource.h | 125 /*! @var workLoop What is the work-loop for this event source. */ 126 IOWorkLoop *workLoop; member in class:IOEventSource 179 @abstract Set'ter for $link workLoop variable. 180 @param workLoop 184 virtual void setWorkLoop(IOWorkLoop *workLoop); 240 @abstract Get'ter for $link workLoop variable. 241 @result value of workLoop. */ 245 @abstract Convenience function for workLoop->onThread.
|
H A D | IOTimerEventSource.h | 76 IOWorkLoop * workLoop; member in struct:IOTimerEventSource::ExpansionData 98 virtual void setWorkLoop(IOWorkLoop *workLoop);
|
H A D | IOCommandPool.h | 125 virtual bool initWithWorkLoop(IOWorkLoop *workLoop);
|
/macosx-10.10/IOAudioFamily-200.6/ |
H A D | IOAudioDevice.cpp | 260 workLoop->addEventSource ( reserved->idleTimer ); 338 workLoop = IOWorkLoop::workLoop (); 339 if ( 0 != workLoop ) 388 if (workLoop) { 390 workLoop->removeEventSource(timerEventSource); 397 audioDebugIOLog ( 3, " did workLoop->removeEventSource ( timerEventSource )\n" ); 400 if (workLoop) { 402 workLoop->removeEventSource(reserved->idleTimer); 409 audioDebugIOLog ( 3, " did workLoop [all...] |
H A D | IOAudioControl.cpp | 303 if (workLoop) { 304 workLoop->removeEventSource(commandGate); 311 if (workLoop) { 312 workLoop->release(); 313 workLoop = NULL; 389 if (workLoop) { 390 workLoop->removeEventSource(commandGate); 415 return workLoop; 420 if (!workLoop) { 421 workLoop [all...] |
H A D | IOAudioEngine.cpp | 514 if (workLoop) { 515 workLoop->removeEventSource(commandGate); 522 if (workLoop) { 523 workLoop->release(); 524 workLoop = NULL; 573 workLoop = audioDevice->getWorkLoop (); 574 if ( workLoop ) 576 workLoop->retain(); 581 workLoop->addEventSource ( commandGate ); 584 setWorkLoopOnAllAudioControls ( workLoop ); [all...] |
H A D | IOAudioEngineUserClient.cpp | 388 workLoop = audioEngine->getWorkLoop(); 389 if ( workLoop ) 391 workLoop->retain(); 404 workLoop->addEventSource(commandGate); 637 if ( workLoop ) 639 ret = workLoop->runAction(_getNearestStartTimeAction, this, (void *)audioStream, (void *)ioTimeStamp, (void *)(uintptr_t)isInput); // <rdar://7529580> 762 workLoop = audioEngine->getWorkLoop(); 763 if ( workLoop ) 765 workLoop->retain(); 778 workLoop [all...] |
/macosx-10.10/IOFireWireSBP2-425/IOFireWireSBP2/ |
H A D | IOFireWireSBP2LUN.cpp | 151 IOWorkLoop * workLoop = NULL; local 154 workLoop = getWorkLoop(); 155 if( !workLoop ) 168 workLoop->retain(); 169 workLoop->addEventSource( fGate ); 222 IOWorkLoop * workLoop = NULL; local 224 workLoop = fGate->getWorkLoop(); 225 workLoop->removeEventSource( fGate ); 226 workLoop->release();
|