Lines Matching full:compound
1106 * @compound: charge the page as compound or small page
1114 struct vm_area_struct *vma, unsigned long address, bool compound) in page_add_anon_rmap() argument
1116 do_page_add_anon_rmap(page, vma, address, compound ? RMAP_COMPOUND : 0); in page_add_anon_rmap()
1127 bool compound = flags & RMAP_COMPOUND; in do_page_add_anon_rmap() local
1135 if (compound) { in do_page_add_anon_rmap()
1146 int nr = compound ? thp_nr_pages(page) : 1; in do_page_add_anon_rmap()
1153 if (compound) in do_page_add_anon_rmap()
1176 * @compound: charge the page as compound or small page
1183 struct vm_area_struct *vma, unsigned long address, bool compound) in page_add_new_anon_rmap() argument
1185 int nr = compound ? thp_nr_pages(page) : 1; in page_add_new_anon_rmap()
1189 if (compound) { in page_add_new_anon_rmap()
1210 * @compound: charge the page as compound or small page
1214 void page_add_file_rmap(struct page *page, bool compound) in page_add_file_rmap() argument
1218 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap()
1220 if (compound && PageTransHuge(page)) { in page_add_file_rmap()
1247 static void page_remove_file_rmap(struct page *page, bool compound) in page_remove_file_rmap() argument
1251 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap()
1261 if (compound && PageTransHuge(page)) { in page_remove_file_rmap()
1316 * page of the compound page is unmapped, but at least one in page_remove_anon_compound_rmap()
1335 * @compound: uncharge the page as compound or small page
1339 void page_remove_rmap(struct page *page, bool compound) in page_remove_rmap() argument
1344 page_remove_file_rmap(page, compound); in page_remove_rmap()
1348 if (compound) { in page_remove_rmap()