Searched refs:total_cost (Results 1 – 2 of 2) sorted by relevance
45 unsigned long anon_cost, file_cost, total_cost; in get_scan_count_hyperhold() local128 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count_hyperhold()129 anon_cost = total_cost + sc->anon_cost; in get_scan_count_hyperhold()130 file_cost = total_cost + sc->file_cost; in get_scan_count_hyperhold()131 total_cost = anon_cost + file_cost; in get_scan_count_hyperhold()133 ap = swappiness * (total_cost + 1); in get_scan_count_hyperhold()136 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count_hyperhold()
2221 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local2290 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()2291 anon_cost = total_cost + sc->anon_cost; in get_scan_count()2292 file_cost = total_cost + sc->file_cost; in get_scan_count()2293 total_cost = anon_cost + file_cost; in get_scan_count()2295 ap = swappiness * (total_cost + 1); in get_scan_count()2298 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()