| /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-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-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-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 | 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()
|
| 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 | 371 err = mlockall(MCL_CURRENT | MCL_FUTURE); in pre_bootstrap()
|
| /linux/kernel/ |
| H A D | sys_ni.c | 183 COND_SYSCALL(mlockall);
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_rtapp.rst | 37 To fix warnings reported by this monitor, `mlockall()` or `mlock()` can be used
|
| /linux/mm/ |
| H A D | mlock.c | 745 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
|
| /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/perf/arch/arm64/entry/syscalls/ |
| H A D | syscall_64.tbl | 276 230 common mlockall sys_mlockall
|
| /linux/arch/arm64/tools/ |
| H A D | syscall_64.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/tools/scripts/ |
| H A D | syscall.tbl | 276 230 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/parisc/entry/syscalls/ |
| H A D | syscall.tbl | 169 152 common mlockall sys_mlockall
|
| /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
|