Searched refs:vmas (Results 1 – 1 of 1) sorted by relevance
71 static int64_t compactMemory(const std::vector<Vma>& vmas, int pid, int madviseType) { in compactMemory() argument76 if (vmas.empty()) { in compactMemory()87 for (int iBase = 0; iBase < vmas.size(); iBase += UIO_MAXIOV) { in compactMemory()88 int totalVmasToKernel = std::min(UIO_MAXIOV, (int)(vmas.size() - iBase)); in compactMemory()90 vmasToKernel[iVec].iov_base = (void*)vmas[iVma].start; in compactMemory()91 vmasToKernel[iVec].iov_len = vmas[iVma].end - vmas[iVma].start; in compactMemory()