Home
last modified time | relevance | path

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

/art/dexlayout/
Ddexdiag.cc204 static void ProcessPageMap(const std::vector<uint64_t>& pagemap, in ProcessPageMap() argument
212 if (::android::meminfo::page_present(pagemap[page])) { in ProcessPageMap()
275 static void ProcessOneDexMapping(const std::vector<uint64_t>& pagemap, in ProcessOneDexMapping() argument
310 ProcessPageMap(pagemap, start_page, end_page, sections, &section_resident_pages); in ProcessOneDexMapping()
354 std::vector<uint64_t> pagemap; in DisplayMappingIfFromVdexFile() local
355 if (!proc.PageMap(vma, &pagemap)) { in DisplayMappingIfFromVdexFile()
365 ProcessOneDexMapping(pagemap, in DisplayMappingIfFromVdexFile()
374 static void ProcessOneOatMapping(const std::vector<uint64_t>& pagemap, in ProcessOneOatMapping() argument
378 for (size_t page = 0; page < pagemap.size(); ++page) { in ProcessOneOatMapping()
380 if (::android::meminfo::page_present(pagemap[page])) { in ProcessOneOatMapping()
[all …]
/art/libartbase/base/
Dutils.cc343 android::base::unique_fd pagemap(open("/proc/self/pagemap", O_RDONLY | O_CLOEXEC)); in IsAddressKnownBackedByFileOrShared() local
344 if (pagemap == -1) { in IsAddressKnownBackedByFileOrShared()
347 if (lseek(pagemap, index, SEEK_SET) != index) { in IsAddressKnownBackedByFileOrShared()
351 if (read(pagemap, &flags, sizeof(uint64_t)) != sizeof(uint64_t)) { in IsAddressKnownBackedByFileOrShared()