Home
last modified time | relevance | path

Searched refs:vmaddr (Results 1 – 25 of 50) sorted by relevance

12

/arch/powerpc/mm/book3s32/
Dtlb.c138 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument
144 _tlbie(vmaddr); in flush_tlb_page()
147 mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm; in flush_tlb_page()
148 pmd = pmd_offset(pud_offset(pgd_offset(mm, vmaddr), vmaddr), vmaddr); in flush_tlb_page()
150 flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1); in flush_tlb_page()
/arch/mips/include/asm/
Dtlbflush.h41 #define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, end) argument
42 #define flush_tlb_kernel_range(vmaddr,end) \ argument
43 local_flush_tlb_kernel_range(vmaddr, end)
Dcacheflush.h70 struct page *page, unsigned long vmaddr) in flush_anon_page() argument
73 __flush_anon_page(page, vmaddr); in flush_anon_page()
/arch/s390/mm/
Dgmap.c356 static int __gmap_unlink_by_vmaddr(struct gmap *gmap, unsigned long vmaddr) in __gmap_unlink_by_vmaddr() argument
363 entry = radix_tree_delete(&gmap->host_to_guest, vmaddr >> PMD_SHIFT); in __gmap_unlink_by_vmaddr()
381 unsigned long vmaddr; in __gmap_unmap_by_gaddr() local
383 vmaddr = (unsigned long) radix_tree_delete(&gmap->guest_to_host, in __gmap_unmap_by_gaddr()
385 return vmaddr ? __gmap_unlink_by_vmaddr(gmap, vmaddr) : 0; in __gmap_unmap_by_gaddr()
476 unsigned long vmaddr; in __gmap_translate() local
478 vmaddr = (unsigned long) in __gmap_translate()
481 return vmaddr ? (vmaddr | (gaddr & ~PMD_MASK)) : -EFAULT; in __gmap_translate()
512 unsigned long vmaddr) in gmap_unlink() argument
519 flush = __gmap_unlink_by_vmaddr(gmap, vmaddr); in gmap_unlink()
[all …]
/arch/powerpc/include/asm/nohash/
Dtlbflush.h37 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
39 extern void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
44 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
45 extern void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
Dhugetlb-book3e.h29 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h92 unsigned long vmaddr) in local_flush_tlb_page() argument
95 return radix__local_flush_tlb_page(vma, vmaddr); in local_flush_tlb_page()
96 return hash__local_flush_tlb_page(vma, vmaddr); in local_flush_tlb_page()
122 unsigned long vmaddr) in flush_tlb_page() argument
125 return radix__flush_tlb_page(vma, vmaddr); in flush_tlb_page()
126 return hash__flush_tlb_page(vma, vmaddr); in flush_tlb_page()
Dhugetlb.h9 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
10 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
88 unsigned long vmaddr) in flush_hugetlb_page() argument
91 return radix__flush_hugetlb_page(vma, vmaddr); in flush_hugetlb_page()
107 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
Dtlbflush-radix.h56 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
57 extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
63 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
64 extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
Dtlbflush-hash.h93 unsigned long vmaddr) in hash__local_flush_tlb_page() argument
98 unsigned long vmaddr) in hash__flush_tlb_page() argument
/arch/powerpc/include/asm/book3s/32/
Dtlbflush.h10 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
16 unsigned long vmaddr) in local_flush_tlb_page() argument
18 flush_tlb_page(vma, vmaddr); in local_flush_tlb_page()
/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c12 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__flush_hugetlb_page() argument
18 radix__flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__flush_hugetlb_page()
21 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__local_flush_hugetlb_page() argument
27 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__local_flush_hugetlb_page()
Dradix_tlb.c592 void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, in radix__local_flush_tlb_page_psize() argument
600 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__local_flush_tlb_page_psize()
604 void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__local_flush_tlb_page() argument
609 return radix__local_flush_hugetlb_page(vma, vmaddr); in radix__local_flush_tlb_page()
611 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, mmu_virtual_psize); in radix__local_flush_tlb_page()
756 void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, in radix__flush_tlb_page_psize() argument
773 _tlbie_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize()
775 _tlbiel_va_multicast(mm, vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize()
778 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize()
783 void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__flush_tlb_page() argument
[all …]
/arch/powerpc/mm/nohash/
Dtlb.c206 void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __local_flush_tlb_page() argument
214 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
218 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page() argument
220 __local_flush_tlb_page(vma ? vma->vm_mm : NULL, vmaddr, in local_flush_tlb_page()
290 void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __flush_tlb_page() argument
314 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
321 .addr = vmaddr, in __flush_tlb_page()
330 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
335 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument
339 flush_hugetlb_page(vma, vmaddr); in flush_tlb_page()
[all …]
Dbook3e_hugetlbpage.c198 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_hugetlb_page() argument
203 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
/arch/parisc/include/asm/
Dcacheflush.h89 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn);
98 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in flush_anon_page() argument
101 flush_tlb_page(vma, vmaddr); in flush_anon_page()
103 flush_dcache_page_asm(page_to_phys(page), vmaddr); in flush_anon_page()
/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h28 unsigned long vmaddr) in flush_hugetlb_page() argument
30 flush_tlb_page(vma, vmaddr); in flush_hugetlb_page()
/arch/microblaze/include/asm/
Dtlbflush.h34 unsigned long vmaddr) in local_flush_tlb_page() argument
35 { __tlbie(vmaddr); } in local_flush_tlb_page()
/arch/parisc/kernel/
Dcache.c304 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __flush_cache_page() argument
308 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page()
310 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page()
315 __purge_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __purge_cache_page() argument
319 purge_dcache_page_asm(physaddr, vmaddr); in __purge_cache_page()
321 flush_icache_page_asm(physaddr, vmaddr); in __purge_cache_page()
637 flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn) in flush_cache_page() argument
641 flush_tlb_page(vma, vmaddr); in flush_cache_page()
642 __flush_cache_page(vma, vmaddr, PFN_PHYS(pfn)); in flush_cache_page()
644 __purge_cache_page(vma, vmaddr, PFN_PHYS(pfn)); in flush_cache_page()
/arch/s390/include/asm/
Dgmap.h114 int __gmap_link(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr);
118 void gmap_unlink(struct mm_struct *, unsigned long *table, unsigned long vmaddr);
146 unsigned long gaddr, unsigned long vmaddr);
/arch/ia64/include/asm/
Dprocessor.h481 __u64 vmaddr, __u64 pte, in ia64_itr() argument
485 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itr()
498 ia64_itc (__u64 target_mask, __u64 vmaddr, __u64 pte, in ia64_itc() argument
502 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itc()
516 ia64_ptr (__u64 target_mask, __u64 vmaddr, __u64 log_size) in ia64_ptr() argument
519 ia64_ptri(vmaddr, (log_size << 2)); in ia64_ptr()
521 ia64_ptrd(vmaddr, (log_size << 2)); in ia64_ptr()
/arch/sh/include/asm/
Dcacheflush.h62 struct page *page, unsigned long vmaddr) in flush_anon_page() argument
65 __flush_anon_page(page, vmaddr); in flush_anon_page()
/arch/mips/mm/
Dcache.c112 void __flush_anon_page(struct page *page, unsigned long vmaddr) in __flush_anon_page() argument
116 if (pages_do_alias(addr, vmaddr)) { in __flush_anon_page()
120 kaddr = kmap_coherent(page, vmaddr); in __flush_anon_page()
/arch/xtensa/include/asm/
Dtlbflush.h55 #define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, \ argument
/arch/s390/kvm/
Dpriv.c248 unsigned long gaddr, vmaddr; in handle_iske() local
268 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_iske()
269 if (kvm_is_error_hva(vmaddr)) in handle_iske()
274 rc = get_guest_storage_key(current->mm, vmaddr, &key); in handle_iske()
277 rc = fixup_user_fault(current, current->mm, vmaddr, in handle_iske()
296 unsigned long vmaddr, gaddr; in handle_rrbe() local
315 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_rrbe()
316 if (kvm_is_error_hva(vmaddr)) in handle_rrbe()
321 rc = reset_guest_reference_bit(current->mm, vmaddr); in handle_rrbe()
323 rc = fixup_user_fault(current, current->mm, vmaddr, in handle_rrbe()
[all …]

12