Searched refs:MCL_CURRENT (Results 1 – 7 of 7) sorted by relevance
63 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { in memlock()
111 #define MCL_CURRENT 0x0001 /* Lock only current memory */ 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))1125 if (!old_mlock && uap->how & MCL_CURRENT) {1148 if (uap->how & MCL_CURRENT) {
913 && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))
2661 if (-1 == mlockall(MCL_CURRENT|MCL_FUTURE)) { in config_rlimit()