Home
last modified time | relevance | path

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

/system/extras/libpagemap/
Dpm_kernel.c46 ker->kpageflags_fd = open("/proc/kpageflags", O_RDONLY); in pm_kernel_create()
47 if (ker->kpageflags_fd < 0) { in pm_kernel_create()
138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_flags()
141 if (read(ker->kpageflags_fd, flags_out, sizeof(uint64_t)) < in pm_kernel_flags()
153 close(ker->kpageflags_fd); in pm_kernel_destroy()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h83 int kpageflags_fd; member