Searched refs:MCL_FUTURE (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/tools/testing/selftests/vm/
H A Don-fault-limit.c9 #define MCL_ONFAULT (MCL_FUTURE << 1)
23 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { test_limit()
H A Dmlock2-tests.c19 #define MCL_ONFAULT (MCL_FUTURE << 1)
605 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { test_munlockall()
606 perror("mlockall(MCL_CURRENT | MCL_FUTURE)"); test_munlockall()
717 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { test_mlockall()
/linux-4.4.14/include/uapi/asm-generic/
H A Dmman.h19 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dmman.h24 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dmman.h19 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
/linux-4.4.14/arch/tile/include/uapi/asm/
H A Dmman.h38 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dmman.h39 #define MCL_FUTURE 16384 /* lock all additions to address space */ macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Dmman.h33 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux-4.4.14/tools/laptop/freefall/
H A Dfreefall.c144 mlockall(MCL_CURRENT|MCL_FUTURE); main()
/linux-4.4.14/arch/xtensa/include/uapi/asm/
H A Dmman.h76 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dmman.h63 #define MCL_FUTURE 2 /* lock all future mappings */ macro
/linux-4.4.14/mm/
H A Dmlock.c682 * is called once including the MCL_FUTURE flag and then a second time without
691 if (flags & MCL_FUTURE) { apply_mlockall_flags()
726 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) SYSCALL_DEFINE1()
H A Dmmap.c1252 /* mlock MCL_FUTURE? */ mlock_future_check()

Completed in 1181 milliseconds