Searched refs:page1_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
289 page1_flags = get_pageflags((unsigned long)map); lock_check()
293 if (((page1_flags & PRESENT_BIT) == 0) || lock_check()
299 page1_flags = get_kpageflags(page1_flags & PFN_MASK); lock_check()
303 if (((page1_flags & UNEVICTABLE_BIT) == 0) || lock_check()
325 uint64_t page1_flags, page2_flags; unlock_lock_check() local
327 page1_flags = get_pageflags((unsigned long)map); unlock_lock_check()
329 page1_flags = get_kpageflags(page1_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
394 page1_flags = get_pageflags((unsigned long)map); onfault_check()
398 if ((page1_flags & PRESENT_BIT) || (page2_flags & PRESENT_BIT)) { onfault_check()
404 page1_flags = get_pageflags((unsigned long)map); onfault_check()
408 if ((page1_flags & PRESENT_BIT) == 0) { onfault_check()
416 page1_flags = get_kpageflags(page1_flags & PFN_MASK); onfault_check()
419 if ((page1_flags & UNEVICTABLE_BIT) == 0) { onfault_check()
440 uint64_t page1_flags; unlock_onfault_check() local
442 page1_flags = get_pageflags((unsigned long)map); unlock_onfault_check()
443 page1_flags = get_kpageflags(page1_flags & PFN_MASK); unlock_onfault_check()
445 if (page1_flags & UNEVICTABLE_BIT) { unlock_onfault_check()
506 uint64_t page1_flags, page2_flags; test_lock_onfault_of_present() local
526 page1_flags = get_pageflags((unsigned long)map); test_lock_onfault_of_present()
528 page1_flags = get_kpageflags(page1_flags & PFN_MASK); test_lock_onfault_of_present()
532 if ((page1_flags & UNEVICTABLE_BIT) == 0) { test_lock_onfault_of_present()

Completed in 190 milliseconds