Searched refs:page2_flags (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/tools/testing/selftests/vm/
H A Dmlock2-tests.c287 uint64_t page1_flags, page2_flags; lock_check() local
290 page2_flags = get_pageflags((unsigned long)map + page_size); lock_check()
294 ((page2_flags & PRESENT_BIT) == 0)) { lock_check()
300 page2_flags = get_kpageflags(page2_flags & PFN_MASK); lock_check()
304 ((page2_flags & UNEVICTABLE_BIT) == 0)) { lock_check()
325 uint64_t page1_flags, page2_flags; unlock_lock_check() local
328 page2_flags = get_pageflags((unsigned long)map + page_size); unlock_lock_check()
330 page2_flags = get_kpageflags(page2_flags & PFN_MASK); unlock_lock_check()
332 if ((page1_flags & UNEVICTABLE_BIT) || (page2_flags & UNEVICTABLE_BIT)) { unlock_lock_check()
392 uint64_t page1_flags, page2_flags; onfault_check() local
395 page2_flags = get_pageflags((unsigned long)map + page_size); onfault_check()
398 if ((page1_flags & PRESENT_BIT) || (page2_flags & PRESENT_BIT)) { onfault_check()
405 page2_flags = get_pageflags((unsigned long)map + page_size); onfault_check()
411 } else if (page2_flags & PRESENT_BIT) { onfault_check()
506 uint64_t page1_flags, page2_flags; test_lock_onfault_of_present() local
527 page2_flags = get_pageflags((unsigned long)map + page_size); test_lock_onfault_of_present()
529 page2_flags = get_kpageflags(page2_flags & PFN_MASK); test_lock_onfault_of_present()

Completed in 182 milliseconds