Home
last modified time | relevance | path

Searched refs:next_part (Results 1 – 1 of 1) sorted by relevance

/art/compiler/utils/
Dswap_space.cc149 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize)); in NewFileChunk() local
150 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk()
155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
158 LOG(ERROR) << "Current size: " << size_ << " requested: " << next_part << "/" << min_size; in NewFileChunk()
164 size_ += next_part; in NewFileChunk()
165 SpaceChunk new_chunk = {ptr, next_part}; in NewFileChunk()