Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Dsysutil.cpp107 void* memPtr = mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFD()
135 void* reserve = mmap(nullptr, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in MapBlockFile()
154 void* range_start = mmap(next, range_size, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, in MapBlockFile()
/bootable/recovery/install/
Dpackage.cpp106 std::unique_ptr<MemMapping> mmap = std::make_unique<MemMapping>(); in CreateMemoryPackage() local
107 if (!mmap->MapFile(path)) { in CreateMemoryPackage()
112 return std::make_unique<MemoryPackage>(path, std::move(mmap), set_progress); in CreateMemoryPackage()
/bootable/recovery/minui/
Dgraphics_fbdev.cpp96 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
Dgraphics_adf.cpp61 mmap(nullptr, surf->pitch * surf->height, PROT_WRITE, MAP_SHARED, surf->fd, surf->offset); in Create()
Dgraphics_drm.cpp127 auto mmapped = mmap(nullptr, surface->height * surface->row_bytes, PROT_READ | PROT_WRITE, in Create()