Lines Matching refs:reservation
233 const MemMap& reservation, in CheckReservation() argument
235 if (!reservation.IsValid()) { in CheckReservation()
239 DCHECK_ALIGNED(reservation.Begin(), kPageSize); in CheckReservation()
240 if (reservation.Begin() != expected_ptr) { in CheckReservation()
243 reservation.Begin(), in CheckReservation()
247 if (byte_count > reservation.Size()) { in CheckReservation()
250 reservation.Size()); in CheckReservation()
310 /*inout*/MemMap* reservation, in MapAnonymous() argument
327 DCHECK(reservation == nullptr); in MapAnonymous()
331 } else if (reservation != nullptr) { in MapAnonymous()
333 if (!CheckReservation(addr, byte_count, name, *reservation, error_msg)) { in MapAnonymous()
378 if (reservation != nullptr) { in MapAnonymous()
380 DCHECK_EQ(actual, reservation->Begin()); in MapAnonymous()
381 reservation->ReleaseReservedMemory(byte_count); in MapAnonymous()
490 /*inout*/MemMap* reservation, in MapFileAtAddress() argument
501 DCHECK(reservation == nullptr); in MapFileAtAddress()
506 } else if (reservation != nullptr) { in MapFileAtAddress()
508 if (!CheckReservation(expected_ptr, byte_count, filename, *reservation, error_msg)) { in MapFileAtAddress()
574 if (reservation != nullptr) { in MapFileAtAddress()
576 DCHECK_EQ(actual, reservation->Begin()); in MapFileAtAddress()
577 reservation->ReleaseReservedMemory(byte_count); in MapFileAtAddress()