Searched refs:MCL_ONFAULT (Results 1 – 12 of 12) sorted by relevance
9 #ifndef MCL_ONFAULT10 #define MCL_ONFAULT (MCL_FUTURE << 1) macro24 if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { in test_limit()
11 #ifndef MCL_ONFAULT12 #define MCL_ONFAULT (MCL_FUTURE << 1) macro
531 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()659 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
22 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
23 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
26 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ macro
43 #define MCL_ONFAULT 32768 /* lock all pages that are faulted in */ macro
37 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
80 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
67 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */ macro
768 if (flags & MCL_ONFAULT) in apply_mlockall_flags()777 if (flags & MCL_ONFAULT) in apply_mlockall_flags()800 if (!flags || (flags & ~(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT))) in SYSCALL_DEFINE1()