Searched refs:MCL_FUTURE (Results 1 – 8 of 8) sorted by relevance
63 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { in memlock()
112 #define MCL_FUTURE 0x0002 /* Lock all future memory as well */ macro
122 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) in main()
371 if (!locked_ok && mlockall(MCL_CURRENT|MCL_FUTURE) != 0) in do_memory_locking()
1118 if ((uap->how == 0) || ((uap->how & ~(MCL_CURRENT|MCL_FUTURE)) != 0))1141 if (uap->how & MCL_FUTURE) {
913 && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))
2661 if (-1 == mlockall(MCL_CURRENT|MCL_FUTURE)) { in config_rlimit()
269 if (mlockall(MCL_FUTURE) == -1) { in eli_protect()