Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/vm/
Don-fault-limit.c8 #ifndef MCL_ONFAULT
9 #define MCL_ONFAULT (MCL_FUTURE << 1) macro
23 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
Dmlock2-tests.c18 #ifndef MCL_ONFAULT
19 #define MCL_ONFAULT (MCL_FUTURE << 1) macro
589 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()
717 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
/linux-4.4.14/include/uapi/asm-generic/
Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/tile/include/uapi/asm/
Dmman.h39 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dmman.h25 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/sparc/include/uapi/asm/
Dmman.h20 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
Dmman.h34 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dmman.h40 #define MCL_ONFAULT 32768 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/mips/include/uapi/asm/
Dmman.h64 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-4.4.14/arch/xtensa/include/uapi/asm/
Dmman.h77 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-4.4.14/mm/
Dmlock.c694 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
703 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
726 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) in SYSCALL_DEFINE1()