Lines Matching refs:compound
1111 struct vm_area_struct *vma, unsigned long address, bool compound) in page_add_anon_rmap() argument
1113 do_page_add_anon_rmap(page, vma, address, compound ? RMAP_COMPOUND : 0); in page_add_anon_rmap()
1124 bool compound = flags & RMAP_COMPOUND; in do_page_add_anon_rmap() local
1132 if (compound) { in do_page_add_anon_rmap()
1143 int nr = compound ? thp_nr_pages(page) : 1; in do_page_add_anon_rmap()
1150 if (compound) in do_page_add_anon_rmap()
1180 struct vm_area_struct *vma, unsigned long address, bool compound) in page_add_new_anon_rmap() argument
1182 int nr = compound ? thp_nr_pages(page) : 1; in page_add_new_anon_rmap()
1186 if (compound) { in page_add_new_anon_rmap()
1211 void page_add_file_rmap(struct page *page, bool compound) in page_add_file_rmap() argument
1215 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap()
1217 if (compound && PageTransHuge(page)) { in page_add_file_rmap()
1250 static void page_remove_file_rmap(struct page *page, bool compound) in page_remove_file_rmap() argument
1254 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap()
1264 if (compound && PageTransHuge(page)) { in page_remove_file_rmap()
1346 void page_remove_rmap(struct page *page, bool compound) in page_remove_rmap() argument
1351 page_remove_file_rmap(page, compound); in page_remove_rmap()
1355 if (compound) { in page_remove_rmap()