Lines Matching refs:haddr
974 unsigned long haddr, pmd_t *pmd, in __collapse_huge_page_swapin() argument
979 unsigned long address, end = haddr + (HPAGE_PMD_NR * PAGE_SIZE); in __collapse_huge_page_swapin()
984 for (address = haddr; address < end; address += PAGE_SIZE) { in __collapse_huge_page_swapin()
1467 unsigned long haddr = addr & HPAGE_PMD_MASK; in collapse_pte_mapped_thp() local
1468 struct vm_area_struct *vma = vma_lookup(mm, haddr); in collapse_pte_mapped_thp()
1480 !range_in_vma(vma, haddr, haddr + HPAGE_PMD_SIZE)) in collapse_pte_mapped_thp()
1484 result = find_pmd_or_thp_or_none(mm, haddr, &pmd); in collapse_pte_mapped_thp()
1503 linear_page_index(vma, haddr)); in collapse_pte_mapped_thp()
1517 result = find_pmd_or_thp_or_none(mm, haddr, &pmd); in collapse_pte_mapped_thp()
1532 start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl); in collapse_pte_mapped_thp()
1537 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp()
1565 haddr, haddr + HPAGE_PMD_SIZE); in collapse_pte_mapped_thp()
1580 start_pte = pte_offset_map_nolock(mm, pmd, haddr, &ptl); in collapse_pte_mapped_thp()
1589 for (i = 0, addr = haddr, pte = start_pte; in collapse_pte_mapped_thp()
1636 pgt_pmd = pmdp_collapse_flush(vma, haddr, pmd); in collapse_pte_mapped_thp()
1645 page_table_check_pte_clear_range(mm, haddr, pgt_pmd); in collapse_pte_mapped_thp()
1651 ? set_huge_pmd(vma, haddr, pmd, hpage) in collapse_pte_mapped_thp()