Home
last modified time | relevance | path

Searched refs:MAP_PRIVATE (Results 1 – 17 of 17) sorted by relevance

/bionic/libc/upstream-openbsd/android/include/
Darc4random.h76 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/
Dmman-common.h31 #define MAP_PRIVATE 0x02 macro
/bionic/libc/kernel/uapi/asm-mips/asm/
Dmman.h31 #define MAP_PRIVATE 0x002 macro
/bionic/libc/bionic/
Ddlmalloc.c50 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in named_anonymous_mmap()
Dmmap.cpp48 bool is_private_anonymous = (flags & (MAP_PRIVATE | MAP_ANONYMOUS)) != 0; in mmap64()
Dpthread_create.cpp69 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()
Dgetentropy_linux.c445 MAP_PRIVATE|MAP_ANON, -1, in getentropy_fallback()
Dlibc_logging.cpp666 void* map = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message()
/bionic/linker/
Dlinker_phdr.cpp229 …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()
Dlinker_allocator.cpp97 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0)); in create_new_page()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Datexit.c80 MAP_ANON | MAP_PRIVATE, -1, 0); in __cxa_atexit()
183 MAP_ANON | MAP_PRIVATE, -1, 0); in __atexit_register_cleanup()
/bionic/tests/
Ddlext_test.cpp173 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()
Dsys_mman_test.cpp26 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()
Dpthread_test.cpp120 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/
Dvfwprintf.c1352 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()
Dvfprintf.c1378 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/
Dmalloc.c1647 #define MMAP_FLAGS (MAP_PRIVATE|MAP_ANONYMOUS)
1654 #define MMAP_FLAGS (MAP_PRIVATE)