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

/linux-master/include/uapi/asm-generic/
H A Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dmman.h20 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-master/arch/sparc/include/uapi/asm/
H A Dmman.h23 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-master/arch/powerpc/include/uapi/asm/
H A Dmman.h27 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
/linux-master/tools/testing/selftests/mm/
H A Don-fault-limit.c18 if (mlockall(MCL_ONFAULT | MCL_FUTURE))
H A Dmlock2-tests.c326 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) {
328 ksft_exit_fail_msg("mlockall(MCL_CURRENT | MCL_ONFAULT): %s\n", strerror(errno));
434 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE))
/linux-master/arch/alpha/include/uapi/asm/
H A Dmman.h41 #define MCL_ONFAULT 32768 /* lock all pages that are faulted in */ macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dmman.h74 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dmman.h36 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dmman.h65 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
/linux-master/mm/
H A Dmlock.c725 if (flags & MCL_ONFAULT)
734 if (flags & MCL_ONFAULT)
758 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)) ||
759 flags == MCL_ONFAULT)

Completed in 150 milliseconds