Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/binary_translation/base/
Dmemfd_backed_mmap.cc55 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()
Dmapped_file_fragment.cc61 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/
DELFEmulation.cpp75 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/
Dmemfd_backed_mmap.h27 void* CreateMemfdBackedMapOrDie(int memfd, size_t map_size, size_t memfd_file_size);
/frameworks/base/tests/FsVerityTest/block_device_writer/
Dblock_device_writer.cpp103 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()