Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/perf/bench/
Dfutex-wake.c57 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
159 if (params.mlockall) { in bench_futex_wake()
160 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
Dfutex-hash.c61 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
150 if (params.mlockall) { in bench_futex_hash()
151 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
Dfutex-lock-pi.c53 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
182 if (params.mlockall) { in bench_futex_lock_pi()
183 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
Dfutex-requeue.c57 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
184 if (params.mlockall) { in bench_futex_requeue()
185 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
Dfutex-wake-parallel.c67 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
257 if (params.mlockall) { in bench_futex_wake_parallel()
258 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
Dfutex.h19 bool mlockall; member
/linux-6.1.9/tools/testing/selftests/vm/
Dmlock2-tests.c346 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()
Don-fault-limit.c24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
/linux-6.1.9/tools/laptop/freefall/
Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux-6.1.9/Documentation/mm/
Dunevictable-lru.rst259 (1) in the mlock()/mlock2()/mlockall() system call handlers;
264 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE
285 mlock()/mlock2()/mlockall() System Call Handling
288 mlock(), mlock2() and mlockall() system call handlers proceed to mlock_fixup()
289 for each VMA in the range specified by the call. In the case of mlockall(),
301 Before returning from the system call, do_mlock() or mlockall() will call
367 mlock_fixup() function as mlock(), mlock2() and mlockall() system calls are.
457 In addition to the mlock(), mlock2() and mlockall() system calls, an application
466 that has previously called mlockall() with the MCL_FUTURE flag will result
/linux-6.1.9/kernel/
Dsys_ni.c289 COND_SYSCALL(mlockall);
/linux-6.1.9/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
/linux-6.1.9/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
Dsyscall_n32.tbl158 148 n32 mlockall sys_mlockall
/linux-6.1.9/arch/ia64/kernel/syscalls/
Dsyscall.tbl142 130 common mlockall sys_mlockall
/linux-6.1.9/mm/
Dmlock.c697 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
/linux-6.1.9/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl162 151 common mlockall sys_mlockall
/linux-6.1.9/arch/xtensa/kernel/syscalls/
Dsyscall.tbl98 86 common mlockall sys_mlockall
/linux-6.1.9/arch/x86/entry/syscalls/
Dsyscall_64.tbl162 151 common mlockall sys_mlockall
/linux-6.1.9/arch/m68k/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux-6.1.9/arch/parisc/kernel/syscalls/
Dsyscall.tbl169 152 common mlockall sys_mlockall
/linux-6.1.9/arch/sh/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux-6.1.9/arch/microblaze/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux-6.1.9/arch/arm/tools/
Dsyscall.tbl168 152 common mlockall sys_mlockall
/linux-6.1.9/Documentation/power/
Duserland-swsusp.rst161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.

12