Searched refs:vmaToAdviseFunc (Results 1 – 1 of 1) sorted by relevance
365 static int64_t compactProcess(int pid, VmaToAdviseFunc vmaToAdviseFunc) { in compactProcess() argument373 auto vmaCollectorCb = [&vmaToAdviseFunc, &pageoutVmaIndex, &coldVmaIndex](const Vma& vma) { in compactProcess()374 int advice = vmaToAdviseFunc(vma); in compactProcess()434 VmaToAdviseFunc vmaToAdviseFunc; in compactProcessOrFallback() local439 vmaToAdviseFunc = getAnyPageAdvice; in compactProcessOrFallback()442 vmaToAdviseFunc = getAnonPageAdvice; in compactProcessOrFallback()446 vmaToAdviseFunc = getFilePageAdvice; in compactProcessOrFallback()449 if (shouldForceProcFs || compactProcess(pid, vmaToAdviseFunc) == -ENOSYS) { in compactProcessOrFallback()