Searched refs:checkForWork (Results 1 - 15 of 15) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOCommandQueue.h64 virtual bool checkForWork();
H A DIODMAEventSource.h81 virtual bool checkForWork(void);
H A DIOInterruptEventSource.h109 /*! @function checkForWork
113 virtual bool checkForWork();
150 state when checkForWork is called. Calling this function will cause the
151 work-loop to be signalled so that a checkForWork is performed. */
157 state when checkForWork is called. */
H A DIOPolledInterface.h81 virtual IOReturn checkForWork(void) = 0;
H A DIOEventSource.h77 All subclasses of IOEventSource that wish to perform work on the work-loop thread are expected to implement the checkForWork() member function. As of Mac OS X, 10.7 (Darwin 11), checkForWork is no longer pure virtual, and should not be overridden if there is no work to be done.
80 checkForWork() is the key method in this class. It is called by some work-loop when convienient and is expected to evaluate its internal state and determine if an event has occurred since the last call. In the case of an event having occurred then the instance defined target(owner)/action will be called. The action is stored as an ordinary C function pointer but the first parameter is always the owner. This means that a C++ member function can be used as an action function though this depends on the ABI.
156 be called by the checkForWork member function. The first parameter of the
166 /*! @function checkForWork
176 virtual bool checkForWork();
224 state when checkForWork is called. Calling this function will cause the
225 work-loop to be signalled so that a checkForWork is performed. */
231 state when checkForWork is called. */
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOPMPowerStateQueue.h54 virtual bool checkForWork( void );
H A DIOPMPowerStateQueue.cpp85 bool IOPMPowerStateQueue::checkForWork( void ) function in class:IOPMPowerStateQueue
H A DIOCommandQueue.cpp144 #error IOCommandQueue::checkForWork needs to be updated for new command size
147 bool IOCommandQueue::checkForWork() function in class:IOCommandQueue
195 See also: signalWorkAvailable, checkForWork
H A DIOEventSource.cpp53 bool IOEventSource::checkForWork() { return false; } function in class:IOEventSource
H A DIOServicePMPrivate.h625 virtual bool checkForWork( void );
663 virtual bool checkForWork( void );
688 virtual bool checkForWork( void );
H A DIOWorkLoop.cpp367 more |= evnt->checkForWork();
618 * The idea here is to see if the subclass of IOEventSource has overridden checkForWork().
619 * The assumption is that if you override checkForWork(), you need to be
623 * IOEventSource::checkForWork(), namely the IOCommandGate associated with
628 * IOCommandGate's slot for checkForWork() has the address of
629 * IOEventSource::checkForWork() in it.
632 * checkForWork() here. We're just testing to see if it's the same or not.
639 ptr1 = OSMemberFunctionCast(void*, inEventSource, &IOEventSource::checkForWork);
640 ptr2 = OSMemberFunctionCast(void*, controlG, &IOEventSource::checkForWork);
H A DIODMAEventSource.cpp132 bool IODMAEventSource::checkForWork(void) function in class:IODMAEventSource
H A DIOInterruptEventSource.cpp201 bool IOInterruptEventSource::checkForWork() function in class:IOInterruptEventSource
H A DIOHibernateIO.cpp131 Each I/O is async but only one is ever outstanding. The polled interface has a checkForWork call
494 newErr = poller->checkForWork();
505 HIBLOG("IOPolledInterface::checkForWork sw abort\n");
510 HIBLOG("IOPolledInterface::checkForWork[%d] 0x%x\n", idx, err);
538 err = poller->checkForWork();
H A DIOServicePM.cpp6542 // Called from IOPMRequestQueue::checkForWork().
6573 // Called from IOPMCompletionQueue::checkForWork().
7596 bool IOPMRequestQueue::checkForWork( void ) function in class:IOPMRequestQueue
7735 bool IOPMWorkQueue::checkForWork( void ) function in class:IOPMWorkQueue
7751 PM_LOG3("IOPMWorkQueue: checkForWork %u %u\n",
7847 bool IOPMCompletionQueue::checkForWork( void ) function in class:IOPMCompletionQueue

Completed in 102 milliseconds