Home
last modified time | relevance | path

Searched refs:file_cost (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/mm/
H A Dswap.c288 lruvec->file_cost += cost; in lru_note_cost()
305 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
306 lruvec->file_cost /= 2; in lru_note_cost()
H A Dvmscan.c94 unsigned long file_cost; member
2920 sc->file_cost = target_lruvec->file_cost; in prepare_scan_count()
3017 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
3086 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
3088 file_cost = total_cost + sc->file_cost; in get_scan_count()
3089 total_cost = anon_cost + file_cost; in get_scan_count()
3095 fp /= file_cost + 1; in get_scan_count()
H A Dmemcontrol.c4162 unsigned long file_cost = 0; in memcg1_stat_format() local
4168 file_cost += mz->lruvec.file_cost; in memcg1_stat_format()
4171 seq_buf_printf(s, "file_cost %lu\n", file_cost); in memcg1_stat_format()
/openbmc/linux/include/linux/
H A Dmmzone.h630 unsigned long file_cost; member