Searched refs:pagemap_fd (Results 1 – 2 of 2) sorted by relevance
/system/memory/libmeminfo/ |
D | procmeminfo.cpp | 273 ::android::base::unique_fd pagemap_fd( in PageMap() 275 if (pagemap_fd == -1) { in PageMap() 285 ssize_t bytes_read = pread64(pagemap_fd, pagemap->data(), bytes_to_read, start_addr); in PageMap() 337 ::android::base::unique_fd pagemap_fd(GetPagemapFd(pid_)); in ReadMaps() 338 if (pagemap_fd == -1) { in ReadMaps() 343 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle, swap_only)) { in ReadMaps() 356 ::android::base::unique_fd pagemap_fd(GetPagemapFd(pid_)); in FillInVmaStats() 357 if (pagemap_fd == -1) { in FillInVmaStats() 361 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss_, false, false)) { in FillInVmaStats() 369 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 | 105 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, bool swap_only);
|