Searched refs:MAP_SHARED (Results 1 – 5 of 5) sorted by relevance
/bionic/tests/ |
D | sys_mman_test.cpp | 41 void* map = mmap(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() 48 void* map = mmap64(nullptr, 100, PROT_READ, MAP_SHARED, tf.fd, 1); in TEST() 62 void* map = mmap(nullptr, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0); in TEST() 77 void* map = mmap(nullptr, sizeof(STRING_MSG), PROT_WRITE, MAP_SHARED, tf.fd, 0); in TEST() 113 void* map = mmap(nullptr, pagesize, PROT_READ, MAP_SHARED, tf.fd, pagesize); in TEST() 121 map = mmap(nullptr, pagesize, PROT_READ, MAP_SHARED, tf.fd, 2 * pagesize); in TEST() 149 void* map = mmap(nullptr, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, pagesize); in TEST() 157 map = mmap(nullptr, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, 2 * pagesize); in TEST() 184 void* map = mmap(nullptr, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, tempfile.fd, 0); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | mman.h | 29 #define MAP_SHARED 0x01 macro
|
/bionic/tests/headers/posix/ |
D | sys_mman_h.c | 41 MACRO(MAP_SHARED); in sys_mman_h()
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 95 void* const memory_area = mmap(nullptr, pa_size_, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in map_prop_area_rw() 122 void* const map_result = mmap(nullptr, pa_size_, PROT_READ, MAP_SHARED, fd, 0); in map_fd_ro()
|
/bionic/libc/bionic/ |
D | grp_pwd_file.cpp | 243 void* map_result = mmap(nullptr, mmap_size, PROT_READ, MAP_SHARED, fd.get(), 0); in DoMmap()
|