Searched refs:workLoop (Results 1 - 17 of 17) sorted by relevance

/darwin-on-arm/xnu/iokit/Kernel/
H A DIOEventSource.cpp91 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 DIOCommandGate.cpp96 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 DIOTimerEventSource.cpp108 wl = me->workLoop;
125 DTRACE_TMR3(iotescallout__expire, Action, doit, OSObject, me->owner, void, me->workLoop);
150 wl = me->reserved->workLoop;
167 DTRACE_TMR3(iotescallout__expire, Action, doit, OSObject, me->owner, void, me->workLoop);
179 me->reserved->workLoop->release();
241 workLoop->release();
261 workLoop->release();
354 if ( enabled && AbsoluteTime_to_scalar(&abstime) && workLoop )
364 if ( enabled && AbsoluteTime_to_scalar(&inAbstime) && AbsoluteTime_to_scalar(&abstime) && workLoop )
369 workLoop
[all...]
H A DIOFilterInterruptEventSource.cpp160 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
167 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
181 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
188 VM_KERNEL_UNSLIDE(filterAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
H A DIOInterruptEventSource.cpp214 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
221 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
232 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
239 VM_KERNEL_UNSLIDE(intAction), (uintptr_t) owner, (uintptr_t) this, (uintptr_t) workLoop);
H A DIOPlatformExpert.cpp1383 workLoop = IOWorkLoop::workLoop();
1384 if (!workLoop)
1399 return workLoop;
1451 if (workLoop)
1452 workLoop->release();
H A DIOStatistics.cpp482 IOWorkLoopCounter* IOStatistics::registerWorkLoop(IOWorkLoop *workLoop) argument
487 assert(workLoop);
506 counter->workLoop = workLoop;
H A DIOWorkLoop.cpp164 // Point the controlGate at the workLoop. Usually addEventSource
186 IOWorkLoop::workLoop() function in class:IOWorkLoop
H A DIOServicePM.cpp442 gIOPMWorkLoop = IOWorkLoop::workLoop();
7576 if (workLoop) signalWorkAvailable();
7593 if (workLoop) signalWorkAvailable();
/darwin-on-arm/xnu/iokit/Tests/
H A DTestDevice.cpp59 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 DTests.h82 IOWorkLoop *workLoop; member in class:TestDevice
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOEventSource.h125 /*! @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 DIOTimerEventSource.h76 IOWorkLoop * workLoop; member in struct:IOTimerEventSource::ExpansionData
98 virtual void setWorkLoop(IOWorkLoop *workLoop);
H A DIOCommandPool.h125 virtual bool initWithWorkLoop(IOWorkLoop *workLoop);
H A DIOWorkLoop.h187 /*! @function workLoop
189 @result Returns a workLoop instance if constructed successfully, 0 otherwise.
191 static IOWorkLoop *workLoop();
196 @result Returns a workLoop instance if constructed successfully, 0 otherwise.
H A DIOStatisticsPrivate.h164 IOWorkLoop *workLoop; member in struct:IOWorkLoopCounter
250 static IOWorkLoopCounter *registerWorkLoop(IOWorkLoop *workLoop);
H A DIOPlatformExpert.h280 IOWorkLoop *workLoop; member in class:IOPlatformExpertDevice

Completed in 58 milliseconds