Home
last modified time | relevance | path

Searched refs:MCL_ONFAULT (Results 1 – 6 of 6) sorted by relevance

/linux/tools/include/uapi/asm-generic/
H A Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dmman.h23 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux/arch/powerpc/include/uapi/asm/
H A Dmman.h27 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ 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.c313 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall0()
315 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_ONFAULT): %s\n", strerror(errno));
421 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) in test_vma_management()
/linux/mm/
H A Dmlock.c714 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
723 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
750 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
751 flags == MCL_ONFAULT) in SYSCALL_DEFINE1()