Home
last modified time | relevance | path

Searched refs:pagemap_fd (Results 1 – 2 of 2) sorted by relevance

/system/memory/libmeminfo/
Dprocmeminfo.cpp335 ::android::base::unique_fd pagemap_fd( in PageMap()
337 if (pagemap_fd == -1) { in PageMap()
347 ssize_t bytes_read = pread64(pagemap_fd, pagemap->data(), bytes_to_read, start_addr); in PageMap()
407 ::android::base::unique_fd pagemap_fd(GetPagemapFd(pid_)); in GetUsageStats()
408 if (pagemap_fd == -1) { in GetUsageStats()
413 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle, swap_only)) { in GetUsageStats()
425 ::android::base::unique_fd pagemap_fd(GetPagemapFd(pid_)); in FillInVmaStats()
426 if (pagemap_fd == -1) { in FillInVmaStats()
430 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss_, false, false)) { in FillInVmaStats()
441 bool ProcMemInfo::ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, in ReadVmaStats() argument
[all …]
/system/memory/libmeminfo/include/meminfo/
Dprocmeminfo.h122 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, bool swap_only);