Lines Matching refs:page_mask
77 uint64_t page_mask; /* physical page size */ member
378 entry->page_mask = to_cache.addr_mask; in amdvi_update_iotlb()
893 uint8_t page_mask = 13; in pte_override_page_mask() local
897 page_mask++; in pte_override_page_mask()
901 return ~((1ULL << page_mask) - 1); in pte_override_page_mask()
931 uint64_t pte = dte[0], pte_addr, page_mask; in amdvi_page_walk() local
967 page_mask = pte_override_page_mask(pte); in amdvi_page_walk()
969 page_mask = pte_get_page_mask(oldlevel); in amdvi_page_walk()
973 ret->iova = addr & page_mask; in amdvi_page_walk()
974 ret->translated_addr = (pte & AMDVI_DEV_PT_ROOT_MASK) & page_mask; in amdvi_page_walk()
975 ret->addr_mask = ~page_mask; in amdvi_page_walk()
997 ret->iova = addr & ~iotlb_entry->page_mask; in amdvi_do_translate()
999 ret->addr_mask = iotlb_entry->page_mask; in amdvi_do_translate()