Searched refs:MCL_CURRENT (Results 1 – 11 of 11) sorted by relevance
287 if (mlockall(MCL_CURRENT)) { in test_munlockall0()313 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall1()327 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall1()421 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) in test_mlockall()
18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
21 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
25 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
165 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
188 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
155 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
190 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
267 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
371 err = mlockall(MCL_CURRENT | MCL_FUTURE); in pre_bootstrap()