Lines Matching refs:LocTimerContainer
93 class LocTimerContainer : public LocHeap { class
97 static LocTimerContainer* mSwTimers;
99 static LocTimerContainer* mHwTimers;
107 LocTimerContainer(bool wakeOnExpire);
109 ~LocTimerContainer();
119 static LocTimerContainer* get(bool wakeOnExpire);
162 void addPoll(LocTimerContainer& timerContainer);
165 void removePoll(LocTimerContainer& timerContainer);
176 friend class LocTimerContainer;
181 LocTimerContainer* mContainer;
187 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
202 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER;
203 LocTimerContainer* LocTimerContainer::mSwTimers = NULL;
204 LocTimerContainer* LocTimerContainer::mHwTimers = NULL;
205 MsgTask* LocTimerContainer::mMsgTask = NULL;
206 LocTimerPollTask* LocTimerContainer::mPollTask = NULL;
211 LocTimerContainer::LocTimerContainer(bool wakeOnExpire) : in LocTimerContainer() function in LocTimerContainer
222 LocTimerContainer::getPollTaskLocked(); in LocTimerContainer()
223 LocTimerContainer::getMsgTaskLocked(); in LocTimerContainer()
232 LocTimerContainer::~LocTimerContainer() { in ~LocTimerContainer()
236 LocTimerContainer* LocTimerContainer::get(bool wakeOnExpire) { in get()
238 LocTimerContainer*& container = wakeOnExpire ? mHwTimers : mSwTimers; in get()
244 container = new LocTimerContainer(wakeOnExpire); in get()
256 MsgTask* LocTimerContainer::getMsgTaskLocked() { in getMsgTaskLocked()
264 LocTimerPollTask* LocTimerContainer::getPollTaskLocked() { in getPollTaskLocked()
273 LocTimerDelegate* LocTimerContainer::getSoonestTimer() { in getSoonestTimer()
278 int LocTimerContainer::getTimerFd() { in getTimerFd()
282 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()
384 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
426 void LocTimerPollTask::addPoll(LocTimerContainer& timerContainer) { in addPoll()
441 void LocTimerPollTask::removePoll(LocTimerContainer& timerContainer) { in removePoll()
460 LocTimerContainer* container = (LocTimerContainer*)(ev[i].data.ptr); in run()
478 LocTimerContainer* container) in LocTimerDelegate()
495 LocTimerContainer* container = mContainer; in destroyLocked()
563 LocTimerContainer* container; in start()
564 container = LocTimerContainer::get(wakeOnExpire); in start()