Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c345 if (mlockall(MCL_CURRENT)) { in test_munlockall()
371 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()
387 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()
499 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
/openbmc/linux/include/uapi/asm-generic/
H A Dmman.h18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dmman.h18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/qemu/linux-headers/asm-generic/
H A Dmman.h18 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dmman.h21 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dmman.h25 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
/openbmc/qemu/linux-headers/asm-powerpc/
H A Dmman.h25 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ macro
/openbmc/linux/mm/
H A Dmlock.c680 if (!(flags & MCL_CURRENT)) in apply_mlockall_flags()
684 if (flags & MCL_CURRENT) { in apply_mlockall_flags()
710 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
724 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || in SYSCALL_DEFINE1()
728 if (!ret && (flags & MCL_CURRENT)) in SYSCALL_DEFINE1()
/openbmc/qemu/linux-headers/asm-mips/
H A Dmman.h63 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dmman.h72 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dmman.h34 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dmman.h39 #define MCL_CURRENT 8192 /* lock all currently mapped pages */ macro
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dmman.h63 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/openbmc/linux/tools/laptop/freefall/
H A Dfreefall.c143 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
/openbmc/qemu/
H A Dos-posix.c309 ret = mlockall(MCL_CURRENT | MCL_FUTURE); in os_mlock()
/openbmc/linux/tools/perf/bench/
H A Dfutex-wake.c162 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_wake()
H A Dfutex-lock-pi.c185 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_lock_pi()
H A Dfutex-hash.c151 if (mlockall(MCL_CURRENT | MCL_FUTURE)) in bench_futex_hash()
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()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch121 pub const MCL_CURRENT: ::c_int = 0x0001;
/openbmc/qemu/linux-user/
H A Dstrace.c1423 FLAG_TARGET(MCL_CURRENT),
H A Dsyscall.c7549 result |= MCL_CURRENT; in target_to_host_mlockall_arg()