Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmlockall_flags.h2 #if !(defined(MCL_CURRENT) || (defined(HAVE_DECL_MCL_CURRENT) && HAVE_DECL_MCL_CURRENT))
3 # define MCL_CURRENT 1 macro
20 XLAT(MCL_CURRENT),
Dmlockall_flags.in1 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/
Dmlockall01.c88 MCL_CURRENT, "MCL_CURRENT"}, {
90 MCL_CURRENT | MCL_FUTURE, "MCL_CURRENT|MCL_FUTURE"}
Dmlockall03.c104 MCL_CURRENT, ENOMEM,
106 MCL_CURRENT, EPERM, "Not a superuser and RLIMIT_MEMLOCK was 0"}, {
107 ~(MCL_CURRENT | MCL_FUTURE), EINVAL, "Unknown flag"}
Dmlockall02.c96 MCL_CURRENT, ENOMEM, "Process exceeds max locked pages"}, {
97 MCL_CURRENT, EPERM, "Not a superuser"}, {
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dmlock_test.cc8 assert(0 == mlockall(MCL_CURRENT)); in main()
/external/strace/tests/
Dmlockall.c41 rc = 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/kernel-headers/original/uapi/asm-generic/
Dmman.h18 #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.c77 result = mlockall(MCL_CURRENT); in main()
D3-7.c50 if (mlockall(MCL_CURRENT) == -1) { in main()
D3-6.c64 if (mlockall(MCL_CURRENT) == -1) { in main()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock2-tests.c502 if (mlockall(MCL_CURRENT)) { in test_munlockall()
528 if (mlockall(MCL_CURRENT | MCL_ONFAULT)) { in test_munlockall()
544 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in test_munlockall()
656 if (mlockall(MCL_CURRENT | MCL_ONFAULT | MCL_FUTURE)) { in test_mlockall()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/
D15-1.c77 result = mlockall(MCL_CURRENT); in main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h62 #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()
Dgtod_latency.c256 mlockall(MCL_CURRENT | MCL_FUTURE); in main()
/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c168 if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) { in main()
/external/ltp/testcases/realtime/lib/
Dlibrttest.c220 if (mlockall(MCL_CURRENT | MCL_FUTURE)) { in rt_init_long()
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc1127 EXPECT_EQ(0, mlockall(MCL_CURRENT)); in TEST()

12