/bionic/libc/upstream-openbsd/android/include/ |
D | arc4random.h | 76 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate() 80 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) { in _rs_allocate()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | mman-common.h | 31 #define MAP_PRIVATE 0x02 macro
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | mman.h | 31 #define MAP_PRIVATE 0x002 macro
|
/bionic/libc/bionic/ |
D | dlmalloc.c | 50 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in named_anonymous_mmap()
|
D | mmap.cpp | 48 bool is_private_anonymous = (flags & (MAP_PRIVATE | MAP_ANONYMOUS)) != 0; in mmap64()
|
D | pthread_create.cpp | 69 ss.ss_sp = mmap(NULL, SIGSTKSZ, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in __init_alternate_signal_stack() 107 int flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE; in __create_thread_stack()
|
D | getentropy_linux.c | 445 MAP_PRIVATE|MAP_ANON, -1, in getentropy_fallback()
|
D | libc_logging.cpp | 666 void* map = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message()
|
/bionic/linker/ |
D | linker_phdr.cpp | 229 …void* mmap_result = mmap64(nullptr, phdr_size_, PROT_READ, MAP_PRIVATE, fd_, file_offset_ + page_m… in ReadProgramHeader() 320 int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; in ReserveAddressSpace() 363 MAP_FIXED|MAP_PRIVATE, in LoadSegments() 388 MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, in LoadSegments() 556 MAP_PRIVATE|MAP_FIXED, fd, file_offset); in phdr_table_serialize_gnu_relro() 591 temp_mapping = mmap(nullptr, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in phdr_table_map_gnu_relro() 639 PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, match_offset); in phdr_table_map_gnu_relro()
|
D | linker_allocator.cpp | 97 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0)); in create_new_page()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | atexit.c | 80 MAP_ANON | MAP_PRIVATE, -1, 0); in __cxa_atexit() 183 MAP_ANON | MAP_PRIVATE, -1, 0); in __atexit_register_cleanup()
|
/bionic/tests/ |
D | dlext_test.cpp | 173 void* start = mmap(nullptr, LIBSIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 191 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 203 void* start = mmap(nullptr, LIBSIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 221 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 241 void* start = mmap(nullptr, LIBSIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in SetUp()
|
D | sys_mman_test.cpp | 26 void* map = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() 32 void* map = mmap64(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST()
|
D | pthread_test.cpp | 120 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in TEST() 520 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vfwprintf.c | 1352 PROT_WRITE|PROT_READ, MAP_ANON|MAP_PRIVATE, -1, 0); in __find_arguments() 1466 MAP_ANON|MAP_PRIVATE, -1, 0); in __grow_type_table() 1472 MAP_ANON|MAP_PRIVATE, -1, 0); in __grow_type_table()
|
D | vfprintf.c | 1378 PROT_WRITE|PROT_READ, MAP_ANON|MAP_PRIVATE, -1, 0); in __find_arguments() 1500 MAP_ANON|MAP_PRIVATE, -1, 0); in __grow_type_table() 1506 MAP_ANON|MAP_PRIVATE, -1, 0); in __grow_type_table()
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.c | 1647 #define MMAP_FLAGS (MAP_PRIVATE|MAP_ANONYMOUS) 1654 #define MMAP_FLAGS (MAP_PRIVATE)
|