Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DGetPss.cpp58 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY); in GetPssBytes() local
59 if (pagemap_fd == -1) { in GetPssBytes()
77 if (ReadData(pagemap_fd, page, &data)) { in GetPssBytes()
91 close(pagemap_fd); in GetPssBytes()
/system/extras/libpagemap/
Dpm_process.c55 proc->pagemap_fd = open(filename, O_RDONLY); in pm_process_create()
56 if (proc->pagemap_fd < 0) { in pm_process_create()
132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
138 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range()
236 close(proc->pagemap_fd); in pm_process_destroy()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h98 int pagemap_fd; member