Home
last modified time | relevance | path

Searched refs:MCL_FUTURE (Results 1 – 19 of 19) sorted by relevance

/freebsd/tools/regression/p1003_1b/
H A Dmemlock.c63 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { in memlock()
/freebsd/tools/test/stress2/misc/
H A Dmlockall4.sh61 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
H A Dmlockall.sh64 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
H A Dmmap24.sh91 error = mlockall(MCL_CURRENT | MCL_FUTURE);
H A Dmlockall5.sh112 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
H A Dmlockall2.sh142 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0)
H A Dmsync.sh141 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0)
H A Dmlockall6.sh133 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
H A Dswapoff5.sh130 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
/freebsd/lib/libc/tests/sys/
H A Dbrk_test.c109 error = mlockall(MCL_FUTURE); in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/cmd/zed/
H A Dzed.c104 if (mlockall(MCL_CURRENT | MCL_FUTURE) == 0) { in _lock_memory()
/freebsd/sys/sys/
H A Dmman.h132 #define MCL_FUTURE 0x0002 /* Lock all future memory as well */ macro
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c232 if (mlockall(MCL_CURRENT|MCL_FUTURE) != 0 && errno != ENOMEM) in ATF_TC_BODY()
/freebsd/usr.sbin/watchdogd/
H A Dwatchdogd.c168 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) in main()
/freebsd/sys/vm/
H A Dvm_mmap.c1105 if ((uap->how == 0) || ((uap->how & ~(MCL_CURRENT|MCL_FUTURE)) != 0)) in sys_mlockall()
1126 if (uap->how & MCL_FUTURE) { in sys_mlockall()
/freebsd/contrib/ntp/ntpd/
H A Dntpd.c1136 && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))
H A Dntp_config.c3176 if (-1 == mlockall(MCL_CURRENT|MCL_FUTURE)) { in config_rlimit()
/freebsd/lib/geom/eli/
H A Dgeom_eli.c302 if (mlockall(MCL_FUTURE) == -1) { in eli_protect()
/freebsd/tests/sys/posixshm/
H A Dposixshm_test.c1596 ATF_REQUIRE(mlockall(MCL_FUTURE) == 0); in ATF_TC_BODY()