Searched refs:pageflags (Results 1 – 3 of 3) sorted by relevance
69 unsigned long pageflags; in check_page_flags() local75 lseek(fd, pfn * sizeof(pageflags), SEEK_SET); in check_page_flags()77 read(fd, &pageflags, sizeof(pageflags)); in check_page_flags()78 if ((pageflags & HEAD_PAGE_FLAGS) != HEAD_PAGE_FLAGS) { in check_page_flags()80 printf("Head page flags (%lx) is invalid\n", pageflags); in check_page_flags()90 read(fd, &pageflags, sizeof(pageflags)); in check_page_flags()91 if ((pageflags & TAIL_PAGE_FLAGS) != TAIL_PAGE_FLAGS || in check_page_flags()92 (pageflags & HEAD_PAGE_FLAGS) == HEAD_PAGE_FLAGS) { in check_page_flags()94 printf("Tail page flags (%lx) is invalid\n", pageflags); in check_page_flags()
100 enum pageflags { enum
638 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags