/external/strace/xlat/ |
D | mmap_flags.h | 28 #if defined(MAP_FIXED) || (defined(HAVE_DECL_MAP_FIXED) && HAVE_DECL_MAP_FIXED) 30 static_assert((MAP_FIXED) == (0x4), "MAP_FIXED != 0x4"); 33 # define MAP_FIXED 0x4 36 #if defined(MAP_FIXED) || (defined(HAVE_DECL_MAP_FIXED) && HAVE_DECL_MAP_FIXED) 38 static_assert((MAP_FIXED) == (0x100), "MAP_FIXED != 0x100"); 41 # define MAP_FIXED 0x100 44 #if defined(MAP_FIXED) || (defined(HAVE_DECL_MAP_FIXED) && HAVE_DECL_MAP_FIXED) 46 static_assert((MAP_FIXED) == (0x10), "MAP_FIXED != 0x10"); 49 # define MAP_FIXED 0x10 479 XLAT(MAP_FIXED), [all …]
|
D | mmap_flags.in | 10 MAP_FIXED 0x4 12 MAP_FIXED 0x100 14 MAP_FIXED 0x10
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | va_128TBswitch.c | 80 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 114 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 162 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 199 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
|
D | hugepage-mmap.c | 33 #define FLAGS (MAP_SHARED | MAP_FIXED)
|
/external/strace/tests-m32/ |
D | old_mmap.c | 66 MAP_FILE|MAP_FIXED, /* flags */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
D | remap_file_pages.c | 81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
|
/external/strace/tests/ |
D | old_mmap.c | 66 MAP_FILE|MAP_FIXED, /* flags */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
D | remap_file_pages.c | 81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
|
/external/strace/tests-mx32/ |
D | old_mmap.c | 66 MAP_FILE|MAP_FIXED, /* flags */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
D | remap_file_pages.c | 81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 3-3-buildonly.c | 18 #ifndef MAP_FIXED 19 #error MAP_FIXED not defined
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress03.c | 146 PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_FIXED | MAP_SHARED, in main() 169 MAP_ANONYMOUS | MAP_FIXED | MAP_PRIVATE, 0, 0) in do_test() 177 MAP_ANONYMOUS | MAP_FIXED | MAP_PRIVATE, 0, 0) in do_test()
|
D | mmapstress05.c | 180 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, in main() 187 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, in main() 194 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, 0) == (caddr_t) - 1) { in main()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_sseu.c | 273 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 277 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 291 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 295 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 348 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 351 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 3-1.c | 34 #ifdef MAP_FIXED 109 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main()
|
D | 9-1.c | 77 pa = mmap(illegal_addr, size, PROT_READ | PROT_WRITE, MAP_FIXED, fd, 0); in main()
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | mman.h | 4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
|
/external/compiler-rt/test/esan/TestCases/ |
D | mmap-shadow-conflict.c | 10 MAP_ANON|MAP_PRIVATE|MAP_FIXED, -1, 0); in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | large_allocator_unpoisons_on_free.cc | 32 MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in main()
|
D | dlclose-test.cc | 76 MAP_PRIVATE | MAP_ANON | MAP_FIXED | MAP_NORESERVE, -1, 0); in main()
|
/external/compiler-rt/test/msan/ |
D | mmap_below_shadow.cc | 36 MAP_PRIVATE | MAP_ANONYMOUS | (FIXED ? MAP_FIXED : 0), -1, 0); in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | mman-common.h | 20 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
|
/external/compiler-rt/lib/esan/ |
D | esan_linux.cpp | 57 if (Flags & MAP_FIXED) { in fixMmapAddr()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap15.c | 75 MAP_SHARED | MAP_FIXED, fd, 0); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
D | large_vm_fork_separation.c | 20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
|