Home
last modified time | relevance | path

Searched refs:mmap (Results 101 - 125 of 472) sorted by relevance

12345678910>>...19

/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dtkillpoison.c13 char *ptr = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0,0);; in main()
H A Dtsoft.c16 char *map = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, 0, 0); in main()
19 err("mmap"); in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_test.cc1307 absl::btree_multimap<int, int> mmap({{1, 5}, {1, 10}}); in TEST()
1308 auto range = mmap.equal_range(1); in TEST()
1336 absl::btree_multimap<int, int> mmap; in TEST() local
1337 mmap.insert({{1, 5}, {1, 10}}); in TEST()
1338 auto range = mmap.equal_range(1); in TEST()
1411 absl::btree_multimap<int, MovableOnlyInstance> mmap; in TEST() local
1414 mmap.insert(std::move(p4)); in TEST()
1415 mmap.insert(mmap.find(1), std::move(p5)); in TEST()
1416 auto range = mmap in TEST()
[all...]
/third_party/libunwind/libunwind/tests/
H A Dmapper.c63 printf ("Starting mmap test...\n"); in main()
66 if (mmap (NULL, 1, (n & 1) ? PROT_READ : PROT_WRITE, in main()
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
H A Dmemcg_test_4.c20 p = mmap(NULL, MEM_SIZE, PROT_READ | PROT_WRITE, in sigusr_handler()
H A Dmemcg_test_2.c16 p = mmap(NULL, size, PROT_READ | PROT_WRITE, in sigusr_handler()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_force_empty.sh18 start_memcg_process --mmap-anon -s $PAGESIZE
H A Dmemcg_subgroup_charge.sh28 start_memcg_process --mmap-anon -s $MEM_TO_ALLOC
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap08.c11 * verify that, mmap() calls fails with errno EBADF when a file mapping
30 TESTPTR(mmap(NULL, page_sz, PROT_WRITE, MAP_FILE | MAP_SHARED, fd, 0)); in run()
33 tst_res(TFAIL, "mmap() passed unexpectedly"); in run()
36 tst_res(TPASS, "mmap() failed with EBADF"); in run()
38 tst_res(TFAIL | TERRNO, "mmap() failed with an invalid errno"); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D3-1.c49 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
54 perror("An error occurs when calling mmap()"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D23-1.c9 * The mmap() function shall fail if: [ENODEV] The fildes argument refers to a
10 * file whose type is not supported by mmap().
14 * 2. mmap the pipe fd to memory, should get ENODEV;
39 pa = mmap(NULL, 1024, PROT_READ, MAP_SHARED, pipe_fd[0], 0); in main()
52 printf("Text FAILED: mmap() succeded\n"); in main()
H A D19-1.c9 * The mmap() function shall fail if:
32 pa = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
40 perror("mmap()"); in main()
/third_party/ltp/tools/sparse/sparse-src/
H A Dcompat-cygwin.c39 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in blob_alloc()
/third_party/ltp/tools/sparse/sparse-src/compat/
H A Dmmap-blob.c22 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in blob_alloc()
/third_party/mesa3d/src/gallium/auxiliary/os/
H A Dos_mman.h64 mmap(addr, length, prot, flags, fd, offset)
/third_party/musl/libc-test/src/functionalext/supplement/hook/hook_gtest/
H A Dhook_munmap_test.cpp21 void* ptr = mmap(nullptr, MMAP_SIZE, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/
H A Dmman_madvise_test.cpp25 void* addr = mmap(nullptr, LEN, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmunmap.c35 char *p_map = mmap(NULL, sizeof(char) * 10, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(fptr), 0); in munmap_0100()
H A Dmsync.c42 void *map = mmap(NULL, TEST_MS_SIZE, PROT_READ, MAP_SHARED, fd, 0); in msync_0100()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusb_handle.c300 if (handle->ops && handle->ops->mmap) in handle_mmap()
302 mem = handle->ops->mmap(handle, size); in handle_mmap()
/third_party/musl/src/thread/
H A Dsem_open.c91 (map = mmap(0, sizeof(sem_t), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0)) == MAP_FAILED) { in sem_open()
127 (map = mmap(0, sizeof(sem_t), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0)) == MAP_FAILED) { in sem_open()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages_support.c278 shared = mmap(NULL, total_size, in alloc_shared_pages_on_node()
336 sem_mem = mmap(NULL, get_page_size(), in alloc_sem()
H A Dmove_pages12.c75 #include "lapi/mmap.h"
167 ptr = mmap(NULL, tcases[n].tpages * hpsz, in do_test()
181 tst_brk(TBROK, "Failed to mmap at desired addr"); in do_test()
219 mem = mmap(NULL, size, PROT_READ | PROT_WRITE, in alloc_free_huge_on_node()
225 tst_brk(TBROK | TERRNO, "mmap(..., MAP_HUGETLB, ...) failed"); in alloc_free_huge_on_node()
/third_party/backends/backend/
H A Dv4l.h89 SANE_Bool is_mmap; /* Do we use mmap ? */
97 struct video_mmap mmap; member
/third_party/alsa-utils/axfer/
H A Dxfer-libasound.h53 bool mmap:1; member

Completed in 13 milliseconds

12345678910>>...19