Home
last modified time | relevance | path

Searched refs:MCL_CURRENT (Results 1 – 16 of 16) sorted by relevance

/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()
/linux/mm/
A Dmlock.c752 if (!(flags & MCL_CURRENT)) in apply_mlockall_flags()
756 if (flags & MCL_CURRENT) { in apply_mlockall_flags()
781 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
795 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || in SYSCALL_DEFINE1()
799 if (!ret && (flags & MCL_CURRENT)) in SYSCALL_DEFINE1()
/linux/tools/include/uapi/asm-generic/
A Dmman.h18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/linux/include/uapi/asm-generic/
A Dmman.h18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/linux/arch/sparc/include/uapi/asm/
A Dmman.h21 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
/linux/arch/powerpc/include/uapi/asm/
A Dmman.h25 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
/linux/arch/xtensa/include/uapi/asm/
A Dmman.h72 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/linux/arch/mips/include/uapi/asm/
A Dmman.h63 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/linux/arch/parisc/include/uapi/asm/
A Dmman.h34 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/linux/arch/alpha/include/uapi/asm/
A Dmman.h39 #define MCL_CURRENT 8192 /* lock all currently mapped pages */ macro
/linux/tools/laptop/freefall/
A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/linux/tools/perf/bench/
A Dfutex-wake.c149 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
A Dfutex-hash.c148 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
A Dfutex-lock-pi.c171 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
A Dfutex-requeue.c173 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_requeue()
A Dfutex-wake-parallel.c246 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake_parallel()

Completed in 18 milliseconds