HomeSort by relevance Sort by last modified time
    Searched refs:mlock (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/strace/tests/
mlock.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (mlock -a20 -e trace=mlock,munlock); do not edit.
4 run_strace_match_diff -a20 -e trace=mlock,munlock
  /external/strace/tests-m32/
mlock.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (mlock -a20 -e trace=mlock,munlock); do not edit.
4 run_strace_match_diff -a20 -e trace=mlock,munlock
  /external/strace/tests-mx32/
mlock.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (mlock -a20 -e trace=mlock,munlock); do not edit.
4 run_strace_match_diff -a20 -e trace=mlock,munlock
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/
11-1-buildonly.c 11 * int mlock(const void *, size_t)
24 dummyvar = mlock;
  /bionic/libc/arch-arm/syscalls/
mlock.S 5 ENTRY(mlock) function
16 END(mlock)
  /bionic/libc/arch-arm64/syscalls/
mlock.S 5 ENTRY(mlock) function
14 END(mlock)
  /bionic/libc/arch-mips/syscalls/
mlock.S 5 ENTRY(mlock) function
19 END(mlock)
  /bionic/libc/arch-x86_64/syscalls/
mlock.S 5 ENTRY(mlock) function
15 END(mlock)
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
mlock_test.cc 9 assert(0 == mlock((void *)0x12345, 0x5678));
  /bionic/libc/arch-mips64/syscalls/
mlock.S 5 ENTRY(mlock) function
25 END(mlock)
  /bionic/libc/arch-x86/syscalls/
mlock.S 5 ENTRY(mlock) function
34 END(mlock)
  /external/linux-kselftest/tools/testing/selftests/vm/
Makefile 17 TEST_GEN_FILES += mlock-random-test
32 $(OUTPUT)/mlock-random-test: LDLIBS += -lcap
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
5-1.c 10 * Test that mlock return a value of zero upon successful completion.
32 result = mlock(ptr, BUFSIZE);
37 printf("mlock did not return a value of zero\n");
8-1.c 10 * Test that the mlock() function sets errno = ENOMEM if some or all of the
39 result = mlock(page_ptr, BUFSIZE);
10-1.c 10 * Test that mlock() set errno = EINVAL when addr is not a multiple of
42 result = mlock(notpage_ptr, page_size - 1);
46 ("mlock() does not require that addr be a multiple of {PAGESIZE}.\nTest PASSED\n");
50 ("mlock() requires that addr be a multiple of {PAGESIZE}.\nTest PASSED\n");
57 printf("mlock() returns a value of %i instead of 0 or 1.\n",
59 perror("mlock");
12-1.c 10 * Test that the mlock() function sets errno = EPERM if the calling process
48 * mlock()
93 result = mlock(ptr, BUFSIZE);
99 printf("You have the right to call mlock\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/
7-1.c 32 if (mlock(ptr, BUFSIZE) != 0) {
37 perror("An error occurs when calling mlock()");
47 printf("mlock did not return a value of zero\n");
  /external/u-boot/arch/arc/
config.mk 36 PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
  /bionic/libc/include/sys/
mman.h 76 int mlock(const void* __addr, size_t __size);
  /bionic/tests/headers/posix/
sys_mman_h.c 74 FUNCTION(mlock, int (*f)(const void*, size_t));
  /external/ltp/testcases/kernel/syscalls/mlock/
mlock01.c 25 * Test to see that mlock works
29 * Call mlock with various valid addresses and lengths. No
68 /* mlock should return ENOMEM when some or all of the address
105 TEST(mlock(*(TC[i].addr), TC[i].len));
111 tst_resm(TFAIL | TTERRNO, "mlock failed");
113 tst_resm(TPASS, "mlock passed");
mlock03.c 2 * Stack size mapping is decreased through mlock/munlock call.
5 * mapping through several loops of mlock/munlock of /proc/self/maps.
77 if (mlock((const void *)from, to - from) == -1)
79 "mlock failed");
90 (lc & 1) ? "munlock" : "mlock", from, to);
mlock04.c 5 * [PATCH] mlock: revert the optimization for dirtying pages and triggering writeback.
7 * "In 5ecfda0, we do some optimization in mlock, but it causes
8 * a very basic test case(attached below) of mlock to fail. So
68 if (mlock(buf, file_len) == -1)
69 tst_brkm(TBROK | TERRNO, cleanup, "mlock");
  /external/ltp/testcases/kernel/syscalls/munlock/
munlock01.c 115 "mlock(%p, %d) Failed with "
136 TEST(mlock(*(TC[i].addr), TC[i].len));
141 "mlock(%p, %d) Failed with return=%ld", TC[i].addr,
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/
12-1.c 10 * Test that the mlock() function sets errno = EPERM if the calling process
49 * mlock()
94 result = mlock(ptr, BUFSIZE);
100 printf("You have the right to call mlock\n");

Completed in 593 milliseconds

1 2 3 4