Home
last modified time | relevance | path

Searched refs:pua (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_64_vio.c455 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in kvmppc_tce_iommu_mapped_dec() local
457 if (!pua) in kvmppc_tce_iommu_mapped_dec()
460 mem = mm_iommu_lookup(kvm->mm, be64_to_cpu(*pua), pgsize); in kvmppc_tce_iommu_mapped_dec()
466 *pua = cpu_to_be64(0); in kvmppc_tce_iommu_mapped_dec()
517 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry); in kvmppc_tce_iommu_do_map() local
520 if (!pua) in kvmppc_tce_iommu_do_map()
544 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map()
/linux-5.19.10/drivers/vfio/
Dvfio_iommu_spapr_tce.c416 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in tce_iommu_unuse_page_v2() local
418 if (!pua) in tce_iommu_unuse_page_v2()
421 ret = tce_iommu_prereg_ua_to_hpa(container, be64_to_cpu(*pua), in tce_iommu_unuse_page_v2()
425 __func__, be64_to_cpu(*pua), entry, ret); in tce_iommu_unuse_page_v2()
429 *pua = cpu_to_be64(0); in tce_iommu_unuse_page_v2()
451 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, in tce_iommu_clear() local
453 if (!pua) { in tce_iommu_clear()
559 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry + i); in tce_iommu_build_v2() local
594 *pua = cpu_to_be64(tce); in tce_iommu_build_v2()