Home
last modified time | relevance | path

Searched refs:mlockall (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-14.2/tools/test/stress2/misc/
H A Dmlockall.sh37 sed '1,/^EOF/d' < $odir/$0 > mlockall.c
38 mycc -o mlockall -Wall mlockall.c
39 rm -f mlockall.c
42 /tmp/mlockall &
44 ps -x | grep /tmp/mlockall | grep -v grep | awk '{print $1}' | \
51 rm -f /tmp/mlockall
64 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
H A Dmlockall4.sh61 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)
H A Dmmap10.sh212 if (mlockall(flags) == 0)
H A Dmlockall7.sh134 mlockall(flags);
H A Dmmap11.sh214 if (mlockall(flags) == 0)
H A Dmmap18.sh223 if (mlockall(flags) == 0)
/freebsd-14.2/tools/regression/p1003_1b/
H A Dmemlock.c63 if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { in memlock()
76 int mlockall(int flags) in mlockall() function
/freebsd-14.2/sys/contrib/openzfs/config/
H A Duser.m436 AC_CHECK_FUNCS([execvpe issetugid mlockall strlcat strlcpy gettid])
/freebsd-14.2/lib/libc/tests/sys/
H A Dbrk_test.c109 error = mlockall(MCL_FUTURE); in ATF_TC_BODY()
/freebsd-14.2/sys/contrib/openzfs/cmd/zed/
H A Dzed.c104 if (mlockall(MCL_CURRENT | MCL_FUTURE) == 0) { in _lock_memory()
/freebsd-14.2/sys/sys/
H A Dmman.h345 int mlockall(int);
H A Dsyscall.mk198 mlockall.o \
/freebsd-14.2/lib/libc/sys/
H A DMakefile.inc254 mlockall.2 \
453 MLINKS+=mlockall.2 munlockall.2
H A DSymbol.map163 mlockall;
/freebsd-14.2/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-14.2/usr.sbin/watchdogd/
H A Dwatchdogd.c168 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) in main()
/freebsd-14.2/contrib/capsicum-test/
H A Dcapmode.cc395 int rc = mlockall(MCL_CURRENT); in FORK_TEST()
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntpd.c1152 && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))
/freebsd-14.2/contrib/ntp/
H A Dconfigure.ac879 # In the belief that the fix for bug 1223 fixes mlockall() under linux...
890 # mlockall is there, as a #define calling memlk via <sys/mman.h>
893 AC_CHECK_FUNCS([mlockall])
895 *) AC_CHECK_FUNCS([mlockall])

12