Searched refs:MLOCK_ONFAULT (Results 1 – 5 of 5) sorted by relevance
237 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_mlock_onfault()266 if (mlock2_(map, 2 * page_size, MLOCK_ONFAULT)) { in test_lock_onfault_of_present()356 if (call_mlock && mlock2_(map, 3 * page_size, MLOCK_ONFAULT)) { in test_vma_management()439 ret = mlock2_(map, size, MLOCK_ONFAULT); in main()
161 MLOCK_ONFAULT); in test_mlock_within_limit()223 MLOCK_ONFAULT); in test_mlock_outof_limit()
39 #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ macro
668 if (flags & ~MLOCK_ONFAULT) in SYSCALL_DEFINE3()671 if (flags & MLOCK_ONFAULT) in SYSCALL_DEFINE3()
311 fault path - which is also how mlock2()'s MLOCK_ONFAULT areas are handled.