Home
last modified time | relevance | path

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

/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_vma_management()
/linux/tools/laptop/freefall/
H A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux/tools/perf/bench/
H A Dfutex-wake.c162 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
H A Dfutex-hash.c151 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
H A Dfutex-lock-pi.c185 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
H A Dfutex-requeue.c187 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
H A Dfutex-wake-parallel.c263 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()
/linux/mm/
H A Dmlock.c711 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