Home
last modified time | relevance | path

Searched refs:MCL_FUTURE (Results 1 – 18 of 18) sorted by relevance

/linux/include/uapi/asm-generic/
H A Dmman.h19 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux/tools/include/uapi/asm-generic/
H A Dmman.h19 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dmman.h22 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
/linux/arch/powerpc/include/uapi/asm/
H A Dmman.h26 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
/linux/tools/testing/selftests/mm/
H A Don-fault-limit.c18 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) in test_limit()
H A Dmlock2-tests.c327 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall1()
329 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_FUTURE): %s\n", strerror(errno)); in test_munlockall1()
421 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) in test_mlockall()
/linux/arch/parisc/include/uapi/asm/
H A Dmman.h35 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dmman.h40 #define MCL_FUTURE 16384 /* lock all additions to address space */ macro
/linux/arch/mips/include/uapi/asm/
H A Dmman.h64 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux/arch/xtensa/include/uapi/asm/
H A Dmman.h73 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux/tools/laptop/freefall/
H A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux/tools/perf/bench/
H A Dfutex-wake.c165 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
H A Dfutex-hash.c155 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
H A Dfutex-lock-pi.c188 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
H A Dfutex-requeue.c190 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
H A Dfutex-wake-parallel.c267 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
/linux/mm/
H A Dmlock.c701 * is called once including the MCL_FUTURE flag and then a second time without
711 if (flags & MCL_FUTURE) { in apply_mlockall_flags()
750 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
/linux/Documentation/mm/
H A Dunevictable-lru.rst267 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE
470 that has previously called mlockall() with the MCL_FUTURE flag will result