/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 42 {.flags = MAP_SHARED,.prot = PROT_NONE}, 43 {.flags = MAP_SHARED,.prot = PROT_READ}, 44 {.flags = MAP_SHARED,.prot = PROT_WRITE}, 45 {.flags = MAP_SHARED,.prot = PROT_EXEC}, 46 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE}, 47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC}, 48 {.flags = MAP_SHARED,.prot = PROT_EXEC | PROT_WRITE}, 49 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 78 case MAP_SHARED: in print_error()
|
D | 21-1.c | 53 flag = MAP_SHARED; in main() 54 while (flag == MAP_SHARED || flag == MAP_PRIVATE || flag == MAP_FIXED) in main()
|
D | 7-1.c | 64 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main() 81 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
D | 27-1.c | 74 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main() 80 pa = mmap(pa, len / 2, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0); in main()
|
D | 24-2.c | 72 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main() 94 pa = mmap(addr, len, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_SHARED, fd, in main()
|
D | 11-4.c | 79 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main() 120 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
D | 3-1.c | 96 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main() 110 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main()
|
/external/openssh/openbsd-compat/ |
D | xmmap.c | 54 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, in xmmap() 57 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap() 76 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
|
/external/autotest/client/site_tests/security_mprotect/src/ |
D | prot_exec.c | 37 PROT_READ | PROT_WRITE, MAP_SHARED, in main() 43 PROT_READ | PROT_EXEC, MAP_SHARED, in main() 48 PROT_READ, MAP_SHARED, in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 3-1-buildonly.c | 18 #ifndef MAP_SHARED 19 #error MAP_SHARED not defined
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap02.c | 129 MAP_SHARED, nfildes, 0); in main() 142 MAP_SHARED | MAP_FIXED, nfildes, 0); in main() 156 MAP_SHARED, fildes, 0); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 14-2.c | 55 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); in main() 69 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
D | 1-1.c | 56 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); in main() 72 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
D | 28-3.c | 57 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); in main() 79 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
D | 5-1.c | 65 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); in child_process() 98 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
D | 28-1.c | 56 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); in main() 89 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | hugepage-mmap.c | 32 #define FLAGS (MAP_SHARED | MAP_FIXED) 35 #define FLAGS (MAP_SHARED)
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 155 MAP_SHARED, in mfd_assert_mmap_shared() 268 MAP_SHARED, in mfd_assert_write() 282 MAP_SHARED, in mfd_assert_write() 297 MAP_SHARED, in mfd_assert_write() 342 MAP_SHARED, in mfd_fail_write() 354 MAP_SHARED, in mfd_fail_write() 367 MAP_SHARED, in mfd_fail_write()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 83 MAP_SHARED | MAP_ANONYMOUS, in test_advice_willneed() 90 MAP_SHARED | MAP_ANONYMOUS, in test_advice_willneed()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/ |
D | 2-1.c | 74 MAP_SHARED, shm_fd, 0); in main() 133 MAP_SHARED, shm_fd, 0); in main()
|
D | 2-2.c | 83 MAP_SHARED, shm_fd, 0); in main() 140 MAP_SHARED, shm_fd, 0); in main()
|
/external/strace/xlat/ |
D | mmap_flags.h | 15 #if defined(MAP_SHARED) || (defined(HAVE_DECL_MAP_SHARED) && HAVE_DECL_MAP_SHARED) 16 XLAT(MAP_SHARED),
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/ |
D | 2-1.c | 100 MAP_SHARED, shm_fd, 0); in main() 165 MAP_SHARED, shm_fd, 0); in main()
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | shmem_test_03.c | 199 MAP_SHARED, fd, 0)) < 0) in main() 214 MAP_SHARED, fd, 0)) < 0) in main() 230 MAP_SHARED, fd, 0)) < 0) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/ |
D | 2-1.c | 120 MAP_SHARED, shm_fd, 0); in main() 150 PROT_READ | PROT_WRITE, MAP_SHARED, shm_fd, 0); in main()
|