Home
last modified time | relevance | path

Searched refs:MAP_ANONYMOUS (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/linux-kselftest/tools/testing/selftests/vm/
Dva_128TBswitch.c58 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
70 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
81 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
88 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
94 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
101 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
108 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
115 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
122 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
128 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
[all …]
Dvirtual_address_range.c89 PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in validate_lower_address_hint()
106 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
122 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
/external/linux-kselftest/tools/testing/selftests/x86/
D5lvl.c23 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
30 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
37 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
44 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
51 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
57 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
64 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
70 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
78 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
86 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
[all …]
/external/strace/xlat/
Dmmap_flags.h53 #if defined(MAP_ANONYMOUS) || (defined(HAVE_DECL_MAP_ANONYMOUS) && HAVE_DECL_MAP_ANONYMOUS)
55 static_assert((MAP_ANONYMOUS) == (0x10), "MAP_ANONYMOUS != 0x10");
58 # define MAP_ANONYMOUS 0x10
61 #if defined(MAP_ANONYMOUS) || (defined(HAVE_DECL_MAP_ANONYMOUS) && HAVE_DECL_MAP_ANONYMOUS)
63 static_assert((MAP_ANONYMOUS) == (0x800), "MAP_ANONYMOUS != 0x800");
66 # define MAP_ANONYMOUS 0x800
69 #if defined(MAP_ANONYMOUS) || (defined(HAVE_DECL_MAP_ANONYMOUS) && HAVE_DECL_MAP_ANONYMOUS)
71 static_assert((MAP_ANONYMOUS) == (0x20), "MAP_ANONYMOUS != 0x20");
74 # define MAP_ANONYMOUS 0x20
87 #if defined MAP_RENAME && MAP_RENAME == MAP_ANONYMOUS
[all …]
Dmmap_flags.in18 MAP_ANONYMOUS 0x10
20 MAP_ANONYMOUS 0x800
22 MAP_ANONYMOUS 0x20
31 #if defined MAP_RENAME && MAP_RENAME == MAP_ANONYMOUS /* MAP_RENAME is unusual */
34 /* glibc erroneously defines MAP_RENAME to MAP_ANONYMOUS on some architectures. */
/external/libunwind/tests/
Dmapper.c39 #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
40 # define MAP_ANONYMOUS MAP_ANON macro
55 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in main()
/external/mesa3d/src/mapi/
Du_execmem.c59 #ifndef MAP_ANONYMOUS
60 #define MAP_ANONYMOUS MAP_ANON macro
82 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_map()
/external/swiftshader/third_party/LLVM/autoconf/m4/
Dheader_mmap_anonymous.m46 [AC_CACHE_CHECK(for MAP_ANONYMOUS vs. MAP_ANON,
13 [[mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);]])],
19 …AC_DEFINE([HAVE_MMAP_ANONYMOUS],[1],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, o…
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev06.c179 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup()
184 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup()
189 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup()
194 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup()
/external/mesa3d/src/mesa/main/
Dexecmem.c56 #ifndef MAP_ANONYMOUS
57 #define MAP_ANONYMOUS MAP_ANON macro
85 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c41 #ifndef MAP_ANONYMOUS
42 #define MAP_ANONYMOUS MAP_ANON macro
81 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
/external/python/cpython2/Modules/_ctypes/
Dmalloc_closure.c8 # if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
9 # define MAP_ANONYMOUS MAP_ANON macro
70 MAP_PRIVATE | MAP_ANONYMOUS, in more_core()
/external/python/cpython3/Modules/_ctypes/
Dmalloc_closure.c8 # if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
9 # define MAP_ANONYMOUS MAP_ANON macro
70 MAP_PRIVATE | MAP_ANONYMOUS, in more_core()
/external/strace/tests-mx32/
Dold_mmap.c75 MAP_PRIVATE|MAP_ANONYMOUS, in main()
104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
Dmmap.c75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main()
82 MAP_ANONYMOUS, fd, uoffset, p); in main()
88 MAP_ANONYMOUS, fd, uoffset, p); in main()
/external/strace/tests/
Dold_mmap.c75 MAP_PRIVATE|MAP_ANONYMOUS, in main()
104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
Dmmap.c75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main()
82 MAP_ANONYMOUS, fd, uoffset, p); in main()
88 MAP_ANONYMOUS, fd, uoffset, p); in main()
/external/strace/tests-m32/
Dold_mmap.c75 MAP_PRIVATE|MAP_ANONYMOUS, in main()
104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
Dmmap.c75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main()
82 MAP_ANONYMOUS, fd, uoffset, p); in main()
88 MAP_ANONYMOUS, fd, uoffset, p); in main()
/external/libffi/
Dacinclude.m453 #ifndef MAP_ANONYMOUS
54 #define MAP_ANONYMOUS MAP_ANON
57 [int n = MAP_ANONYMOUS;],
67 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
/external/python/cpython2/Modules/_ctypes/libffi/
Dacinclude.m453 #ifndef MAP_ANONYMOUS
54 #define MAP_ANONYMOUS MAP_ANON
57 [int n = MAP_ANONYMOUS;],
67 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-free-ring-with-bogus-nr-pages.c46 map = mmap(NULL, 100, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, in main()
50 map = mmap(NULL, 100, PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, in main()
/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()
/external/ltp/testcases/kernel/syscalls/mlock/
Dmlock02.c120 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_enomem1()
144 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_enomem2()
173 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_eperm()
/external/compiler-rt/lib/profile/
DWindowsMMap.h29 #define MAP_ANONYMOUS 0x20 macro
30 #define MAP_ANON MAP_ANONYMOUS

1234567891011