Home
last modified time | relevance | path

Searched refs:thp_nr_pages (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/mm/
Dmlock.c81 thp_nr_pages(page)); in __mlock_page()
97 __count_vm_events(UNEVICTABLE_PGCULLED, thp_nr_pages(page)); in __mlock_page()
115 __count_vm_events(UNEVICTABLE_PGCULLED, thp_nr_pages(page)); in __mlock_new_page()
124 int nr_pages = thp_nr_pages(page); in __munlock_page()
271 int nr_pages = thp_nr_pages(page); in mlock_new_page()
Drmap.c1218 int nr = compound ? thp_nr_pages(page) : 1; in page_add_anon_rmap()
1260 int nr = compound ? thp_nr_pages(page) : 1; in page_add_new_anon_rmap()
1295 int nr_pages = thp_nr_pages(page); in page_add_file_rmap()
1351 int nr_pages = thp_nr_pages(page); in page_remove_file_rmap()
1388 __mod_lruvec_page_state(page, NR_ANON_THPS, -thp_nr_pages(page)); in page_remove_anon_compound_rmap()
1395 for (i = 0, nr = 0; i < thp_nr_pages(page); i++) { in page_remove_anon_compound_rmap()
1405 if (nr && nr < thp_nr_pages(page)) in page_remove_anon_compound_rmap()
1408 nr = thp_nr_pages(page); in page_remove_anon_compound_rmap()
Dmigrate.c165 page_is_file_lru(page), -thp_nr_pages(page)); in putback_movable_pages()
1211 page_is_file_lru(page), -thp_nr_pages(page)); in unmap_and_move()
1738 thp_nr_pages(head)); in add_page_for_migration()
2120 int nr_pages = thp_nr_pages(page); in numamigrate_isolate_page()
2171 int nr_pages = thp_nr_pages(page); in migrate_misplaced_page()
Dpage_io.c217 count_vm_events(PSWPOUT, thp_nr_pages(page)); in count_swpout_vm_event()
Dhuge_memory.c2510 unsigned int nr = thp_nr_pages(head); in __split_huge_page()
2941 nr_pages = thp_nr_pages(page); in split_huge_pages_all()
3083 nr_pages = thp_nr_pages(fpage); in split_huge_pages_in_file()
Dmemory_hotplug.c1647 pfn = page_to_pfn(head) + thp_nr_pages(page) - 1; in do_migrate_range()
Dcompaction.c1094 thp_nr_pages(page)); in isolate_migratepages_block()
Dkhugepaged.c1976 nr = thp_nr_pages(hpage); in collapse_file()
Dmempolicy.c1041 thp_nr_pages(head)); in migrate_page_add()
/linux-6.1.9/include/linux/
Dpagemap.h716 return head + (index & (thp_nr_pages(head) - 1)); in find_subpage()
1312 rac->_batch_count += thp_nr_pages(page); in __readahead_batch()
Dmm.h985 static inline int thp_nr_pages(struct page *page) in thp_nr_pages() function
/linux-6.1.9/kernel/sched/
Dfair.c1591 thp_nr_pages(page)); in should_numa_migrate_memory()