Home
last modified time | relevance | path

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

12

/linux/tools/perf/bench/
A Dfutex-wake.c56 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-hash.c60 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-requeue.c56 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-lock-pi.c52 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex-wake-parallel.c66 OPT_BOOLEAN( 'm', "mlockall", &params.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 Dfutex.h19 bool mlockall; member
/linux/tools/testing/selftests/vm/
A 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()
A Don-fault-limit.c24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
/linux/tools/laptop/freefall/
A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux/Documentation/vm/
A Dunevictable-lru.rst253 (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 Dsys_ni.c288 COND_SYSCALL(mlockall);
/linux/mm/
A Dmlock.c776 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl142 130 common mlockall sys_mlockall
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl158 148 n64 mlockall sys_mlockall
A Dsyscall_n32.tbl158 148 n32 mlockall sys_mlockall
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl98 86 common mlockall sys_mlockall
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl162 151 common mlockall sys_mlockall
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl162 151 common mlockall sys_mlockall
/linux/arch/sh/kernel/syscalls/
A Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux/arch/microblaze/kernel/syscalls/
A Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux/arch/m68k/kernel/syscalls/
A Dsyscall.tbl162 152 common mlockall sys_mlockall
/linux/arch/arm/tools/
A Dsyscall.tbl168 152 common mlockall sys_mlockall
/linux/arch/parisc/kernel/syscalls/
A Dsyscall.tbl169 152 common mlockall sys_mlockall
/linux/Documentation/power/
A Duserland-swsusp.rst161 preferably using mlockall(), before calling SNAPSHOT_FREEZE.

Completed in 36 milliseconds

12