Lines Matching refs:map_size

530       uptr map_size = kUserMapSize;
531 while (end_idx + size > region->mapped_user + map_size)
532 map_size += kUserMapSize;
533 CHECK_GE(region->mapped_user + map_size, end_idx);
534 MapWithCallback(region_beg + region->mapped_user, map_size);
535 stat->Add(AllocatorStatMapped, map_size);
536 region->mapped_user += map_size;
542 uptr map_size = kMetaMapSize;
543 while (region->allocated_meta > region->mapped_meta + map_size)
544 map_size += kMetaMapSize;
546 CHECK_GE(region->mapped_meta + map_size, region->allocated_meta);
548 region->mapped_meta - map_size, map_size);
549 region->mapped_meta += map_size;
1021 uptr map_size = RoundUpMapSize(size);
1023 map_size += alignment;
1025 if (map_size < size)
1028 MmapOrDie(map_size, "LargeMmapAllocator"));
1030 MapUnmapCallback().OnMap(map_beg, map_size);
1031 uptr map_end = map_beg + map_size;
1042 h->map_size = map_size;
1043 uptr size_log = MostSignificantSetBitIndex(map_size);
1053 stats.currently_allocated += map_size;
1056 stat->Add(AllocatorStatAllocated, map_size);
1057 stat->Add(AllocatorStatMapped, map_size);
1084 stats.currently_allocated -= h->map_size;
1085 stat->Sub(AllocatorStatAllocated, h->map_size);
1086 stat->Sub(AllocatorStatMapped, h->map_size);
1088 MapUnmapCallback().OnUnmap(h->map_beg, h->map_size);
1089 UnmapOrDie(reinterpret_cast<void*>(h->map_beg), h->map_size);
1136 CHECK_LT(nearest_chunk, h->map_beg + h->map_size);
1138 if (h->map_beg + h->map_size <= p)
1158 chunks_[n - 1]->map_size;
1181 if (h->map_beg + h->map_size <= p || p < h->map_beg)
1220 uptr map_size;