Searched refs:MCL_FUTURE (Results 1 – 14 of 14) sorted by relevance
10 #define MCL_ONFAULT (MCL_FUTURE << 1)24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
12 #define MCL_ONFAULT (MCL_FUTURE << 1)
547 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()659 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
21 #define MCL_FUTURE 2 /* lock all future mappings */ macro
22 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
25 #define MCL_FUTURE 0x4000 /* lock all additions to address space */ macro
42 #define MCL_FUTURE 16384 /* lock all additions to address space */ macro
36 #define MCL_FUTURE 2 /* lock all future mappings */ macro
66 #define MCL_FUTURE 2 /* lock all future mappings */ macro
79 #define MCL_FUTURE 2 /* lock all future mappings */ macro
144 mlockall(MCL_CURRENT|MCL_FUTURE); in main()
765 if (flags & MCL_FUTURE) { in apply_mlockall_flags()800 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) in SYSCALL_DEFINE1()
260 (3) mmapping a region in a task that has called mlockall() with the MCL_FUTURE477 task that has previously called mlockall() with the MCL_FUTURE flag will result