Searched refs:pagemap_fd (Results 1 – 2 of 2) sorted by relevance
/system/memory/libmeminfo/ |
D | procmeminfo.cpp | 335 ::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/ |
D | procmeminfo.h | 122 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, bool swap_only);
|