Searched refs:PageAcct (Results 1 – 4 of 4) sorted by relevance
30 class PageAcct final {45 static PageAcct& Instance() { in Instance()46 static PageAcct instance; in Instance()50 ~PageAcct() = default;53 PageAcct() : kpagecount_fd_(-1), kpageflags_fd_(-1), pageidle_fd_(-1) {} in PageAcct() function58 PageAcct(const PageAcct&) = delete;59 PageAcct& operator=(const PageAcct&) = delete;60 PageAcct& operator=(PageAcct&&) = delete;61 PageAcct(PageAcct&&) = delete;
40 bool PageAcct::InitPageAcct(bool pageidle_enable) { in InitPageAcct()41 if (pageidle_enable && !PageAcct::KernelHasPageIdle()) { in InitPageAcct()77 bool PageAcct::PageFlags(uint64_t pfn, uint64_t* flags) { in PageFlags()91 bool PageAcct::PageMapCount(uint64_t pfn, uint64_t* mapcount) { in PageMapCount()105 int PageAcct::IsPageIdle(uint64_t pfn) { in IsPageIdle()116 int PageAcct::MarkPageIdle(uint64_t pfn) const { in MarkPageIdle()129 int PageAcct::GetPageIdle(uint64_t pfn) const { in GetPageIdle()
280 PageAcct& pinfo = PageAcct::Instance(); in ReadVmaStats()
213 if (!::android::meminfo::PageAcct::KernelHasPageIdle()) { in main()