/linux-6.1.9/include/linux/ |
D | vmstat.h | 421 __mod_zone_page_state(folio_zone(folio), item, folio_nr_pages(folio)); in __zone_stat_add_folio() 427 __mod_zone_page_state(folio_zone(folio), item, -folio_nr_pages(folio)); in __zone_stat_sub_folio() 439 mod_zone_page_state(folio_zone(folio), item, folio_nr_pages(folio)); in zone_stat_add_folio() 445 mod_zone_page_state(folio_zone(folio), item, -folio_nr_pages(folio)); in zone_stat_sub_folio() 457 __mod_node_page_state(folio_pgdat(folio), item, folio_nr_pages(folio)); in __node_stat_add_folio() 463 __mod_node_page_state(folio_pgdat(folio), item, -folio_nr_pages(folio)); in __node_stat_sub_folio() 475 mod_node_page_state(folio_pgdat(folio), item, folio_nr_pages(folio)); in node_stat_add_folio() 481 mod_node_page_state(folio_pgdat(folio), item, -folio_nr_pages(folio)); in node_stat_sub_folio() 615 __lruvec_stat_mod_folio(folio, idx, folio_nr_pages(folio)); in __lruvec_stat_add_folio() 621 __lruvec_stat_mod_folio(folio, idx, -folio_nr_pages(folio)); in __lruvec_stat_sub_folio() [all …]
|
D | mm_inline.h | 179 int delta = folio_nr_pages(folio); in lru_gen_update_size() 321 folio_nr_pages(folio)); in lruvec_add_folio() 341 folio_nr_pages(folio)); in lruvec_add_folio_tail() 357 -folio_nr_pages(folio)); in lruvec_del_folio()
|
D | pagemap.h | 667 return folio->index + folio_nr_pages(folio); in folio_next_index() 685 return folio_page(folio, index & (folio_nr_pages(folio) - 1)); in folio_file_page() 703 return index - folio_index(folio) < folio_nr_pages(folio); in folio_contains() 1254 ractl->_batch_count = folio_nr_pages(folio); in __readahead_folio()
|
D | rmap.h | 397 .nr_pages = folio_nr_pages(_folio), \
|
D | mm.h | 1662 static inline long folio_nr_pages(struct folio *folio) in folio_nr_pages() function 1689 return (struct folio *)folio_page(folio, folio_nr_pages(folio)); in folio_next() 1733 long i, nr = folio_nr_pages(folio); in arch_make_folio_accessible()
|
/linux-6.1.9/mm/ |
D | swap.c | 93 long nr_pages = folio_nr_pages(folio); in __page_cache_release() 195 long nr_pages = folio_nr_pages(folio); in lru_add_fn() 272 __count_vm_events(PGROTATED, folio_nr_pages(folio)); in lru_move_tail_fn() 341 folio_nr_pages(folio)); in lru_note_cost_folio() 347 long nr_pages = folio_nr_pages(folio); in folio_activate_fn() 581 long nr_pages = folio_nr_pages(folio); in lru_deactivate_file_fn() 622 long nr_pages = folio_nr_pages(folio); in lru_deactivate_fn() 639 long nr_pages = folio_nr_pages(folio); in lru_lazyfree_fn()
|
D | workingset.c | 228 int delta = folio_nr_pages(folio); in lru_gen_eviction() 259 int delta = folio_nr_pages(folio); in lru_gen_refault() 371 workingset_age_nonresident(lruvec, folio_nr_pages(folio)); in workingset_eviction() 458 nr = folio_nr_pages(folio); in workingset_refault() 522 workingset_age_nonresident(folio_lruvec(folio), folio_nr_pages(folio)); in workingset_activation()
|
D | truncate.c | 277 folio_nr_pages(folio) + folio_has_private(folio) + 1) in mapping_evict_folio() 382 start = folio->index + folio_nr_pages(folio); in truncate_inode_pages_range() 428 index = folio_index(folio) + folio_nr_pages(folio) - 1; in truncate_inode_pages_range() 526 index += folio_nr_pages(folio) - 1; in invalidate_mapping_pagevec()
|
D | util.c | 737 nr = folio_nr_pages(folio); in folio_mapped() 828 nr = folio_nr_pages(folio); in folio_mapcount() 852 long nr = folio_nr_pages(src); in folio_copy() 1187 long i, nr = folio_nr_pages(folio); in flush_dcache_folio()
|
D | filemap.c | 135 nr = folio_nr_pages(folio); in page_cache_delete() 181 nr = folio_nr_pages(folio); in filemap_unaccount_folio() 236 refs = folio_nr_pages(folio); in filemap_free_folio() 313 total_pages += folio_nr_pages(folio); in page_cache_delete_batch() 853 VM_BUG_ON_FOLIO(index & (folio_nr_pages(folio) - 1), folio); in __filemap_add_folio() 858 nr = folio_nr_pages(folio); in __filemap_add_folio() 2099 if (folio->index + folio_nr_pages(folio) - 1 > end) in find_lock_entries() 2156 unsigned long nr = folio_nr_pages(folio); in filemap_get_folios() 2189 return index < folio->index + folio_nr_pages(folio) - 1; in folio_more_pages() 2234 nr = folio_nr_pages(folio); in filemap_get_folios_contig() [all …]
|
D | page-writeback.c | 2512 .nr_to_write = folio_nr_pages(folio), in folio_write_one() 2562 long nr = folio_nr_pages(folio); in folio_account_dirtied() 2587 long nr = folio_nr_pages(folio); in folio_account_cleaned() 2681 long nr = folio_nr_pages(folio); in folio_account_redirty() 2708 long nr = folio_nr_pages(folio); in folio_redirty_for_writepage() 2876 long nr = folio_nr_pages(folio); in folio_clear_dirty_for_io() 2913 long nr = folio_nr_pages(folio); in __folio_end_writeback() 2958 long nr = folio_nr_pages(folio); in __folio_start_writeback()
|
D | swap_state.c | 94 unsigned long i, nr = folio_nr_pages(folio); in add_to_swap_cache() 144 long nr = folio_nr_pages(folio); in __delete_from_swap_cache() 241 folio_ref_sub(folio, folio_nr_pages(folio)); in delete_from_swap_cache()
|
D | swap_slots.c | 311 get_swap_pages(1, &entry, folio_nr_pages(folio)); in folio_alloc_swap()
|
D | rmap.c | 1629 hugetlb_count_sub(folio_nr_pages(folio), mm); in try_to_unmap_one() 1921 VM_BUG_ON_FOLIO(folio_nr_pages(folio) > 1, folio); in try_to_migrate_one() 2037 hugetlb_count_sub(folio_nr_pages(folio), mm); in try_to_migrate_one() 2439 pgoff_end = pgoff_start + folio_nr_pages(folio) - 1; in rmap_walk_anon() 2488 pgoff_end = pgoff_start + folio_nr_pages(folio) - 1; in rmap_walk_file()
|
D | shmem.c | 695 long nr = folio_nr_pages(folio); in shmem_add_to_page_cache() 761 long nr = folio_nr_pages(folio); in shmem_delete_from_page_cache() 937 index += folio_nr_pages(folio) - 1; in shmem_undo_range() 964 start = folio->index + folio_nr_pages(folio); in shmem_undo_range() 1027 index = folio->index + folio_nr_pages(folio) - 1; in shmem_undo_range() 1947 hindex = round_down(index, folio_nr_pages(folio)); in shmem_get_folio_gfp() 1960 info->alloced += folio_nr_pages(folio); in shmem_get_folio_gfp() 1998 long i, n = folio_nr_pages(folio); in shmem_get_folio_gfp() 2027 shmem_inode_unacct_blocks(inode, folio_nr_pages(folio)); in shmem_get_folio_gfp()
|
D | vmscan.c | 1058 1 + folio_nr_pages(folio); in is_page_cache_freeable() 1337 refcount = 1 + folio_nr_pages(folio); in __remove_mapping() 1419 return folio_nr_pages(folio); in remove_mapping() 1663 nr_pages = folio_nr_pages(folio); in shrink_folio_list() 2202 nr_pages = folio_nr_pages(folio); in isolate_lru_folios() 2415 nr_pages = folio_nr_pages(folio); in move_folios_to_lru() 2627 nr_rotated += folio_nr_pages(folio); in shrink_active_list() 3705 int delta = folio_nr_pages(folio); in update_batch_size() 4720 int delta = folio_nr_pages(folio); in sort_folio() 4840 int delta = folio_nr_pages(folio); in scan_folios() [all …]
|
D | huge_memory.c | 1363 1 + folio_test_swapcache(folio) * folio_nr_pages(folio)) in do_huge_pmd_wp_page() 2388 i += folio_nr_pages(folio); in remap_page() 2606 folio_nr_pages(folio) : 0; in can_split_folio() 2608 extra_pins = folio_nr_pages(folio); in can_split_folio() 2746 int nr = folio_nr_pages(folio); in split_huge_page_to_list() 2767 remap_page(folio, folio_nr_pages(folio)); in split_huge_page_to_list()
|
D | readahead.c | 168 unsigned long nr = folio_nr_pages(folio); in read_pages()
|
D | mlock.c | 251 int nr_pages = folio_nr_pages(folio); in mlock_folio()
|
D | memcontrol.c | 5693 unsigned int nr_pages = compound ? folio_nr_pages(folio) : 1; in mem_cgroup_move_account() 6887 long nr_pages = folio_nr_pages(folio); in charge_memcg() 7060 nr_pages = folio_nr_pages(folio); in uncharge_folio() 7125 long nr_pages = folio_nr_pages(new); in mem_cgroup_migrate() 7131 VM_BUG_ON_FOLIO(folio_nr_pages(old) != nr_pages, new); in mem_cgroup_migrate() 7357 nr_entries = folio_nr_pages(folio); in mem_cgroup_swapout() 7402 unsigned int nr_pages = folio_nr_pages(folio); in __mem_cgroup_try_charge_swap()
|
/linux-6.1.9/fs/freevxfs/ |
D | vxfs_immed.c | 37 for (i = 0; i < folio_nr_pages(folio); i++) { in vxfs_immed_read_folio()
|
/linux-6.1.9/fs/afs/ |
D | write.c | 246 next = index + folio_nr_pages(folio); in afs_redirty_pages() 505 index += folio_nr_pages(folio); in afs_extend_writeback() 532 *_count -= folio_nr_pages(folio); in afs_extend_writeback() 568 count -= folio_nr_pages(folio); in afs_write_back_from_locked_folio()
|
D | dir_edit.c | 250 if (index >= folio_nr_pages(folio0)) { in afs_edit_dir_add() 411 if (index >= folio_nr_pages(folio0)) { in afs_edit_dir_remove()
|
/linux-6.1.9/fs/ramfs/ |
D | file-nommu.c | 244 nr_pages += folio_nr_pages(fbatch.folios[loop]); in ramfs_nommu_get_unmapped_area()
|
/linux-6.1.9/fs/netfs/ |
D | buffered_read.c | 402 ractl._nr_pages = folio_nr_pages(folio); in netfs_write_begin()
|