Lines Matching refs:LocTimerContainer

92 class LocTimerContainer : public LocHeap {  class
96 static LocTimerContainer* mSwTimers;
98 static LocTimerContainer* mHwTimers;
106 LocTimerContainer(bool wakeOnExpire);
108 ~LocTimerContainer();
118 static LocTimerContainer* get(bool wakeOnExpire);
161 void addPoll(LocTimerContainer& timerContainer);
164 void removePoll(LocTimerContainer& timerContainer);
175 friend class LocTimerContainer;
180 LocTimerContainer* mContainer;
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
201 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER;
202 LocTimerContainer* LocTimerContainer::mSwTimers = NULL;
203 LocTimerContainer* LocTimerContainer::mHwTimers = NULL;
204 MsgTask* LocTimerContainer::mMsgTask = NULL;
205 LocTimerPollTask* LocTimerContainer::mPollTask = NULL;
210 LocTimerContainer::LocTimerContainer(bool wakeOnExpire) : in LocTimerContainer() function in LocTimerContainer
221 LocTimerContainer::getPollTaskLocked(); in LocTimerContainer()
222 LocTimerContainer::getMsgTaskLocked(); in LocTimerContainer()
231 LocTimerContainer::~LocTimerContainer() { in ~LocTimerContainer()
235 LocTimerContainer* LocTimerContainer::get(bool wakeOnExpire) { in get()
237 LocTimerContainer*& container = wakeOnExpire ? mHwTimers : mSwTimers; in get()
243 container = new LocTimerContainer(wakeOnExpire); in get()
255 MsgTask* LocTimerContainer::getMsgTaskLocked() { in getMsgTaskLocked()
263 LocTimerPollTask* LocTimerContainer::getPollTaskLocked() { in getPollTaskLocked()
272 LocTimerDelegate* LocTimerContainer::getSoonestTimer() { in getSoonestTimer()
277 int LocTimerContainer::getTimerFd() { in getTimerFd()
281 void LocTimerContainer::updateSoonestTime(LocTimerDelegate* priorTop) { in updateSoonestTime()
311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add()
313 LocTimerContainer* mTimerContainer; in add()
316 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) : in add()
329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove()
331 LocTimerContainer* mTimerContainer; in remove()
333 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) : in remove()
356 void LocTimerContainer::expire() { in expire()
358 LocTimerContainer* mTimerContainer; in expire()
359 inline MsgTimerExpire(LocTimerContainer& container) : in expire()
385 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
427 void LocTimerPollTask::addPoll(LocTimerContainer& timerContainer) { in addPoll()
442 void LocTimerPollTask::removePoll(LocTimerContainer& timerContainer) { in removePoll()
461 LocTimerContainer* container = (LocTimerContainer*)(ev[i].data.ptr); in run()
479 LocTimerContainer* container) in LocTimerDelegate()
496 LocTimerContainer* container = mContainer; in destroyLocked()
559 LocTimerContainer* container; in start()
560 container = LocTimerContainer::get(wakeOnExpire); in start()