Home
last modified time | relevance | path

Searched refs:MCL_CURRENT (Results 1 – 25 of 64) sorted by relevance

123

/external/strace/xlat/
Dmlockall_flags.h7 #if defined(MCL_CURRENT) || (defined(HAVE_DECL_MCL_CURRENT) && HAVE_DECL_MCL_CURRENT)
9 static_assert((MCL_CURRENT) == (0x2000), "MCL_CURRENT != 0x2000");
12 # define MCL_CURRENT 0x2000
29 #if defined(MCL_CURRENT) || (defined(HAVE_DECL_MCL_CURRENT) && HAVE_DECL_MCL_CURRENT)
31 static_assert((MCL_CURRENT) == (1), "MCL_CURRENT != 1");
34 # define MCL_CURRENT 1
63 XLAT(MCL_CURRENT),
67 XLAT(MCL_CURRENT),
Dmlockall_flags.in2 MCL_CURRENT 0x2000
6 MCL_CURRENT 1
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/
D5-1-buildonly.c18 #ifndef MCL_CURRENT
19 #error MCL_CURRENT not defined
/external/ltp/testcases/kernel/syscalls/mlockall/
Dmlockall03.c105 MCL_CURRENT, ENOMEM,
107 MCL_CURRENT, EPERM, "Not a superuser and RLIMIT_MEMLOCK was 0"}, {
108 ~(MCL_CURRENT | MCL_FUTURE), EINVAL, "Unknown flag"}
Dmlockall01.c88 MCL_CURRENT, "MCL_CURRENT"}, {
90 MCL_CURRENT | MCL_FUTURE, "MCL_CURRENT|MCL_FUTURE"}
Dmlockall02.c97 MCL_CURRENT, ENOMEM, "Process exceeds max locked pages"}, {
98 MCL_CURRENT, EPERM, "Not a superuser"}, {
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock2-tests.c505 if (mlockall(MCL_CURRENT)) { in test_munlockall()
531 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()
547 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()
659 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dmlock_test.cc8 assert(0 == mlockall(MCL_CURRENT)); in main()
/external/strace/tests-m32/
Dmlockall.c41 rc = mlockall(MCL_CURRENT); in main()
/external/strace/tests-mx32/
Dmlockall.c41 rc = mlockall(MCL_CURRENT); in main()
/external/strace/tests/
Dmlockall.c41 rc = mlockall(MCL_CURRENT); in main()
/external/kernel-headers/original/uapi/asm-generic/
Dmman.h20 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
D13-2.c23 result = mlockall(~(MCL_CURRENT | MCL_FUTURE)); in main()
D8-1.c22 result = mlockall(MCL_CURRENT); in main()
D15-1.c76 result = mlockall(MCL_CURRENT); in main()
D3-7.c50 if (mlockall(MCL_CURRENT) == -1) { in main()
D3-6.c59 if (mlockall(MCL_CURRENT) == -1) { in main()
/external/syzkaller/sys/netbsd/
Dmm_amd64.const17 MCL_CURRENT = 1
Dmm.txt19 mlockall_flags = MCL_CURRENT, MCL_FUTURE
/external/syzkaller/sys/freebsd/
Dposix_mm_amd64.const14 MCL_CURRENT = 1
Dposix_mm.txt21 mlockall_flags = MCL_CURRENT, MCL_FUTURE
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/
D15-1.c76 result = mlockall(MCL_CURRENT); in main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h65 #define MCL_CURRENT 1 /* lock all current mappings */ macro
/external/toybox/toys/other/
Dnbd_client.c79 if (toys.optflags & FLAG_s) mlockall(MCL_CURRENT|MCL_FUTURE); in nbd_client_main()
/external/ltp/testcases/realtime/func/gtod_latency/
Dgtod_infinite.c134 mlockall(MCL_CURRENT | MCL_FUTURE); in main()

123