Lines Matching refs:compound
1197 bool compound = flags & RMAP_COMPOUND; in page_add_anon_rmap() local
1205 if (compound) { in page_add_anon_rmap()
1218 int nr = compound ? thp_nr_pages(page) : 1; in page_add_anon_rmap()
1225 if (compound) in page_add_anon_rmap()
1240 mlock_vma_page(page, vma, compound); in page_add_anon_rmap()
1259 const bool compound = PageCompound(page); in page_add_new_anon_rmap() local
1260 int nr = compound ? thp_nr_pages(page) : 1; in page_add_new_anon_rmap()
1264 if (compound) { in page_add_new_anon_rmap()
1288 struct vm_area_struct *vma, bool compound) in page_add_file_rmap() argument
1292 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap()
1294 if (compound && PageTransHuge(page)) { in page_add_file_rmap()
1333 mlock_vma_page(page, vma, compound); in page_add_file_rmap()
1336 static void page_remove_file_rmap(struct page *page, bool compound) in page_remove_file_rmap() argument
1340 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap()
1350 if (compound && PageTransHuge(page)) { in page_remove_file_rmap()
1424 struct vm_area_struct *vma, bool compound) in page_remove_rmap() argument
1429 page_remove_file_rmap(page, compound); in page_remove_rmap()
1433 if (compound) { in page_remove_rmap()
1464 munlock_vma_page(page, vma, compound); in page_remove_rmap()