Searched refs:map_result (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/system_properties/ |
D | contexts_serialized.cpp | 48 void* const map_result = mmap(nullptr, context_nodes_mmap_size, PROT_READ | PROT_WRITE, in InitializeContextNodes() local 50 if (map_result == MAP_FAILED) { in InitializeContextNodes() 54 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_result, context_nodes_mmap_size, in InitializeContextNodes() 57 context_nodes_ = reinterpret_cast<ContextNode*>(map_result); in InitializeContextNodes()
|
D | prop_area.cpp | 122 void* const map_result = mmap(nullptr, pa_size_, PROT_READ, MAP_SHARED, fd, 0); in map_fd_ro() local 123 if (map_result == MAP_FAILED) { in map_fd_ro() 127 prop_area* pa = reinterpret_cast<prop_area*>(map_result); in map_fd_ro() 140 prop_area* map_result = map_fd_ro(fd); in map_prop_area() local 143 return map_result; in map_prop_area()
|
/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() local 244 if (map_result == MAP_FAILED) { in DoMmap() 248 start_ = static_cast<const char*>(map_result); in DoMmap() 252 munmap(map_result, mmap_size); in DoMmap()
|