Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DGetPss.cpp54 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY); in GetPssBytes() local
55 assert(pagemap_fd >= 0); in GetPssBytes()
68 if (ReadData(pagemap_fd, page, &data)) { in GetPssBytes()
82 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()
128 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range()
227 close(proc->pagemap_fd); in pm_process_destroy()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h66 int pagemap_fd; member