/third_party/ltp/testcases/kernel/syscalls/pkeys/ |
D | pkey01.c | 72 {PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 73 {PROT_READ, MAP_ANONYMOUS | MAP_SHARED, -1}, 74 {PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 75 {PROT_READ, MAP_ANONYMOUS | MAP_SHARED | MAP_HUGETLB, -1}, 79 {PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 80 {PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1}, 83 {PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 84 {PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_HUGETLB, -1}, 86 {PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 87 {PROT_EXEC, MAP_ANONYMOUS | MAP_SHARED, -1}, [all …]
|
/third_party/musl/libc-test/src/common/ |
D | vmfill.c | 10 #ifndef MAP_ANONYMOUS 11 #define MAP_ANONYMOUS 0 macro 21 if ((p=mmap(0, n, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, fd, 0)) == MAP_FAILED) { in mmax() 40 int fd = MAP_ANONYMOUS ? -1 : open("/dev/zero", O_RDWR); in t_vmfill() 50 q = mmap(0, m, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, fd, 0); in t_vmfill()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | memorypool.c | 28 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) 29 #define MAP_ANONYMOUS MAP_ANON macro 94 #if defined(MAP_ANONYMOUS) || defined(_WIN32) in MHD_pool_create() 98 #if defined(MAP_ANONYMOUS) && !defined(_WIN32) in MHD_pool_create() 100 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in MHD_pool_create() 142 #if defined(MAP_ANONYMOUS) && !defined(_WIN32) in MHD_pool_destroy()
|
/third_party/ltp/tools/sparse/sparse-src/compat/ |
D | mmap-blob.c | 8 #ifndef MAP_ANONYMOUS 9 #define MAP_ANONYMOUS MAP_ANON macro 22 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in blob_alloc()
|
/third_party/libunwind/tests/ |
D | mapper.c | 39 #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) 40 # define MAP_ANONYMOUS MAP_ANON macro 58 MAP_PRIVATE | MAP_ANONYMOUS in main()
|
/third_party/mesa3d/src/mapi/ |
D | u_execmem.c | 59 #ifndef MAP_ANONYMOUS 60 #define MAP_ANONYMOUS MAP_ANON macro 82 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_map()
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev06.c | 165 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup() 170 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup() 175 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup() 180 MAP_PRIVATE_EXCEPT_UCLINUX | MAP_ANONYMOUS, 0, 0); in setup()
|
/third_party/mesa3d/src/mesa/main/ |
D | execmem.c | 56 #ifndef MAP_ANONYMOUS 57 #define MAP_ANONYMOUS MAP_ANON macro 85 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/third_party/boost/boost/interprocess/ |
D | anonymous_shared_memory.hpp | 79 #if defined(MAP_ANONYMOUS) //Use MAP_ANONYMOUS in anonymous_shared_memory() 80 flags = MAP_ANONYMOUS | MAP_SHARED; in anonymous_shared_memory() 81 #elif !defined(MAP_ANONYMOUS) && defined(MAP_ANON) //use MAP_ANON in anonymous_shared_memory()
|
/third_party/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 41 #ifndef MAP_ANONYMOUS 42 #define MAP_ANONYMOUS MAP_ANON macro 81 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/third_party/python/Modules/_ctypes/ |
D | malloc_closure.c | 8 # if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) 9 # define MAP_ANONYMOUS MAP_ANON macro 70 MAP_PRIVATE | MAP_ANONYMOUS, in more_core()
|
/third_party/libunwind/include/win/sys/ |
D | mman.h | 14 #define MAP_ANONYMOUS 1 macro 15 #define MAP_ANON MAP_ANONYMOUS
|
/third_party/libunwind/include/mingw/sys/ |
D | mman.h | 13 #define MAP_ANONYMOUS 1 macro 14 #define MAP_ANON MAP_ANONYMOUS
|
/third_party/musl/libc-test/src/functionalext/relro/ |
D | dlopen_ext_relro_test.c | 418 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1600() 455 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1700() 492 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1800() 529 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_1900() 564 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2000() 601 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2100() 639 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2200() 678 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2300() 716 void *map = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in dlopen_ext_relro_2400()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 120 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()
|
/third_party/iowow/src/platform/win32/mman/ |
D | mman.h | 52 #define MAP_ANONYMOUS 0x20 macro 53 #define MAP_ANON MAP_ANONYMOUS
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap18.c | 93 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in allocate_stack() 97 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS | MAP_GROWSDOWN, in allocate_stack() 187 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in grow_stack_fail()
|
/third_party/ltp/testcases/kernel/mem/vma/ |
D | vma01.c | 96 t = mmap(p, 3 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma() 107 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma() 153 t = mmap(NULL, 9 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in create_bighole()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 145 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_migrate_current_process() 157 MAP_ANONYMOUS | MAP_SHARED, 0, 0); in test_migrate_current_process() 171 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_migrate_current_process() 207 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_migrate_other_process()
|
/third_party/libffi/testsuite/libffi.call/ |
D | ffitest.h | 49 # if !defined (MAP_ANONYMOUS) && defined (MAP_ANON) 50 # define MAP_ANONYMOUS MAP_ANON macro
|
/third_party/libffi/testsuite/libffi.closures/ |
D | ffitest.h | 49 # if !defined (MAP_ANONYMOUS) && defined (MAP_ANON) 50 # define MAP_ANONYMOUS MAP_ANON macro
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-17052.c | 34 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in setup() 48 MAP_POPULATE|MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in mmap_thread()
|
/third_party/pulseaudio/src/pulsecore/ |
D | shm.c | 41 #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) 42 # define MAP_ANONYMOUS MAP_ANON macro 120 #ifdef MAP_ANONYMOUS in privatemem_create() 121 …if ((m->ptr = mmap(NULL, m->size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, (off_t) 0))… in privatemem_create() 249 #ifdef MAP_ANONYMOUS in privatemem_free()
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_process.c | 121 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in mmap_anon() 172 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LOCKED, 0, 0); in mmap_lock1() 188 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in mmap_lock2()
|