Searched refs:MCL_CURRENT (Results 1 – 16 of 16) 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
719 if (!(flags & MCL_CURRENT)) in apply_mlockall_flags()723 if (flags & MCL_CURRENT) { in apply_mlockall_flags()752 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()766 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || in SYSCALL_DEFINE1()770 if (!ret && (flags & MCL_CURRENT)) in SYSCALL_DEFINE1()
34 #define MCL_CURRENT 1 /* lock all current mappings */ macro
63 #define MCL_CURRENT 1 /* lock all current mappings */ macro
72 #define MCL_CURRENT 1 /* lock all current mappings */ macro
39 #define MCL_CURRENT 8192 /* lock all currently mapped pages */ macro
143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
162 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
151 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
185 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
187 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
263 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()