/art/runtime/jit/ |
D | jit_memory_region_test.cc | 67 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest() 85 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest() 90 CHECK_EQ(mprotect(addr, size, PROT_READ | PROT_WRITE), 0) << strerror(errno); in BasicTest() 123 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork() 147 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestUnmapWritableAfterFork() 220 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestMadviseDontFork() 245 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestMadviseDontFork() 317 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestFromSharedToPrivate() 329 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestFromSharedToPrivate() 345 CHECK_EQ(mmap(addr, kPageSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd.get(), 0), in TestFromSharedToPrivate() [all …]
|
D | jit_scoped_code_cache_write.h | 31 static constexpr int kProtRW = PROT_READ | PROT_WRITE; 32 static constexpr int kProtRWX = PROT_READ | PROT_WRITE | PROT_EXEC;
|
/art/libartbase/base/ |
D | mem_map_windows.cc | 27 #ifdef PROT_WRITE 28 #undef PROT_WRITE 52 if ((prot != PROT_READ) && (prot != (PROT_READ | PROT_WRITE))) { in TargetMMap() 68 if ((prot & PROT_WRITE) != 0) { in TargetMMap()
|
D | mem_map_test.cc | 71 PROT_READ | PROT_WRITE, in RemapAtEndTest() 86 PROT_READ | PROT_WRITE, in RemapAtEndTest() 117 PROT_READ | PROT_WRITE, in RemapAtEndTest() 173 PROT_WRITE | PROT_READ, in TEST_F() 210 PROT_WRITE | PROT_READ, in TEST_F() 250 PROT_WRITE | PROT_READ, in TEST_F() 282 PROT_READ | PROT_WRITE, in TEST_F() 292 PROT_WRITE | PROT_READ, in TEST_F() 338 PROT_READ | PROT_WRITE, in TEST_F() 351 PROT_READ | PROT_WRITE, in TEST_F() [all …]
|
D | safe_copy_test.cc | 37 void* map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST() 85 void* src_map = mmap(nullptr, kPageSize * 3, PROT_READ | PROT_WRITE, in TEST() 90 void* dst_map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST()
|
D | mman.h | 25 #define PROT_WRITE 0x2 macro
|
D | zip_archive.cc | 79 PROT_READ | PROT_WRITE, in ExtractToMemMap() 144 PROT_READ | PROT_WRITE, in MapDirectlyFromFile()
|
D | mem_map_fuchsia.cc | 80 if ((prot & PROT_WRITE) != 0) { in TargetMMap()
|
/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 91 PROT_READ | PROT_WRITE, in CreateImageSpace() 104 PROT_READ | PROT_WRITE, in CreateImageSpace() 198 PROT_READ | PROT_WRITE, in TEST_F() 261 PROT_READ | PROT_WRITE, in TEST_F() 335 PROT_READ | PROT_WRITE, in TEST_F() 374 PROT_READ | PROT_WRITE, in TEST_F()
|
/art/test/305-other-fault-handler/ |
D | fault_handler.cc | 63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 111 PROT_READ | PROT_WRITE, in CreateMemMap() 160 CheckedCall(mprotect, GetName(), original_end, increment, PROT_READ | PROT_WRITE); in MoreCore() 213 End(), alloc_space_name, PROT_READ | PROT_WRITE, &error_msg); in CreateZygoteSpace()
|
D | large_object_space.cc | 142 PROT_READ | PROT_WRITE, in Alloc() 365 PROT_READ | PROT_WRITE, in Create() 386 PROT_READ | PROT_WRITE, in FreeListSpace() 550 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ | PROT_WRITE); in Alloc()
|
D | bump_pointer_space.cc | 32 PROT_READ | PROT_WRITE, in Create()
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 69 PROT_READ | PROT_WRITE, in Create()
|
D | bitmap.cc | 53 PROT_READ | PROT_WRITE, in AllocateMemMap()
|
D | read_barrier_table.h | 44 PROT_READ | PROT_WRITE, in ReadBarrierTable()
|
D | atomic_stack.h | 257 PROT_READ | PROT_WRITE, in Init()
|
D | space_bitmap.cc | 88 PROT_READ | PROT_WRITE, in Create()
|
/art/runtime/ |
D | vdex_file.cc | 163 PROT_READ | PROT_WRITE, in OpenAtAddress() 221 CHECK(mmap_.Protect(val ? (PROT_READ | PROT_WRITE) : PROT_READ)); in AllowWriting() 255 CHECK_NE(mmap_.GetProtect() & PROT_WRITE, 0) in UnquickenInPlace()
|
D | indirect_reference_table.cc | 84 PROT_READ | PROT_WRITE, in IndirectReferenceTable() 226 PROT_READ | PROT_WRITE, in Resize()
|
D | thread_pool.cc | 61 PROT_READ | PROT_WRITE, in ThreadPoolWorker()
|
/art/runtime/base/ |
D | mem_map_arena_pool.cc | 62 PROT_READ | PROT_WRITE, in Allocate()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 56 CHECK_EQ(temp_mmap_.GetProtect(), PROT_READ | PROT_WRITE); in InitializeMemory() 257 PROT_READ | PROT_WRITE, in InitWithDex()
|
/art/compiler/utils/ |
D | swap_space.cc | 155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
|
/art/compiler/ |
D | common_compiler_test.cc | 112 int result = mprotect(base_ptr, len, PROT_READ | PROT_WRITE | PROT_EXEC); in MakeExecutable()
|