Home
last modified time | relevance | path

Searched refs:MAP_FIXED (Results 1 – 25 of 71) sorted by relevance

123

/external/strace/xlat/
Dmmap_flags.h28 #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 …]
Dmmap_flags.in10 MAP_FIXED 0x4
12 MAP_FIXED 0x100
14 MAP_FIXED 0x10
/external/linux-kselftest/tools/testing/selftests/vm/
Dva_128TBswitch.c80 .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,
Dhugepage-mmap.c33 #define FLAGS (MAP_SHARED | MAP_FIXED)
/external/strace/tests-m32/
Dold_mmap.c66 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()
Dremap_file_pages.c81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests/
Dold_mmap.c66 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()
Dremap_file_pages.c81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests-mx32/
Dold_mmap.c66 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()
Dremap_file_pages.c81 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/
D3-3-buildonly.c18 #ifndef MAP_FIXED
19 #error MAP_FIXED not defined
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress03.c146 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()
Dmmapstress05.c180 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/
Dgem_ctx_sseu.c273 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/
D3-1.c34 #ifdef MAP_FIXED
109 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main()
D9-1.c77 pa = mmap(illegal_addr, size, PROT_READ | PROT_WRITE, MAP_FIXED, fd, 0); in main()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/external/compiler-rt/test/esan/TestCases/
Dmmap-shadow-conflict.c10 MAP_ANON|MAP_PRIVATE|MAP_FIXED, -1, 0); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc32 MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in main()
Ddlclose-test.cc76 MAP_PRIVATE | MAP_ANON | MAP_FIXED | MAP_NORESERVE, -1, 0); in main()
/external/compiler-rt/test/msan/
Dmmap_below_shadow.cc36 MAP_PRIVATE | MAP_ANONYMOUS | (FIXED ? MAP_FIXED : 0), -1, 0); in main()
/external/kernel-headers/original/uapi/asm-generic/
Dmman-common.h20 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/external/compiler-rt/lib/esan/
Desan_linux.cpp57 if (Flags & MAP_FIXED) { in fixMmapAddr()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap15.c75 MAP_SHARED | MAP_FIXED, fd, 0); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB

123