/bionic/libc/arch-arm64/syscalls/ |
D | mmap.S | 5 ENTRY(mmap) 14 END(mmap) 16 ALIAS_SYMBOL(mmap64, mmap)
|
/bionic/libc/arch-x86_64/syscalls/ |
D | mmap.S | 5 ENTRY(mmap) 16 END(mmap) 18 ALIAS_SYMBOL(mmap64, mmap)
|
/bionic/libc/arch-mips64/syscalls/ |
D | mmap.S | 5 ENTRY(mmap) 25 END(mmap) 27 ALIAS_SYMBOL(mmap64, mmap)
|
/bionic/tests/ |
D | sys_mman_test.cpp | 27 void* map = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in TEST() 41 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() 62 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0); in TEST() 77 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_WRITE, MAP_SHARED, tf.fd, 0); in TEST() 113 void* map = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, tf.fd, pagesize); in TEST() 121 map = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, tf.fd, 2 * pagesize); in TEST() 149 void* map = mmap(NULL, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, pagesize); in TEST() 157 map = mmap(NULL, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, 2 * pagesize); in TEST() 184 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, tempfile.fd, 0); in TEST() 202 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() [all …]
|
D | sys_prctl_test.cpp | 38 void* p = mmap(NULL, page_size * 3, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
D | dlext_test.cpp | 300 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 319 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 324 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 335 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 352 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 369 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 389 void* addr = mmap(start, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 394 void* start = mmap(nullptr, kLibSize + PAGE_SIZE, PROT_NONE, in TEST_F() 398 void* new_addr = mmap(reinterpret_cast<uint8_t*>(start) + PAGE_SIZE, kLibSize, PROT_NONE, in TEST_F() 414 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp() [all …]
|
/bionic/libc/include/sys/ |
D | mman.h | 53 void* mmap(void*, size_t, int, int, int, off_t) __RENAME(mmap64) __INTRODUCED_IN(21); 55 void* mmap(void*, size_t, int, int, int, off_t);
|
/bionic/libc/bionic/ |
D | android_set_abort_message.cpp | 60 void* map = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); in android_set_abort_message()
|
D | mmap.cpp | 75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap() function
|
D | pthread_create.cpp | 61 void* allocation = mmap(nullptr, allocation_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in __init_tls() 81 …void* stack_base = mmap(NULL, SIGNAL_STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, … in __init_alternate_signal_stack() 135 void* space = mmap(NULL, mmap_size, prot, flags, -1, 0); in __create_thread_mapped_space()
|
D | getentropy_linux.c | 430 HX(mm[m].p = mmap(NULL, in getentropy_fallback()
|
D | system_properties.cpp | 255 void* const memory_area = mmap(nullptr, pa_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in map_prop_area_rw() 282 void* const map_result = mmap(nullptr, pa_size, PROT_READ, MAP_SHARED, fd, 0); in map_fd_ro()
|
/bionic/libc/upstream-openbsd/android/include/ |
D | arc4random.h | 79 if ((p = mmap(NULL, sizeof(*p), PROT_READ|PROT_WRITE, in _rs_allocate()
|
/bionic/linker/ |
D | linker_allocator.h | 90 void* ptr = mmap(const_cast<T*>(hint), size,
|
D | linker_block_allocator.cpp | 120 mmap(nullptr, PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0)); in create_new_page()
|
D | linker_cfi.cpp | 56 reinterpret_cast<char*>(mmap(nullptr, aligned_end - aligned_start, PROT_READ | PROT_WRITE, in ShadowWrite() 158 mmap(nullptr, kShadowSize, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); in MapShadow()
|
D | linker_phdr.cpp | 511 void* mmap_ptr = mmap(hint, size, PROT_NONE, mmap_flags, -1, 0); in ReserveAligned() 522 reinterpret_cast<uint8_t*>(mmap(nullptr, mmap_size, PROT_NONE, mmap_flags, -1, 0)); in ReserveAligned() 674 void* zeromap = mmap(reinterpret_cast<void*>(seg_file_end), in LoadSegments() 857 void* map = mmap(reinterpret_cast<void*>(seg_page_start), size, PROT_READ, in phdr_table_serialize_gnu_relro() 895 temp_mapping = mmap(nullptr, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in phdr_table_map_gnu_relro() 942 void* map = mmap(mem_base + match_offset, mismatch_offset - match_offset, in phdr_table_map_gnu_relro()
|
D | linker_allocator.cpp | 203 void* map_ptr = mmap(nullptr, PAGE_SIZE, in alloc_page() 247 void* map_ptr = mmap(nullptr, allocated_size, in alloc_mmap()
|
/bionic/libc/stdlib/ |
D | atexit.c | 98 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE, in __cxa_atexit()
|
/bionic/libc/ |
D | SECCOMP_WHITELIST.TXT | 105 # b/36726183. Note arm does not support mmap 106 void* mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) x86,mips
|
D | SYSCALLS.TXT | 171 # (mmap only gets two lines because we only used the 64-bit variant on 32-bit systems.) 173 void* mmap|mmap64(void*, size_t, int, int, int, off_t) arm64,mips64,x86_64
|
/bionic/libc/kernel/uapi/linux/ |
D | perf_event.h | 224 …, exclude_user : 1, exclude_kernel : 1, exclude_hv : 1, exclude_idle : 1, mmap : 1, comm : 1, freq… member
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vfprintf.c | 1383 *argtable = mmap(NULL, *argtablesiz, in __find_arguments() 1505 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1511 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table()
|
D | vfwprintf.c | 1340 *argtable = mmap(NULL, *argtablesiz, in __find_arguments() 1454 *typetable = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1460 unsigned char *new = mmap(NULL, newsize, PROT_WRITE|PROT_READ, in __grow_type_table()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 566 mmap
|