| /linux/tools/perf/bench/ |
| H A D | futex-wake.c | 59 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 164 if (params.mlockall) { in bench_futex_wake() 165 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
|
| H A D | futex-lock-pi.c | 55 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 187 if (params.mlockall) { in bench_futex_lock_pi() 188 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
|
| H A D | futex-hash.c | 64 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 154 if (params.mlockall) { in bench_futex_hash() 155 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
|
| H A D | futex-requeue.c | 59 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 189 if (params.mlockall) { in bench_futex_requeue() 190 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
|
| H A D | futex-wake-parallel.c | 70 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 266 if (params.mlockall) { in bench_futex_wake_parallel() 267 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
|
| H A D | futex.h | 20 bool mlockall; member
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mlock2-tests.c | 291 if (mlockall(MCL_CURRENT)) { in test_munlockall0() 293 ksft_exit_fail_msg("mlockall(MCL_CURRENT): %s\n", strerror(errno)); in test_munlockall0() 317 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall1() 319 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_ONFAULT): %s\n", strerror(errno)); in test_munlockall1() 331 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall1() 333 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_FUTURE): %s\n", strerror(errno)); in test_munlockall1() 383 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_vma_management() 384 ksft_test_result_fail("mlockall(MCL_CURRENT | MCL_FUTURE): %s\n", strerror(errno)); in test_vma_management() 485 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) 486 ksft_exit_fail_msg("mlockall faile [all...] |
| H A D | on-fault-limit.c | 18 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) in test_limit()
|
| /linux/tools/laptop/freefall/ |
| H A D | freefall.c | 143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
|
| /linux/Documentation/mm/ |
| H A D | unevictable-lru.rst | 262 (1) in the mlock()/mlock2()/mlockall() system call handlers; 267 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE 288 mlock()/mlock2()/mlockall() System Call Handling 291 mlock(), mlock2() and mlockall() system call handlers proceed to mlock_fixup() 292 for each VMA in the range specified by the call. In the case of mlockall(), 304 Before returning from the system call, do_mlock() or mlockall() will call 370 mlock_fixup() function as mlock(), mlock2() and mlockall() system calls are. 461 In addition to the mlock(), mlock2() and mlockall() system calls, an application 470 that has previously called mlockall() with the MCL_FUTURE flag will result
|
| /linux/tools/sched_ext/ |
| H A D | scx_userland.c | 372 err = mlockall(MCL_CURRENT | MCL_FUTURE); in pre_bootstrap()
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 158 148 n64 mlockall sys_mlockall
|
| /linux/scripts/ |
| H A D | syscall.tbl | 276 230 common mlockall sys_mlockall
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 276 230 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 123 152 common mlockall sys_mlockall
|
| /linux/Documentation/power/ |
| H A D | userland-swsusp.rst | 161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.
|
| /linux/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 162 152 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 98 86 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 163 151 common mlockall sys_mlockall
|
| H A D | syscall_32.tbl | 167 152 i386 mlockall sys_mlockall
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 288 239 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 169 152 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 199 152 common mlockall sys_mlockall
|
| /linux/Documentation/timers/ |
| H A D | no_hz.rst | 298 helpful, especially when combined with the mlock() and mlockall()
|