Searched refs:pagemap_fd (Results 1 – 3 of 3) sorted by relevance
54 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY); in GetPssBytes() local55 assert(pagemap_fd >= 0); in GetPssBytes()68 if (ReadData(pagemap_fd, page, &data)) { in GetPssBytes()82 close(pagemap_fd); in GetPssBytes()
55 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()
66 int pagemap_fd; member