Lines Matching refs:LocTimerContainer

94 class LocTimerContainer : public LocHeap {  class
98 static LocTimerContainer* mSwTimers;
100 static LocTimerContainer* mHwTimers;
108 LocTimerContainer(bool wakeOnExpire);
110 ~LocTimerContainer();
120 static LocTimerContainer* get(bool wakeOnExpire);
163 void addPoll(LocTimerContainer& timerContainer);
166 void removePoll(LocTimerContainer& timerContainer);
177 friend class LocTimerContainer;
182 LocTimerContainer* mContainer;
188 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
203 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER;
204 LocTimerContainer* LocTimerContainer::mSwTimers = NULL;
205 LocTimerContainer* LocTimerContainer::mHwTimers = NULL;
206 MsgTask* LocTimerContainer::mMsgTask = NULL;
207 LocTimerPollTask* LocTimerContainer::mPollTask = NULL;
212 LocTimerContainer::LocTimerContainer(bool wakeOnExpire) : in LocTimerContainer() function in LocTimerContainer
223 LocTimerContainer::getPollTaskLocked(); in LocTimerContainer()
224 LocTimerContainer::getMsgTaskLocked(); in LocTimerContainer()
233 LocTimerContainer::~LocTimerContainer() { in ~LocTimerContainer()
237 LocTimerContainer* LocTimerContainer::get(bool wakeOnExpire) { in get()
239 LocTimerContainer*& container = wakeOnExpire ? mHwTimers : mSwTimers; in get()
245 container = new LocTimerContainer(wakeOnExpire); in get()
257 MsgTask* LocTimerContainer::getMsgTaskLocked() { in getMsgTaskLocked()
265 LocTimerPollTask* LocTimerContainer::getPollTaskLocked() { in getPollTaskLocked()
274 LocTimerDelegate* LocTimerContainer::getSoonestTimer() { in getSoonestTimer()
279 int LocTimerContainer::getTimerFd() { in getTimerFd()
283 void LocTimerContainer::updateSoonestTime(LocTimerDelegate* priorTop) { in updateSoonestTime()
313 void LocTimerContainer::add(LocTimerDelegate& timer) { in add()
315 LocTimerContainer* mTimerContainer; in add()
318 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) : in add()
331 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove()
333 LocTimerContainer* mTimerContainer; in remove()
335 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) : in remove()
358 void LocTimerContainer::expire() { in expire()
360 LocTimerContainer* mTimerContainer; in expire()
361 inline MsgTimerExpire(LocTimerContainer& container) : in expire()
387 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
429 void LocTimerPollTask::addPoll(LocTimerContainer& timerContainer) { in addPoll()
444 void LocTimerPollTask::removePoll(LocTimerContainer& timerContainer) { in removePoll()
463 LocTimerContainer* container = (LocTimerContainer*)(ev[i].data.ptr); in run()
481 LocTimerContainer* container) in LocTimerDelegate()
498 LocTimerContainer* container = mContainer; in destroyLocked()
566 LocTimerContainer* container; in start()
567 container = LocTimerContainer::get(wakeOnExpire); in start()