/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | mlockall.c | 22 * @tc.desc : Verify mlockall success. When flag is MCL_CURRENT. 34 int result = mlockall(MCL_CURRENT); in mlockall_0100() 44 * @tc.desc : Verify mlockall success. When flag is MCL_FUTURE. 49 int result = mlockall(MCL_FUTURE); in mlockall_0200() 65 * @tc.desc : Verify mlockall success. When flag is error. 77 int result = mlockall(-1); in mlockall_0300()
|
H A D | munlockall.c | 34 int result = mlockall(MCL_CURRENT); in munlockall_0100() 50 int result = mlockall(MCL_FUTURE); in munlockall_0200()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
H A D | 12-1-buildonly.c | 11 * int mlockall(int) 24 dummyvar = mlockall; in dummyfcn()
|
/third_party/musl/porting/liteos_a/user/src/mman/ |
H A D | mlockall.c | 5 int mlockall(int flags) in mlockall() function
|
/third_party/musl/src/mman/ |
H A D | mlockall.c | 5 int mlockall(int flags) in mlockall() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
H A D | 8-1.c | 10 * Test that mlockall return a value of zero upon successful completion. 22 result = mlockall(MCL_CURRENT); in main() 27 printf("mlockall did not return a value of zero\n"); in main()
|
H A D | 13-2.c | 10 * Test that the mlockall() function set errno = EINVAL if the flags argument 23 result = mlockall(~(MCL_CURRENT | MCL_FUTURE)); in main() 29 printf("mlockall() return %i instead of -1.\n", result); in main()
|
H A D | 13-1.c | 10 * Test that the mlockall() function set errno = EINVAL if the flags argument 23 result = mlockall(0); in main() 29 printf("mlockall() return %i instead of -1.\n", result); in main()
|
H A D | 15-1.c | 10 * Test that the mlockall() function set errno = EPERM if the calling process 76 result = mlockall(MCL_CURRENT); in main() 82 printf("You have the right to call mlockall\n"); in main()
|
H A D | 3-7.c | 10 * Test that mlockall lock the mapped files pages currently mapped into the 50 if (mlockall(MCL_CURRENT) == -1) { in main() 55 perror("An error occurs when calling mlockall()"); in main()
|
H A D | 3-6.c | 10 * Test that mlockall lock the shared memory pages currently mapped into the 59 if (mlockall(MCL_CURRENT) == -1) { in main() 64 perror("An error occurs when calling mlockall()"); in main()
|
/third_party/ltp/testcases/kernel/syscalls/getrusage/ |
H A D | getrusage03.h | 19 mlockall(MCL_CURRENT|MCL_FUTURE); in consume_mb()
|
/third_party/ltp/testcases/kernel/syscalls/mlockall/ |
H A D | mlockall01.c | 23 * TEST TITLE : Basic test for mlockall(2) 34 * This is a Phase I test for the mlockall(2) system call. 85 * Check for all possible flags of mlockall 107 TEST(mlockall(TC[i].flag)); in main() 113 "mlockall(%s) Failed with " in main() 117 tst_resm(TPASS, "mlockall test passed for %s", in main()
|
H A D | mlockall03.c | 24 * mlockall(2) 36 * Verify that mlockall(2) returns -1 and sets errno to 143 tst_resm(TFAIL, "mlockall() Failed while setup " in main() 148 TEST(mlockall(TC[i].flag)); in main() 154 "mlockall() Failed with wrong " in main() 167 "mlockall() Failed, expected " in main() 236 "for mlockall() error %s\n", TC[i].edesc); in setup_test() 247 "for mlockall() error %s\n", TC[i].edesc); in setup_test() 281 "checking for mlockall() error %s\n", in cleanup_test()
|
H A D | mlockall02.c | 24 * mlockall(2) 120 tst_resm(TFAIL, "mlockall() Failed while setup " in main() 125 TEST(mlockall(TC[i].flag)); in main() 191 "for mlockall error %s\n", TC[i].edesc); in setup_test() 211 "mlockall error %s\n", TC[i].edesc); in setup_test() 242 "checking for mlockall error %s\n", in cleanup_test()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/ |
H A D | 15-1.c | 10 * Test that the mlockall() function set errno = EPERM if the calling process 76 result = mlockall(MCL_CURRENT); in main() 82 printf("You have the right to call mlockall\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 18-1.c | 11 * if required by mlockall(), due to a lack of resources. 14 * 1. Call mlockall(), setting MCL_FUTURE; 82 if (mlockall(MCL_FUTURE) == -1) { in main() 83 printf("Error at mlockall(): %s\n", strerror(errno)); in main() 125 * Lock all the memory by mlockall(). in main()
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_mman.c | 47 {int(*p)(int) = mlockall;} in f()
|
/third_party/toybox/toys/other/ |
H A D | nbd_client.c | 79 if (toys.optflags & FLAG_s) mlockall(MCL_CURRENT|MCL_FUTURE); in nbd_client_main()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 120 int mlockall (int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 124 int mlockall (int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 124 int mlockall (int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 129 int mlockall (int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 124 int mlockall (int);
|
/third_party/ltp/testcases/realtime/func/gtod_latency/ |
H A D | gtod_infinite.c | 134 mlockall(MCL_CURRENT | MCL_FUTURE); in main()
|