Searched refs:MCL_CURRENT (Results 1 – 25 of 64) sorted by relevance
123
/external/strace/xlat/ |
D | mlockall_flags.h | 7 #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),
|
D | mlockall_flags.in | 2 MCL_CURRENT 0x2000 6 MCL_CURRENT 1
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 5-1-buildonly.c | 18 #ifndef MCL_CURRENT 19 #error MCL_CURRENT not defined
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall03.c | 105 MCL_CURRENT, ENOMEM, 107 MCL_CURRENT, EPERM, "Not a superuser and RLIMIT_MEMLOCK was 0"}, { 108 ~(MCL_CURRENT | MCL_FUTURE), EINVAL, "Unknown flag"}
|
D | mlockall01.c | 88 MCL_CURRENT, "MCL_CURRENT"}, { 90 MCL_CURRENT | MCL_FUTURE, "MCL_CURRENT|MCL_FUTURE"}
|
D | mlockall02.c | 97 MCL_CURRENT, ENOMEM, "Process exceeds max locked pages"}, { 98 MCL_CURRENT, EPERM, "Not a superuser"}, {
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | mlock2-tests.c | 505 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/ |
D | mlock_test.cc | 8 assert(0 == mlockall(MCL_CURRENT)); in main()
|
/external/strace/tests-m32/ |
D | mlockall.c | 41 rc = mlockall(MCL_CURRENT); in main()
|
/external/strace/tests-mx32/ |
D | mlockall.c | 41 rc = mlockall(MCL_CURRENT); in main()
|
/external/strace/tests/ |
D | mlockall.c | 41 rc = mlockall(MCL_CURRENT); in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | mman.h | 20 #define MCL_CURRENT 1 /* lock all current mappings */ macro
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
D | 13-2.c | 23 result = mlockall(~(MCL_CURRENT | MCL_FUTURE)); in main()
|
D | 8-1.c | 22 result = mlockall(MCL_CURRENT); in main()
|
D | 15-1.c | 76 result = mlockall(MCL_CURRENT); in main()
|
D | 3-7.c | 50 if (mlockall(MCL_CURRENT) == -1) { in main()
|
D | 3-6.c | 59 if (mlockall(MCL_CURRENT) == -1) { in main()
|
/external/syzkaller/sys/netbsd/ |
D | mm_amd64.const | 17 MCL_CURRENT = 1
|
D | mm.txt | 19 mlockall_flags = MCL_CURRENT, MCL_FUTURE
|
/external/syzkaller/sys/freebsd/ |
D | posix_mm_amd64.const | 14 MCL_CURRENT = 1
|
D | posix_mm.txt | 21 mlockall_flags = MCL_CURRENT, MCL_FUTURE
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/ |
D | 15-1.c | 76 result = mlockall(MCL_CURRENT); in main()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | mman.h | 65 #define MCL_CURRENT 1 /* lock all current mappings */ macro
|
/external/toybox/toys/other/ |
D | nbd_client.c | 79 if (toys.optflags & FLAG_s) mlockall(MCL_CURRENT|MCL_FUTURE); in nbd_client_main()
|
/external/ltp/testcases/realtime/func/gtod_latency/ |
D | gtod_infinite.c | 134 mlockall(MCL_CURRENT | MCL_FUTURE); in main()
|
123