Home
last modified time | relevance | path

Searched refs:__lruvec_stat_mod_folio (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/include/linux/
Dvmstat.h612 static inline void __lruvec_stat_mod_folio(struct folio *folio, in __lruvec_stat_mod_folio() function
621 __lruvec_stat_mod_folio(folio, idx, folio_nr_pages(folio)); in __lruvec_stat_add_folio()
627 __lruvec_stat_mod_folio(folio, idx, -folio_nr_pages(folio)); in __lruvec_stat_sub_folio()
/linux-6.6.21/mm/
Drmap.c1243 __lruvec_stat_mod_folio(folio, NR_ANON_THPS, nr_pmdmapped); in page_add_anon_rmap()
1245 __lruvec_stat_mod_folio(folio, NR_ANON_MAPPED, nr); in page_add_anon_rmap()
1289 __lruvec_stat_mod_folio(folio, NR_ANON_THPS, nr); in folio_add_new_anon_rmap()
1292 __lruvec_stat_mod_folio(folio, NR_ANON_MAPPED, nr); in folio_add_new_anon_rmap()
1350 __lruvec_stat_mod_folio(folio, folio_test_swapbacked(folio) ? in folio_add_file_rmap_range()
1353 __lruvec_stat_mod_folio(folio, NR_FILE_MAPPED, nr); in folio_add_file_rmap_range()
1442 __lruvec_stat_mod_folio(folio, idx, -nr_pmdmapped); in page_remove_rmap()
1446 __lruvec_stat_mod_folio(folio, idx, -nr); in page_remove_rmap()
Dswap_state.c122 __lruvec_stat_mod_folio(folio, NR_SWAPCACHE, nr); in add_to_swap_cache()
163 __lruvec_stat_mod_folio(folio, NR_SWAPCACHE, -nr); in __delete_from_swap_cache()
Dshmem.c806 __lruvec_stat_mod_folio(folio, NR_SHMEM_THPS, nr); in shmem_add_to_page_cache()
809 __lruvec_stat_mod_folio(folio, NR_FILE_PAGES, nr); in shmem_add_to_page_cache()
810 __lruvec_stat_mod_folio(folio, NR_SHMEM, nr); in shmem_add_to_page_cache()
840 __lruvec_stat_mod_folio(folio, NR_FILE_PAGES, -nr); in shmem_delete_from_page_cache()
841 __lruvec_stat_mod_folio(folio, NR_SHMEM, -nr); in shmem_delete_from_page_cache()
1772 __lruvec_stat_mod_folio(new, NR_FILE_PAGES, 1); in shmem_replace_folio()
1773 __lruvec_stat_mod_folio(new, NR_SHMEM, 1); in shmem_replace_folio()
1774 __lruvec_stat_mod_folio(old, NR_FILE_PAGES, -1); in shmem_replace_folio()
1775 __lruvec_stat_mod_folio(old, NR_SHMEM, -1); in shmem_replace_folio()
Dfilemap.c185 __lruvec_stat_mod_folio(folio, NR_FILE_PAGES, -nr); in filemap_unaccount_folio()
187 __lruvec_stat_mod_folio(folio, NR_SHMEM, -nr); in filemap_unaccount_folio()
189 __lruvec_stat_mod_folio(folio, NR_SHMEM_THPS, -nr); in filemap_unaccount_folio()
191 __lruvec_stat_mod_folio(folio, NR_FILE_THPS, -nr); in filemap_unaccount_folio()
908 __lruvec_stat_mod_folio(folio, NR_FILE_PAGES, nr); in __filemap_add_folio()
910 __lruvec_stat_mod_folio(folio, in __filemap_add_folio()
Dhuge_memory.c2742 __lruvec_stat_mod_folio(folio, in split_huge_page_to_list()
2745 __lruvec_stat_mod_folio(folio, in split_huge_page_to_list()
Dpage-writeback.c2620 __lruvec_stat_mod_folio(folio, NR_FILE_DIRTY, nr); in folio_account_dirtied()