Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c232 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in iommu_tce_xchg_no_kill_rm() local
237 if (pua && *pua) in iommu_tce_xchg_no_kill_rm()
238 mm_iommu_ua_mark_dirty_rm(mm, be64_to_cpu(*pua)); in iommu_tce_xchg_no_kill_rm()
265 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in kvmppc_rm_tce_iommu_mapped_dec() local
267 if (!pua) in kvmppc_rm_tce_iommu_mapped_dec()
271 mem = mm_iommu_lookup_rm(kvm->mm, be64_to_cpu(*pua), pgsize); in kvmppc_rm_tce_iommu_mapped_dec()
277 *pua = cpu_to_be64(0); in kvmppc_rm_tce_iommu_mapped_dec()
329 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in kvmppc_rm_tce_iommu_do_map() local
332 if (!pua) in kvmppc_rm_tce_iommu_do_map()
360 *pua = cpu_to_be64(ua); in kvmppc_rm_tce_iommu_do_map()
Dbook3s_64_vio.c427 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in kvmppc_tce_iommu_mapped_dec() local
429 if (!pua) in kvmppc_tce_iommu_mapped_dec()
432 mem = mm_iommu_lookup(kvm->mm, be64_to_cpu(*pua), pgsize); in kvmppc_tce_iommu_mapped_dec()
438 *pua = cpu_to_be64(0); in kvmppc_tce_iommu_mapped_dec()
487 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry); in kvmppc_tce_iommu_do_map() local
490 if (!pua) in kvmppc_tce_iommu_do_map()
514 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map()
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_spapr_tce.c415 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in tce_iommu_unuse_page_v2() local
417 if (!pua) in tce_iommu_unuse_page_v2()
420 ret = tce_iommu_prereg_ua_to_hpa(container, be64_to_cpu(*pua), in tce_iommu_unuse_page_v2()
424 __func__, be64_to_cpu(*pua), entry, ret); in tce_iommu_unuse_page_v2()
428 *pua = cpu_to_be64(0); in tce_iommu_unuse_page_v2()
450 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, in tce_iommu_clear() local
452 if (!pua) { in tce_iommu_clear()
558 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry + i); in tce_iommu_build_v2() local
593 *pua = cpu_to_be64(tce); in tce_iommu_build_v2()