Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/mm/
H A Dvmscan.c92 unsigned long file_cost; member
2318 unsigned long anon_cost, file_cost, total_cost; in get_scan_count() local
2393 total_cost = sc->anon_cost + sc->file_cost; in get_scan_count()
2395 file_cost = total_cost + sc->file_cost; in get_scan_count()
2396 total_cost = anon_cost + file_cost; in get_scan_count()
2402 fp /= file_cost + 1; in get_scan_count()
2783 sc->file_cost = target_lruvec->file_cost; in shrink_node()
H A Dswap.c302 lruvec->file_cost += nr_pages; in lru_note_cost()
319 if (lruvec->file_cost + lruvec->anon_cost > lrusize / 4) { in lru_note_cost()
320 lruvec->file_cost /= 2; in lru_note_cost()
H A Dmemcontrol.c4180 unsigned long file_cost = 0; in memcg_stat_show() local
4186 file_cost += mz->lruvec.file_cost; in memcg_stat_show()
4189 seq_printf(m, "file_cost %lu\n", file_cost); in memcg_stat_show()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmmzone.h288 unsigned long file_cost; member