Searched refs:aligned_offset (Results 1 – 2 of 2) sorted by relevance
/system/core/libunwindstack/ |
D | Memory.cpp | 233 uint64_t aligned_offset = offset & ~(getpagesize() - 1); in Init() local 234 if (aligned_offset > static_cast<uint64_t>(buf.st_size) || in Init() 239 size_ = buf.st_size - aligned_offset; in Init() 245 void* map = mmap(nullptr, size_, PROT_READ, MAP_PRIVATE, fd, aligned_offset); in Init()
|
/system/core/libsparse/ |
D | output_file.cpp | 655 int64_t aligned_offset; in write_fd_chunk() local 660 aligned_offset = offset & ~(4096 - 1); in write_fd_chunk() 661 aligned_diff = offset - aligned_offset; in write_fd_chunk() 667 … reinterpret_cast<char*>(mmap64(nullptr, buffer_size, PROT_READ, MAP_SHARED, fd, aligned_offset)); in write_fd_chunk()
|