Home
last modified time | relevance | path

Searched refs:ua (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/mm/
Dmmu_context_iommu.c32 u64 ua; /* userspace address */ member
126 long mm_iommu_get(struct mm_struct *mm, unsigned long ua, unsigned long entries, in mm_iommu_get() argument
140 if ((mem->ua == ua) && (mem->entries == entries)) { in mm_iommu_get()
147 if ((mem->ua < (ua + (entries << PAGE_SHIFT))) && in mm_iommu_get()
148 (ua < (mem->ua + in mm_iommu_get()
173 mem->pageshift = __ffs(ua | (entries << PAGE_SHIFT)); in mm_iommu_get()
182 cur_ua = ua + (i << PAGE_SHIFT); in mm_iommu_get()
238 mem->ua = ua; in mm_iommu_get()
330 unsigned long ua, unsigned long size) in mm_iommu_lookup() argument
335 if ((mem->ua <= ua) && in mm_iommu_lookup()
[all …]
/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c168 unsigned long *ua, unsigned long **prmap) in kvmppc_gpa_to_ua() argument
177 *ua = __gfn_to_hva_memslot(memslot, gfn) | in kvmppc_gpa_to_ua()
249 unsigned long entry, unsigned long ua, in kvmppc_rm_tce_iommu_map() argument
261 mem = mm_iommu_lookup_rm(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_rm_tce_iommu_map()
265 if (WARN_ON_ONCE_RM(mm_iommu_ua_to_hpa_rm(mem, ua, tbl->it_page_shift, in kvmppc_rm_tce_iommu_map()
289 *pua = ua; in kvmppc_rm_tce_iommu_map()
300 unsigned long entry, ua = 0; in kvmppc_rm_h_put_tce() local
324 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), &ua, NULL)) in kvmppc_rm_h_put_tce()
335 stit->tbl, entry, ua, dir); in kvmppc_rm_h_put_tce()
353 unsigned long ua, unsigned long *phpa) in kvmppc_rm_ua_to_hpa() argument
[all …]
Dbook3s_64_vio.c419 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_map() argument
430 mem = mm_iommu_lookup(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_tce_iommu_map()
435 if (WARN_ON_ONCE(mm_iommu_ua_to_hpa(mem, ua, tbl->it_page_shift, &hpa))) in kvmppc_tce_iommu_map()
450 *pua = ua; in kvmppc_tce_iommu_map()
461 unsigned long entry, ua = 0; in kvmppc_h_put_tce() local
484 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), &ua, NULL)) { in kvmppc_h_put_tce()
497 entry, ua, dir); in kvmppc_h_put_tce()
524 unsigned long entry, ua = 0; in kvmppc_h_put_tce_indirect() local
549 if (kvmppc_gpa_to_ua(vcpu->kvm, tce_list, &ua, NULL)) { in kvmppc_h_put_tce_indirect()
553 tces = (u64 __user *) ua; in kvmppc_h_put_tce_indirect()
[all …]
/arch/powerpc/include/asm/
Dmmu_context.h25 unsigned long ua, unsigned long entries,
32 unsigned long ua, unsigned long size);
34 struct mm_struct *mm, unsigned long ua, unsigned long size);
36 unsigned long ua, unsigned long entries);
38 unsigned long ua, unsigned int pageshift, unsigned long *hpa);
40 unsigned long ua, unsigned int pageshift, unsigned long *hpa);
Dvio.h35 #define h_vio_signal(ua, mode) \ argument
36 plpar_hcall_norets(H_VIO_SIGNAL, ua, mode)
Dkvm_ppc.h192 unsigned long *ua, unsigned long **prmap);
/arch/unicore32/include/asm/
Dassembler.h81 .else; .ifc \cond, ua