Home
last modified time | relevance | path

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

/system/core/libmeminfo/
Dprocmeminfo.cpp213 ::android::base::unique_fd pagemap_fd( in PageMap()
215 if (pagemap_fd < 0) { in PageMap()
227 if (pread64(pagemap_fd, &val, sizeof(uint64_t), idx * sizeof(uint64_t)) < 0) { in PageMap()
259 ::android::base::unique_fd pagemap_fd( in ReadMaps()
261 if (pagemap_fd < 0) { in ReadMaps()
267 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle)) { in ReadMaps()
279 bool ProcMemInfo::ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle) { in ReadVmaStats() argument
286 if (pread64(pagemap_fd, pg_frames.get(), num_pages * sizeof(uint64_t), in ReadVmaStats()
/system/core/libmeminfo/include/meminfo/
Dprocmeminfo.h92 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle);