Home
last modified time | relevance | path

Searched refs:mlockall (Results 1 - 25 of 35) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmlockall.c22 * @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 Dmunlockall.c34 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 D12-1-buildonly.c11 * int mlockall(int)
24 dummyvar = mlockall; in dummyfcn()
/third_party/musl/porting/liteos_a/user/src/mman/
H A Dmlockall.c5 int mlockall(int flags) in mlockall() function
/third_party/musl/src/mman/
H A Dmlockall.c5 int mlockall(int flags) in mlockall() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
H A D8-1.c10 * 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 D13-2.c10 * 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 D13-1.c10 * 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 D15-1.c10 * 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 D3-7.c10 * 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 D3-6.c10 * 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 Dgetrusage03.h19 mlockall(MCL_CURRENT|MCL_FUTURE); in consume_mb()
/third_party/ltp/testcases/kernel/syscalls/mlockall/
H A Dmlockall01.c23 * 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 Dmlockall03.c24 * 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 Dmlockall02.c24 * 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 D15-1.c10 * 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 D18-1.c11 * 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 Dsys_mman.c47 {int(*p)(int) = mlockall;} in f()
/third_party/toybox/toys/other/
H A Dnbd_client.c79 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 Dmman.h120 int mlockall (int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h124 int mlockall (int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h124 int mlockall (int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h129 int mlockall (int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h124 int mlockall (int);
/third_party/ltp/testcases/realtime/func/gtod_latency/
H A Dgtod_infinite.c134 mlockall(MCL_CURRENT | MCL_FUTURE); in main()

Completed in 7 milliseconds

12