Lines Matching refs:line
99 inline void Heap::deallocateSmallLine(std::lock_guard<StaticMutex>& lock, SmallLine* line)
101 BASSERT(!line->refCount(lock));
102 SmallPage* page = SmallPage::get(line);
108 m_smallLines[page->smallSizeClass()].push(line);
115 SmallLine* line = smallLines.pop();
116 SmallPage* page = SmallPage::get(line);
117 if (!page->refCount(lock) || page->smallSizeClass() != smallSizeClass) // The line was promoted to the small pages list.
119 BASSERT(!line->refCount(lock));
121 return line;
127 inline void Heap::deallocateMediumLine(std::lock_guard<StaticMutex>& lock, MediumLine* line)
129 BASSERT(!line->refCount(lock));
130 MediumPage* page = MediumPage::get(line);
136 m_mediumLines.push(line);
142 MediumLine* line = m_mediumLines.pop();
143 MediumPage* page = MediumPage::get(line);
144 if (!page->refCount(lock)) // The line was promoted to the medium pages list.
146 BASSERT(!line->refCount(lock));
148 return line;