Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/perf/bench/
Dfutex-wake.c57 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
161 if (params.mlockall) { in bench_futex_wake()
162 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
Dfutex-lock-pi.c53 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
184 if (params.mlockall) { in bench_futex_lock_pi()
185 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
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-requeue.c57 OPT_BOOLEAN( 'm', "mlockall", &params.mlockall, "Lock all current and future memory"),
186 if (params.mlockall) { in bench_futex_requeue()
187 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"),
262 if (params.mlockall) { in bench_futex_wake_parallel()
263 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
Dfutex.h19 bool mlockall; member
/linux-6.12.1/tools/testing/selftests/mm/
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()
Don-fault-limit.c18 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) in test_limit()
/linux-6.12.1/tools/laptop/freefall/
Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux-6.12.1/Documentation/mm/
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-6.12.1/kernel/
Dsys_ni.c183 COND_SYSCALL(mlockall);
/linux-6.12.1/mm/
Dmlock.c745 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
Dsyscall_n32.tbl158 148 n32 mlockall sys_mlockall
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl163 151 common mlockall sys_mlockall
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl276 230 common mlockall sys_mlockall
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl163 151 common mlockall sys_mlockall
/linux-6.12.1/scripts/
Dsyscall.tbl276 230 common mlockall sys_mlockall
/linux-6.12.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl98 86 common mlockall sys_mlockall
/linux-6.12.1/Documentation/power/
Duserland-swsusp.rst161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.
/linux-6.12.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl169 152 common mlockall sys_mlockall
/linux-6.12.1/arch/microblaze/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux-6.12.1/arch/m68k/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux-6.12.1/arch/sh/kernel/syscalls/
Dsyscall.tbl162 152 common mlockall sys_mlockall

12