Home
last modified time | relevance | path

Searched refs:mlockall (Results 1 – 25 of 25) sorted by relevance

/linux/tools/perf/bench/
H A Dfutex-wake.c59 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-lock-pi.c55 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-hash.c64 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-requeue.c59 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-wake-parallel.c70 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex.h20 bool mlockall; member
/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c287 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 Don-fault-limit.c18 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) in test_limit()
/linux/tools/laptop/freefall/
H A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux/Documentation/mm/
H A Dunevictable-lru.rst262 (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 Dscx_userland.c371 err = mlockall(MCL_CURRENT | MCL_FUTURE); in pre_bootstrap()
/linux/Documentation/trace/rv/
H A Dmonitor_rtapp.rst37 To fix warnings reported by this monitor, `mlockall()` or `mlock()` can be used
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
/linux/scripts/
H A Dsyscall.tbl276 230 common mlockall sys_mlockall
/linux/tools/scripts/
H A Dsyscall.tbl276 230 common mlockall sys_mlockall
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl123 152 common mlockall sys_mlockall
/linux/Documentation/power/
H A Duserland-swsusp.rst161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl98 86 common mlockall sys_mlockall
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl163 151 common mlockall sys_mlockall
H A Dsyscall_32.tbl167 152 i386 mlockall sys_mlockall
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl288 239 common mlockall sys_mlockall
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl169 152 common mlockall sys_mlockall
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl199 152 common mlockall sys_mlockall
/linux/Documentation/timers/
H A Dno_hz.rst298 helpful, especially when combined with the mlock() and mlockall()