Searched refs:map_size (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/binary_translation/base/ |
D | memfd_backed_mmap.cc | 55 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size) { in CreateMemfdBackedMapOrDie() argument 57 CHECK_EQ(map_size % memfd_file_size, 0); in CreateMemfdBackedMapOrDie() 64 LargeMmapImplOrDie({.size = map_size, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in CreateMemfdBackedMapOrDie() 67 for (size_t i = 0; i < map_size / memfd_file_size; ++i) { in CreateMemfdBackedMapOrDie()
|
D | mapped_file_fragment.cc | 61 size_t map_size = static_cast<size_t>(end_offset - page_min); in Map() local 62 CHECK(map_size >= size); in Map() 65 static_cast<uint8_t*>(mmap64(nullptr, map_size, PROT_READ, MAP_PRIVATE, fd, page_min)); in Map() 72 map_size_ = map_size; in Map()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFEmulation.cpp | 75 const unsigned int map_size = (sizeof(map) / sizeof(map[0])); in MCLDEmulateELF() local 76 for (unsigned int i = 0; i < map_size; ++i) { in MCLDEmulateELF()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | memfd_backed_mmap.h | 27 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size);
|
/frameworks/base/tests/FsVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 103 const int map_size = sizeof(struct fiemap) + sizeof(struct fiemap_extent); in get_physical_offset() local 104 char fiemap_buffer[map_size] = {0}; in get_physical_offset()
|