Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_mman_test.cpp27 void* map = mmap(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST()
33 void* map = mmap64(nullptr, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST()
202 void* map = mmap(nullptr, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
227 ASSERT_EQ(MAP_FAILED, mmap(nullptr, kHuge, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
231 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
241 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0)); in TEST()
247 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
260 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
Dsys_prctl_test.cpp38 void* p = mmap(NULL, page_size * 3, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
Ddlext_test.cpp324 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
343 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
348 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
359 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
392 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
403 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
420 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
440 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp()
2049 PROT_NONE, MAP_ANON | MAP_PRIVATE, in TEST()
2058 MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); in TEST()
Dandroid_unsafe_frame_pointer_chase_test.cpp136 mmap(nullptr, kStackSize * 2, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST()
Dpthread_test.cpp165 void* stack = mmap(nullptr, stack_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in TEST()
710 void* stack = mmap(nullptr, stack_size, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST()
1848 …void* sig_stack = mmap(nullptr, sig_stack_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOU… in TEST()
2838 void* page = mmap(nullptr, kPageSize, prot, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST()
/bionic/libc/bionic/
Dmmap.cpp58 (flags & (MAP_PRIVATE | MAP_ANONYMOUS)) == (MAP_PRIVATE | MAP_ANONYMOUS); in mmap64()
Dpthread_create.cpp74 MAP_PRIVATE | MAP_ANONYMOUS, in __allocate_temp_bionic_tls()
89 …void* stack_base = mmap(nullptr, SIGNAL_STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOU… in __init_alternate_signal_stack()
113 mmap(nullptr, SCS_GUARD_REGION_SIZE, 0, MAP_PRIVATE | MAP_ANON, -1, 0)); in __init_shadow_call_stack()
215 const int flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE; in __allocate_thread_mapping()
Dandroid_set_abort_message.cpp81 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message()
Dbionic_allocator.cpp196 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in alloc_page()
276 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, in alloc_mmap()
Datexit.cpp175 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in expand_capacity()
Dfdsan.cpp87 mmap(nullptr, aligned_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in at()
/bionic/libc/kernel/uapi/linux/
Dmman.h30 #define MAP_PRIVATE 0x02 macro
/bionic/libc/upstream-openbsd/android/include/
Darc4random.h70 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate()
/bionic/linker/
Dlinker_phdr.cpp525 int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; in ReserveWithAlignmentPadding()
694 MAP_FIXED|MAP_PRIVATE, in LoadSegments()
720 MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, in LoadSegments()
902 MAP_PRIVATE|MAP_FIXED, fd, *file_offset); in phdr_table_serialize_gnu_relro()
941 temp_mapping = mmap(nullptr, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in phdr_table_map_gnu_relro()
988 PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, *file_offset + match_offset); in phdr_table_map_gnu_relro()
Dlinker_mapped_file_fragment.cpp62 mmap64(nullptr, map_size, PROT_READ, MAP_PRIVATE, fd, page_min)); in Map()
Dlinker_cfi.cpp57 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in ShadowWrite()
158 mmap(nullptr, kShadowSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); in MapShadow()
Dlinker_block_allocator.cpp124 mmap(nullptr, kAllocateSize, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)); in create_new_page()
Dlinker.cpp310 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); in soinfo_free()
/bionic/tests/headers/posix/
Dsys_mman_h.c40 MACRO(MAP_PRIVATE); in sys_mman_h()
/bionic/libc/system_properties/
Dcontexts_serialized.cpp49 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in InitializeContextNodes()
/bionic/libc/stdio/
Dprintf_common.h542 MAP_ANON | MAP_PRIVATE, -1, 0)); in __find_arguments()
653 MAP_ANON | MAP_PRIVATE, -1, 0)); in __grow_type_table()
659 MAP_ANON | MAP_PRIVATE, -1, 0)); in __grow_type_table()