Home
last modified time | relevance | path

Searched refs:MAP_SHARED (Results 1 – 12 of 12) sorted by relevance

/art/runtime/jit/
Djit_memory_region_test.cc67 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()
123 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork()
133 mmap(nullptr, kPageSize, PROT_READ, 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()
231 mmap(nullptr, kPageSize, PROT_READ, 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()
[all …]
Djit_memory_region.cc134 base_flags = MAP_SHARED; in Initialize()
Djit.cc1257 MAP_SHARED, in CreateThreadPool()
/art/libartbase/base/
Dmman.h29 #define MAP_SHARED 0x01 macro
Dmem_map_windows.cc70 if (((flags & MAP_SHARED) != 0) && ((flags & MAP_PRIVATE) == 0)) { in TargetMMap()
72 } else if (((flags & MAP_SHARED) == 0) && ((flags & MAP_PRIVATE) != 0)) { in TargetMMap()
Dmem_map.cc493 CHECK_NE(0, flags & (MAP_SHARED | MAP_PRIVATE)); in MapFileAtAddress()
/art/compiler/
Dcommon_compiler_test.cc76 MAP_SHARED, in CodeAndMetadata()
104 MAP_SHARED, in CodeAndMetadata()
/art/compiler/utils/
Dswap_space.cc155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
/art/runtime/
Dvdex_file.cc133 writable ? MAP_SHARED : MAP_PRIVATE, in OpenAtAddress()
Delf_file.cc71 flags = MAP_SHARED; in Open()
1196 flags |= MAP_SHARED; in Load()
/art/libdexfile/dex/
Dart_dex_file_loader.cc349 mmap_shared ? MAP_SHARED : MAP_PRIVATE, in OpenFile()
/art/dex2oat/linker/
Doat_writer.cc3212 MAP_SHARED, in WriteDexFiles()
3721 MAP_SHARED, in FinishVdexFile()
3740 MAP_SHARED, in FinishVdexFile()