HomeSort by relevance Sort by last modified time
    Searched refs:pagemap_fd (Results 1 - 5 of 5) sorted by null

  /external/ltp/testcases/kernel/syscalls/msync/
msync04.c 37 int pagemap_fd, pageflags_fd; local
43 pagemap_fd = SAFE_OPEN("/proc/self/pagemap", O_RDONLY);
44 SAFE_LSEEK(pagemap_fd, index, SEEK_SET);
45 SAFE_READ(1, pagemap_fd, &pagemap_entry, sizeof(pagemap_entry));
46 SAFE_CLOSE(pagemap_fd);
  /system/core/libbacktrace/
GetPss.cpp 58 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY); local
59 if (pagemap_fd == -1) {
77 if (ReadData(pagemap_fd, page, &data)) {
91 close(pagemap_fd);
  /external/linux-kselftest/tools/testing/selftests/vm/
transhuge-stress.c 28 int pagemap_fd; variable
46 if (pread(pagemap_fd, ent, sizeof(ent),
84 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
85 if (pagemap_fd < 0)
  /system/extras/libpagemap/
pm_process.c 55 proc->pagemap_fd = open(filename, O_RDONLY);
56 if (proc->pagemap_fd < 0) {
132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET);
138 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t));
236 close(proc->pagemap_fd);
  /system/extras/libpagemap/include/pagemap/
pagemap.h 98 int pagemap_fd; member in struct:pm_process

Completed in 119 milliseconds