Searched refs:MCL_FUTURE (Results 1 – 18 of 18) sorted by relevance
19 #define MCL_FUTURE 2 /* lock all future mappings */ macro
22 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
26 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
18 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) in test_limit()
327 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall1() 329 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_FUTURE): %s\n", strerror(errno)); in test_munlockall1() 421 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) in test_mlockall()
35 #define MCL_FUTURE 2 /* lock all future mappings */ macro
40 #define MCL_FUTURE 16384 /* lock all additions to address space */ macro
64 #define MCL_FUTURE 2 /* lock all future mappings */ macro
73 #define MCL_FUTURE 2 /* lock all future mappings */ macro
143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
165 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
155 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
188 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
190 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
267 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
701 * is called once including the MCL_FUTURE flag and then a second time without711 if (flags & MCL_FUTURE) { in apply_mlockall_flags() 750 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
267 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE470 that has previously called mlockall() with the MCL_FUTURE flag will result