/third_party/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore03.c | 23 bool mlock; member 54 if (tc->mlock) in test_mincore() 71 if (tc->mlock) in test_mincore()
|
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 43 TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); in test_enomem1() 57 TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); in test_enomem2() 74 TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); in test_eperm()
|
D | mlock01.c | 36 TST_EXP_PASS(mlock(addr, tc->len), "mlock(%p, %d)", addr, tc->len); in do_mlock()
|
D | mlock04.c | 42 TST_EXP_PASS(mlock(buf, file_len), "mlock(%p, %d)", buf, file_len); in verify_mlock()
|
D | mlock03.c | 59 if (mlock((const void *)from, to - from) == -1) in verify_mlock()
|
/third_party/rust/crates/rustix/src/mm/ |
D | mmap.rs | 179 pub unsafe fn mlock(ptr: *mut c_void, len: usize) -> io::Result<()> { in mlock() function 180 backend::mm::syscalls::mlock(ptr, len) in mlock()
|
D | mod.rs | 13 mlock, mmap, mmap_anonymous, mprotect, munlock, munmap, MapFlags, MprotectFlags, ProtFlags,
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 11-1-buildonly.c | 24 dummyvar = mlock; in dummyfcn()
|
/third_party/rust/crates/rustix/tests/mm/ |
D | mmap.rs | 97 use rustix::mm::{mlock, mmap_anonymous, munlock, munmap, MapFlags, ProtFlags}; in test_mlock() 105 mlock(addr, 8192).unwrap(); in test_mlock()
|
D | main.rs | 9 mod mlock; module
|
/third_party/musl/src/mman/ |
D | mlock.c | 5 int mlock(const void *addr, size_t len) in mlock() function
|
/third_party/musl/porting/liteos_a/user/src/mman/ |
D | mlock.c | 5 int mlock(const void *addr, size_t len) in mlock() function
|
/third_party/musl/src/linux/ |
D | mlock2.c | 8 return mlock(addr, len); in mlock2()
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
D | syscalls.rs | 180 pub(crate) unsafe fn mlock(addr: *mut c::c_void, length: usize) -> io::Result<()> { in mlock() function 181 ret(c::mlock(addr, length)) in mlock()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/ |
D | 5-1.c | 32 result = mlock(ptr, BUFSIZE); in main()
|
D | 8-1.c | 47 result = mlock(page_ptr, BUFSIZE); in main()
|
D | 10-1.c | 42 result = mlock(notpage_ptr, page_size - 1); in main()
|
D | 12-1.c | 93 result = mlock(ptr, BUFSIZE); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | mlock.c | 35 int result = mlock(memory, memsize); in mlock_0100()
|
D | munlock.c | 36 int ret = mlock(memory, TEST_SIZE); in munlock_0100()
|
D | test_src_functionalext_supplement_mman.gni | 16 "mlock",
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/ |
D | 7-1.c | 32 if (mlock(ptr, BUFSIZE) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/ |
D | 12-1.c | 94 result = mlock(ptr, BUFSIZE); in main()
|
/third_party/ltp/testcases/realtime/lib/ |
D | librttest.c | 115 int mlock = 0; in rt_init_long() local 181 mlock = 1; in rt_init_long() 220 if (mlock) { in rt_init_long()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap20.c | 40 ret = mlock(p, hpage_size); in run_test()
|