/linux/arch/s390/mm/ |
A D | gmap.c | 380 unsigned long vmaddr; in __gmap_unmap_by_gaddr() local 384 return vmaddr ? __gmap_unlink_by_vmaddr(gmap, vmaddr) : 0; in __gmap_unmap_by_gaddr() 475 unsigned long vmaddr; in __gmap_translate() local 480 return vmaddr ? (vmaddr | (gaddr & ~PMD_MASK)) : -EFAULT; in __gmap_translate() 648 rc = vmaddr; in gmap_fault() 683 if (vmaddr) { in __gmap_zap() 712 if (!vmaddr) in gmap_discard() 1083 return vmaddr; in gmap_protect_range() 1164 rc = vmaddr; in gmap_read_table() 1226 return vmaddr; in gmap_protect_rmap() [all …]
|
/linux/arch/powerpc/include/asm/nohash/ |
A D | tlbflush.h | 44 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page() argument 46 asm volatile ("tlbie %0; sync" : : "r" (vmaddr) : "memory"); in local_flush_tlb_page() 50 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 52 extern void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, 58 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 59 extern void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
|
/linux/arch/powerpc/include/asm/book3s/32/ |
A D | tlbflush.h | 10 void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 53 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument 56 hash__flush_tlb_page(vma, vmaddr); in flush_tlb_page() 58 _tlbie(vmaddr); in flush_tlb_page() 73 unsigned long vmaddr) in local_flush_tlb_page() argument 75 flush_tlb_page(vma, vmaddr); in local_flush_tlb_page()
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | tlbflush.h | 92 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()
|
A D | hugetlb.h | 9 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);
|
A D | tlbflush-radix.h | 77 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 78 extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, 84 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 85 extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
|
A D | tlbflush-hash.h | 93 unsigned long vmaddr) in hash__local_flush_tlb_page() argument 98 unsigned long vmaddr) in hash__flush_tlb_page() argument
|
/linux/arch/mips/include/asm/ |
A D | tlbflush.h | 41 #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)
|
A D | cacheflush.h | 70 struct page *page, unsigned long vmaddr) in flush_anon_page() argument 73 __flush_anon_page(page, vmaddr); in flush_anon_page()
|
/linux/arch/powerpc/mm/nohash/ |
A D | tlb.c | 204 void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __local_flush_tlb_page() argument 212 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page() 216 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page() argument 218 __local_flush_tlb_page(vma ? vma->vm_mm : NULL, vmaddr, in local_flush_tlb_page() 289 void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __flush_tlb_page() argument 313 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page() 320 .addr = vmaddr, in __flush_tlb_page() 329 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page() 334 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument 338 flush_hugetlb_page(vma, vmaddr); in flush_tlb_page() [all …]
|
A D | book3e_hugetlbpage.c | 198 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()
|
/linux/arch/powerpc/mm/book3s32/ |
A D | tlb.c | 96 void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in hash__flush_tlb_page() argument 101 mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm; in hash__flush_tlb_page() 102 pmd = pmd_off(mm, vmaddr); in hash__flush_tlb_page() 104 flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1); in hash__flush_tlb_page()
|
/linux/arch/parisc/include/asm/ |
A D | cacheflush.h | 80 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn); 89 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in flush_anon_page() argument 92 flush_tlb_page(vma, vmaddr); in flush_anon_page() 94 flush_dcache_page_asm(page_to_phys(page), vmaddr); in flush_anon_page()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | radix_hugetlbpage.c | 10 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__flush_hugetlb_page() argument 16 radix__flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__flush_hugetlb_page() 19 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__local_flush_hugetlb_page() argument 25 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__local_flush_hugetlb_page()
|
A D | radix_tlb.c | 740 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__local_flush_tlb_page_psize() 749 return radix__local_flush_hugetlb_page(vma, vmaddr); in radix__local_flush_tlb_page() 751 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, mmu_virtual_psize); in radix__local_flush_tlb_page() 1012 void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, in radix__flush_tlb_page_psize() argument 1026 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 1038 pg_sizes, vmaddr, in radix__flush_tlb_page_psize() 1039 vmaddr + size); in radix__flush_tlb_page_psize() 1041 _tlbie_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 1043 _tlbiel_va_multicast(mm, vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 1052 return radix__flush_hugetlb_page(vma, vmaddr); in radix__flush_tlb_page() [all …]
|
/linux/arch/parisc/kernel/ |
A D | cache.c | 303 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __flush_cache_page() argument 307 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 309 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page() 314 __purge_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __purge_cache_page() argument 318 purge_dcache_page_asm(physaddr, vmaddr); in __purge_cache_page() 320 flush_icache_page_asm(physaddr, vmaddr); in __purge_cache_page() 620 flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn) in flush_cache_page() argument 624 flush_tlb_page(vma, vmaddr); in flush_cache_page() 625 __flush_cache_page(vma, vmaddr, PFN_PHYS(pfn)); in flush_cache_page() 627 __purge_cache_page(vma, vmaddr, PFN_PHYS(pfn)); in flush_cache_page()
|
/linux/arch/ia64/include/asm/ |
A D | processor.h | 471 __u64 vmaddr, __u64 pte, in ia64_itr() argument 475 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itr() 488 ia64_itc (__u64 target_mask, __u64 vmaddr, __u64 pte, in ia64_itc() argument 492 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itc() 506 ia64_ptr (__u64 target_mask, __u64 vmaddr, __u64 log_size) in ia64_ptr() argument 509 ia64_ptri(vmaddr, (log_size << 2)); in ia64_ptr() 511 ia64_ptrd(vmaddr, (log_size << 2)); in ia64_ptr()
|
/linux/arch/s390/include/asm/ |
A D | gmap.h | 118 int __gmap_link(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr); 122 void gmap_unlink(struct mm_struct *, unsigned long *table, unsigned long vmaddr); 148 unsigned long gaddr, unsigned long vmaddr);
|
/linux/arch/s390/kvm/ |
A D | priv.c | 247 unsigned long gaddr, vmaddr; in handle_iske() local 268 if (kvm_is_error_hva(vmaddr)) in handle_iske() 276 rc = fixup_user_fault(current->mm, vmaddr, in handle_iske() 295 unsigned long vmaddr, gaddr; in handle_rrbe() local 315 if (kvm_is_error_hva(vmaddr)) in handle_rrbe() 322 rc = fixup_user_fault(current->mm, vmaddr, in handle_rrbe() 384 if (kvm_is_error_hva(vmaddr)) in handle_sske() 393 rc = fixup_user_fault(current->mm, vmaddr, in handle_sske() 1080 unsigned long vmaddr; in handle_pfmf() local 1085 if (kvm_is_error_hva(vmaddr)) in handle_pfmf() [all …]
|
/linux/arch/microblaze/include/asm/ |
A D | tlbflush.h | 28 unsigned long vmaddr) in local_flush_tlb_page() argument 29 { __tlbie(vmaddr); } in local_flush_tlb_page()
|
/linux/arch/mips/mm/ |
A D | cache.c | 113 void __flush_anon_page(struct page *page, unsigned long vmaddr) in __flush_anon_page() argument 117 if (pages_do_alias(addr, vmaddr)) { in __flush_anon_page() 121 kaddr = kmap_coherent(page, vmaddr); in __flush_anon_page()
|
/linux/arch/powerpc/include/asm/nohash/32/ |
A D | hugetlb-8xx.h | 28 unsigned long vmaddr) in flush_hugetlb_page() argument 30 flush_tlb_page(vma, vmaddr); in flush_hugetlb_page()
|
/linux/arch/sh/include/asm/ |
A D | cacheflush.h | 61 struct page *page, unsigned long vmaddr) in flush_anon_page() argument 64 __flush_anon_page(page, vmaddr); in flush_anon_page()
|
/linux/arch/arm/mm/ |
A D | flush.c | 357 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in __flush_anon_page() argument 370 flush_cache_page(vma, vmaddr, pfn); in __flush_anon_page() 376 flush_pfn_alias(pfn, vmaddr); in __flush_anon_page()
|
/linux/arch/xtensa/include/asm/ |
A D | tlbflush.h | 55 #define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, \ argument
|