Searched refs:page_offset (Results 1 – 1 of 1) sorted by relevance
428 int page_offset = start % kPageSize; in MapFileAtAddress() local429 off_t page_aligned_offset = start - page_offset; in MapFileAtAddress()431 size_t page_aligned_byte_count = RoundUp(byte_count + page_offset, kPageSize); in MapFileAtAddress()435 (expected_ptr == nullptr) ? nullptr : (expected_ptr - page_offset); in MapFileAtAddress()470 const uint8_t *real_start = actual + page_offset; in MapFileAtAddress()471 const uint8_t *real_end = actual + page_offset + byte_count; in MapFileAtAddress()479 return new MemMap(filename, actual + page_offset, byte_count, actual, page_aligned_byte_count, in MapFileAtAddress()