Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 25 of 43) sorted by relevance

12

/art/libartbase/base/
Dmem_map_test.cc71 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 …]
Dmem_map_windows.cc27 #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()
Dsafe_copy_test.cc37 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()
Dmman.h25 #define PROT_WRITE 0x2 macro
Dzip_archive.cc79 PROT_READ | PROT_WRITE, in ExtractToMemMap()
136 PROT_READ | PROT_WRITE, in MapDirectlyFromFile()
Dmem_map_fuchsia.cc80 if ((prot & PROT_WRITE) != 0) { in TargetMMap()
/art/runtime/gc/collector/
Dimmune_spaces_test.cc90 PROT_READ | PROT_WRITE, in CreateImageSpace()
103 PROT_READ | PROT_WRITE, in CreateImageSpace()
195 PROT_READ | PROT_WRITE, in TEST_F()
258 PROT_READ | PROT_WRITE, in TEST_F()
332 PROT_READ | PROT_WRITE, in TEST_F()
371 PROT_READ | PROT_WRITE, in TEST_F()
/art/runtime/gc/space/
Dmalloc_space.cc112 PROT_READ | PROT_WRITE, in CreateMemMap()
161 CheckedCall(mprotect, GetName(), original_end, increment, PROT_READ | PROT_WRITE); in MoreCore()
214 End(), alloc_space_name, PROT_READ | PROT_WRITE, &error_msg); in CreateZygoteSpace()
Dlarge_object_space.cc141 PROT_READ | PROT_WRITE, in Alloc()
360 PROT_READ | PROT_WRITE, in Create()
381 PROT_READ | PROT_WRITE, in FreeListSpace()
542 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ | PROT_WRITE); in Alloc()
Dbump_pointer_space.cc32 PROT_READ | PROT_WRITE, in Create()
Dregion_space.cc62 PROT_READ | PROT_WRITE, in CreateMemMap()
778 CheckedCall(mprotect, __FUNCTION__, Begin(), Size(), PROT_READ | PROT_WRITE); in Unprotect()
1023 CheckedCall(mprotect, __FUNCTION__, Begin(), kRegionSize, PROT_READ | PROT_WRITE); in MarkAsAllocated()
/art/test/305-other-fault-handler/
Dfault_handler.cc63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action()
/art/runtime/gc/accounting/
Dcard_table.cc69 PROT_READ | PROT_WRITE, in Create()
Dbitmap.cc53 PROT_READ | PROT_WRITE, in AllocateMemMap()
Dread_barrier_table.h44 PROT_READ | PROT_WRITE, in ReadBarrierTable()
Dspace_bitmap.cc89 PROT_READ | PROT_WRITE, in Create()
Datomic_stack.h257 PROT_READ | PROT_WRITE, in Init()
/art/runtime/base/
Dmem_map_arena_pool.cc62 PROT_READ | PROT_WRITE, in Allocate()
/art/runtime/
Dindirect_reference_table.cc84 PROT_READ | PROT_WRITE, in IndirectReferenceTable()
226 PROT_READ | PROT_WRITE, in Resize()
Dthread_pool.cc52 PROT_READ | PROT_WRITE, in ThreadPoolWorker()
Delf_file.cc70 prot = PROT_READ | PROT_WRITE; in Open()
89 new ElfFileImpl<ElfTypes>(file, (prot & PROT_WRITE) != 0, /* program_header_only= */ false)); in Open()
1197 prot |= PROT_WRITE; in Load()
1204 prot |= PROT_WRITE; in Load()
/art/openjdkjvmti/
Dti_class_definition.cc56 CHECK_EQ(temp_mmap_.GetProtect(), PROT_READ | PROT_WRITE); in InitializeMemory()
257 PROT_READ | PROT_WRITE, in InitWithDex()
/art/compiler/utils/
Dswap_space.cc155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
/art/compiler/
Dcommon_compiler_test.cc99 int result = mprotect(reinterpret_cast<void*>(base), len, PROT_READ | PROT_WRITE | PROT_EXEC); in MakeExecutable()
/art/runtime/gc/
Dheap.cc437 heap_reservation.Begin(), space_name, PROT_READ | PROT_WRITE, &error_str); in Heap()
463 PROT_READ | PROT_WRITE, in Heap()
731 PROT_READ | PROT_WRITE, in MapAnonymousPreferredAddress()
2078 to_space->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PerformHomogeneousSpaceCompact()
2177 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2212 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2226 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2456 non_moving_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2487 main_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2500 region_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
[all …]

12