| /linux/tools/perf/bench/ |
| A D | futex-wake.c | 56 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 148 if (params.mlockall) { in bench_futex_wake() 149 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
|
| A D | futex-hash.c | 60 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 147 if (params.mlockall) { in bench_futex_hash() 148 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
|
| A D | futex-requeue.c | 56 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 172 if (params.mlockall) { in bench_futex_requeue() 173 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
|
| A D | futex-lock-pi.c | 52 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 170 if (params.mlockall) { in bench_futex_lock_pi() 171 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
|
| A D | futex-wake-parallel.c | 66 OPT_BOOLEAN( 'm', "mlockall", ¶ms.mlockall, "Lock all current and future memory"), 245 if (params.mlockall) { in bench_futex_wake_parallel() 246 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
|
| A D | futex.h | 19 bool mlockall; member
|
| /linux/tools/testing/selftests/vm/ |
| A D | mlock2-tests.c | 346 if (mlockall(MCL_CURRENT)) { in test_munlockall() 372 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall() 388 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall() 500 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
|
| A D | on-fault-limit.c | 24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
|
| /linux/tools/laptop/freefall/ |
| A D | freefall.c | 143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
|
| /linux/Documentation/vm/ |
| A D | unevictable-lru.rst | 253 (1) in the mlock()/mlockall() system call handlers; 258 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE 283 mlock()/mlockall() System Call Handling 286 Both [do\_]mlock() and [do\_]mlockall() system call handlers call mlock_fixup() 287 for each VMA in the range specified by the call. In the case of mlockall(), 364 do_mlock[all]() - as the mlock() and mlockall() system calls with the unlock vs 466 In addition the mlock()/mlockall() system calls, an application can request 475 task that has previously called mlockall() with the MCL_FUTURE flag will result 567 mlockall(), overall this is a fairly rare event.
|
| /linux/kernel/ |
| A D | sys_ni.c | 288 COND_SYSCALL(mlockall);
|
| /linux/mm/ |
| A D | mlock.c | 776 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| A D | syscall_n64.tbl | 158 148 n64 mlockall sys_mlockall
|
| /linux/arch/ia64/kernel/syscalls/ |
| A D | syscall.tbl | 142 130 common mlockall sys_mlockall
|
| /linux/arch/mips/kernel/syscalls/ |
| A D | syscall_n64.tbl | 158 148 n64 mlockall sys_mlockall
|
| A D | syscall_n32.tbl | 158 148 n32 mlockall sys_mlockall
|
| /linux/arch/xtensa/kernel/syscalls/ |
| A D | syscall.tbl | 98 86 common mlockall sys_mlockall
|
| /linux/arch/x86/entry/syscalls/ |
| A D | syscall_64.tbl | 162 151 common mlockall sys_mlockall
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| A D | syscall_64.tbl | 162 151 common mlockall sys_mlockall
|
| /linux/arch/sh/kernel/syscalls/ |
| A D | syscall.tbl | 162 152 common mlockall sys_mlockall
|
| /linux/arch/microblaze/kernel/syscalls/ |
| A D | syscall.tbl | 162 152 common mlockall sys_mlockall
|
| /linux/arch/m68k/kernel/syscalls/ |
| A D | syscall.tbl | 162 152 common mlockall sys_mlockall
|
| /linux/arch/arm/tools/ |
| A D | syscall.tbl | 168 152 common mlockall sys_mlockall
|
| /linux/arch/parisc/kernel/syscalls/ |
| A D | syscall.tbl | 169 152 common mlockall sys_mlockall
|
| /linux/Documentation/power/ |
| A D | userland-swsusp.rst | 161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.
|