Searched refs:page_offset (Results 1 – 1 of 1) sorted by relevance
517 int page_offset = start % kPageSize; in MapFileAtAddress() local518 off_t page_aligned_offset = start - page_offset; in MapFileAtAddress()520 size_t page_aligned_byte_count = RoundUp(byte_count + page_offset, kPageSize); in MapFileAtAddress()524 (expected_ptr == nullptr) ? nullptr : (expected_ptr - page_offset); in MapFileAtAddress()559 const uint8_t *real_start = actual + page_offset; in MapFileAtAddress()560 const uint8_t *real_end = actual + page_offset + byte_count; in MapFileAtAddress()568 return new MemMap(filename, actual + page_offset, byte_count, actual, page_aligned_byte_count, in MapFileAtAddress()