Searched refs:file_cost (Results 1 – 3 of 3) sorted by relevance
267 lruvec->file_cost += nr_pages; in lru_note_cost()284 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()285 lruvec->file_cost /= 2; in lru_note_cost()
96 unsigned long file_cost; member2630 sc->file_cost = target_lruvec->file_cost; in prepare_scan_count()2729 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local2804 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()2806 file_cost = total_cost + sc->file_cost; in get_scan_count()2807 total_cost = anon_cost + file_cost; in get_scan_count()2813 fp /= file_cost + 1; in get_scan_count()
4126 unsigned long file_cost = 0; in memcg_stat_show() local4132 file_cost += mz->lruvec.file_cost; in memcg_stat_show()4135 seq_printf(m, "file_cost %lu\n", file_cost); in memcg_stat_show()