Searched refs:MCL_FUTURE (Results 1 – 10 of 10) sorted by relevance
10 #define MCL_ONFAULT (MCL_FUTURE << 1)24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
12 #define MCL_ONFAULT (MCL_FUTURE << 1)
388 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()500 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
19 #define MCL_FUTURE 2 /* lock all future mappings */ macro
143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
149 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
148 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
173 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
171 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
246 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()