Searched refs:vmaToAdviseFunc (Results 1 – 1 of 1) sorted by relevance
127 static int64_t compactProcess(int pid, VmaToAdviseFunc vmaToAdviseFunc) { in compactProcess() argument130 auto vmaCollectorCb = [&coldVmas,&pageoutVmas,&vmaToAdviseFunc](const Vma& vma) { in compactProcess()131 int advice = vmaToAdviseFunc(vma); in compactProcess()170 VmaToAdviseFunc vmaToAdviseFunc; in compactProcessOrFallback() local175 vmaToAdviseFunc = getAnyPageAdvice; in compactProcessOrFallback()178 vmaToAdviseFunc = getAnonPageAdvice; in compactProcessOrFallback()182 vmaToAdviseFunc = getFilePageAdvice; in compactProcessOrFallback()185 if (shouldForceProcFs || compactProcess(pid, vmaToAdviseFunc) == -ENOSYS) { in compactProcessOrFallback()