Searched refs:mmap (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/otautil/ |
D | sysutil.cpp | 107 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/ |
D | package.cpp | 106 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/ |
D | graphics_fbdev.cpp | 96 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
|
D | graphics_adf.cpp | 61 mmap(nullptr, surf->pitch * surf->height, PROT_WRITE, MAP_SHARED, surf->fd, surf->offset); in Create()
|
D | graphics_drm.cpp | 127 auto mmapped = mmap(nullptr, surface->height * surface->row_bytes, PROT_READ | PROT_WRITE, in Create()
|