Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/vm/
Don-fault-limit.c9 #ifndef MCL_ONFAULT
10 #define MCL_ONFAULT (MCL_FUTURE << 1) macro
24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
Dmlock2.h11 #ifndef MCL_ONFAULT
12 #define MCL_ONFAULT (MCL_FUTURE << 1) macro
Dmlock2-tests.c372 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()
500 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
/linux-6.1.9/tools/include/uapi/asm-generic/
Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-6.1.9/include/uapi/asm-generic/
Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dmman.h23 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/powerpc/include/uapi/asm/
Dmman.h27 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/xtensa/include/uapi/asm/
Dmman.h74 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/parisc/include/uapi/asm/
Dmman.h36 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/mips/include/uapi/asm/
Dmman.h65 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dmman.h41 #define MCL_ONFAULT 32768 /* lock all pages that are faulted in */ macro
/linux-6.1.9/mm/
Dmlock.c669 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
678 if (flags & MCL_ONFAULT) in apply_mlockall_flags()
702 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) || in SYSCALL_DEFINE1()
703 flags == MCL_ONFAULT) in SYSCALL_DEFINE1()