Searched refs:thp_nr_pages (Results 1 – 24 of 24) sorted by relevance
/linux/mm/ |
A D | mlock.c | 67 nr_pages = thp_nr_pages(page); in clear_page_mlock() 100 int nr_pages = thp_nr_pages(page); in mlock_vma_page() 126 count_vm_events(UNEVICTABLE_PGMUNLOCKED, thp_nr_pages(page)); in __munlock_isolated_page() 142 int nr_pages = thp_nr_pages(page); in __munlock_isolation_failed() 181 nr_pages = thp_nr_pages(page); in munlock_vma_page()
|
A D | rmap.c | 1143 int nr = compound ? thp_nr_pages(page) : 1; in do_page_add_anon_rmap() 1182 int nr = compound ? thp_nr_pages(page) : 1; in page_add_new_anon_rmap() 1218 int nr_pages = thp_nr_pages(page); in page_add_file_rmap() 1265 int nr_pages = thp_nr_pages(page); in page_remove_file_rmap() 1309 __mod_lruvec_page_state(page, NR_ANON_THPS, -thp_nr_pages(page)); in page_remove_anon_compound_rmap() 1316 for (i = 0, nr = 0; i < thp_nr_pages(page); i++) { in page_remove_anon_compound_rmap() 1326 if (nr && nr < thp_nr_pages(page)) in page_remove_anon_compound_rmap() 1329 nr = thp_nr_pages(page); in page_remove_anon_compound_rmap() 2289 pgoff_end = pgoff_start + thp_nr_pages(page) - 1; in rmap_walk_anon() 2343 pgoff_end = pgoff_start + thp_nr_pages(page) - 1; in rmap_walk_file()
|
A D | swap.c | 491 int nr_pages = thp_nr_pages(page); in lru_cache_add_inactive_or_unevictable() 527 int nr_pages = thp_nr_pages(page); in lru_deactivate_file_fn() 567 int nr_pages = thp_nr_pages(page); in lru_deactivate_fn() 584 int nr_pages = thp_nr_pages(page); in lru_lazyfree_fn()
|
A D | swap_state.c | 106 unsigned long i, nr = thp_nr_pages(page); in add_to_swap_cache() 156 int i, nr = thp_nr_pages(page); in __delete_from_swap_cache() 250 page_ref_sub(page, thp_nr_pages(page)); in delete_from_swap_cache()
|
A D | huge_memory.c | 2413 unsigned int nr = thp_nr_pages(head); in __split_huge_page() 2562 for (i = 0; i < thp_nr_pages(page); i++) { in page_trans_huge_mapcount() 2569 _total_mapcount -= thp_nr_pages(page); in page_trans_huge_mapcount() 2586 extra_pins = PageSwapCache(page) ? thp_nr_pages(page) : 0; in can_split_huge_page() 2588 extra_pins = thp_nr_pages(page); in can_split_huge_page() 2704 int nr = thp_nr_pages(head); in split_huge_page_to_list() 2724 remap_page(head, thp_nr_pages(head)); in split_huge_page_to_list() 3040 nr_pages = thp_nr_pages(fpage); in split_huge_pages_in_file()
|
A D | filemap.c | 193 nr = thp_nr_pages(page); in unaccount_page_cache_page() 244 page_ref_sub(page, thp_nr_pages(page)); in page_cache_free_page() 2107 if (page->index + thp_nr_pages(page) - 1 > end) in find_lock_entries() 2126 unsigned int nr_pages = thp_nr_pages(page); in find_lock_entries() 2292 *index = page->index + thp_nr_pages(page); in find_get_pages_range_tag() 2368 xas.xa_index = head->index + thp_nr_pages(head) - 1; in filemap_get_read_batch() 2693 for (j = 0; j < thp_nr_pages(page); j++) in filemap_read()
|
A D | migrate.c | 166 page_is_file_lru(page), -thp_nr_pages(page)); in putback_movable_pages() 1231 page_is_file_lru(page), -thp_nr_pages(page)); in unmap_and_move() 1472 nr_subpages = thp_nr_pages(page); in migrate_pages() 1730 thp_nr_pages(head)); in add_page_for_migration() 2105 int nr_pages = thp_nr_pages(page); in numamigrate_isolate_page() 2147 int nr_pages = thp_nr_pages(page); in migrate_misplaced_page()
|
A D | page_vma_mapped.c | 65 return pfn >= page_pfn && pfn - page_pfn < thp_nr_pages(page); in pfn_is_match()
|
A D | workingset.c | 271 workingset_age_nonresident(lruvec, thp_nr_pages(page)); in workingset_eviction()
|
A D | page_io.c | 263 count_vm_events(PSWPOUT, thp_nr_pages(page)); in count_swpout_vm_event()
|
A D | vmscan.c | 988 int page_cache_pins = thp_nr_pages(page); in is_page_cache_freeable() 1814 stat->nr_pageout += thp_nr_pages(page); in shrink_page_list() 2358 nr_pages = thp_nr_pages(page); in move_pages_to_lru() 2559 nr_rotated += thp_nr_pages(page); in shrink_active_list() 4866 nr_pages = thp_nr_pages(page); in check_move_unevictable_pages()
|
A D | truncate.c | 502 index += thp_nr_pages(page) - 1; in __invalidate_mapping_pages()
|
A D | memory_hotplug.c | 1703 pfn = page_to_pfn(head) + thp_nr_pages(page) - 1; in do_migrate_range()
|
A D | khugepaged.c | 1867 nr = thp_nr_pages(new_page); in collapse_file()
|
A D | compaction.c | 1070 thp_nr_pages(page)); in isolate_migratepages_block()
|
A D | mempolicy.c | 1032 thp_nr_pages(head)); in migrate_page_add()
|
A D | gup.c | 1878 thp_nr_pages(head)); in check_and_migrate_movable_pages()
|
A D | memcontrol.c | 7135 nr_entries = thp_nr_pages(page); in mem_cgroup_swapout() 7179 unsigned int nr_pages = thp_nr_pages(page); in __mem_cgroup_try_charge_swap()
|
A D | swapfile.c | 1357 int size = swap_entry_size(thp_nr_pages(page)); in put_swap_page()
|
A D | shmem.c | 950 index += thp_nr_pages(page) - 1; in shmem_undo_range()
|
A D | memory.c | 3356 last_index = page->index + thp_nr_pages(page) - 1; in unmap_mapping_page()
|
/linux/include/linux/ |
A D | huge_mm.h | 269 static inline int thp_nr_pages(struct page *page) in thp_nr_pages() function 336 static inline int thp_nr_pages(struct page *page) in thp_nr_pages() function
|
A D | pagemap.h | 520 return page_index(head) == (index & ~(thp_nr_pages(head) - 1UL)); in thp_contains() 600 return head + (index & (thp_nr_pages(head) - 1)); in find_subpage() 1127 rac->_batch_count += thp_nr_pages(page); in __readahead_batch()
|
/linux/lib/ |
A D | iov_iter.c | 90 j < thp_nr_pages(head); j++) { \
|
Completed in 114 milliseconds