/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | tlbflush.h | 43 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page() argument 45 asm volatile ("tlbie %0; sync" : : "r" (vmaddr) : "memory"); in local_flush_tlb_page() 49 unsigned long vmaddr, int psize) in local_flush_tlb_page_psize() argument 51 asm volatile ("tlbie %0; sync" : : "r" (vmaddr) : "memory"); in local_flush_tlb_page_psize() 66 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 67 void local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, int psize); 69 extern void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, 75 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 76 extern void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | tlb.c | 155 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page() 161 __local_flush_tlb_page(vma ? vma->vm_mm : NULL, vmaddr, in local_flush_tlb_page() 167 unsigned long vmaddr, int psize) in local_flush_tlb_page_psize() argument 169 __local_flush_tlb_page(mm, vmaddr, mmu_get_tsize(psize), 0); in local_flush_tlb_page_psize() 240 void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, in __flush_tlb_page() argument 264 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page() 271 .addr = vmaddr, in __flush_tlb_page() 280 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page() 285 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument 289 flush_hugetlb_page(vma, vmaddr); in flush_tlb_page() [all …]
|
H A D | e500_hugetlbpage.c | 188 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_hugetlb_page() argument 193 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | tlbflush.h | 12 void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 55 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page() argument 58 hash__flush_tlb_page(vma, vmaddr); in flush_tlb_page() 60 _tlbie(vmaddr); in flush_tlb_page() 75 unsigned long vmaddr) in local_flush_tlb_page() argument 77 flush_tlb_page(vma, vmaddr); in local_flush_tlb_page() 81 unsigned long vmaddr, int psize) in local_flush_tlb_page_psize() argument
|
/openbmc/linux/arch/s390/mm/ |
H A D | gmap.c | 391 unsigned long vmaddr; in __gmap_unmap_by_gaddr() local 395 return vmaddr ? __gmap_unlink_by_vmaddr(gmap, vmaddr) : 0; in __gmap_unmap_by_gaddr() 486 unsigned long vmaddr; in __gmap_translate() local 491 return vmaddr ? (vmaddr | (gaddr & ~PMD_MASK)) : -EFAULT; in __gmap_translate() 659 rc = vmaddr; in gmap_fault() 694 if (vmaddr) { in __gmap_zap() 723 if (!vmaddr) in gmap_discard() 1094 return vmaddr; in gmap_protect_range() 1175 rc = vmaddr; in gmap_read_table() 1244 return vmaddr; in gmap_protect_rmap() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H 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)
|
H A D | cacheflush.h | 79 struct page *page, unsigned long vmaddr) in flush_anon_page() argument 82 __flush_anon_page(page, vmaddr); in flush_anon_page()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H 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) local_flush_tlb_kernel_range(vmaddr, end) argument
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | tlbflush.h | 92 unsigned long vmaddr) in local_flush_tlb_page() argument 95 radix__local_flush_tlb_page(vma, vmaddr); in local_flush_tlb_page() 99 unsigned long vmaddr, int psize) in local_flush_tlb_page_psize() argument 102 radix__local_flush_tlb_page_psize(mm, vmaddr, psize); in local_flush_tlb_page_psize() 121 unsigned long vmaddr) in flush_tlb_page() argument 124 radix__flush_tlb_page(vma, vmaddr); in flush_tlb_page()
|
H A D | hugetlb.h | 12 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 13 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 87 unsigned long vmaddr) in flush_hugetlb_page() argument 90 return radix__flush_hugetlb_page(vma, vmaddr); in flush_hugetlb_page() 106 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
H A D | tlbflush-radix.h | 79 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 80 extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, 86 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 87 extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
|
/openbmc/linux/arch/powerpc/mm/book3s32/ |
H A D | tlb.c | 97 void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in hash__flush_tlb_page() argument 102 mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm; in hash__flush_tlb_page() 103 pmd = pmd_off(mm, vmaddr); in hash__flush_tlb_page() 105 flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1); in hash__flush_tlb_page()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H 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()
|
H A D | radix_tlb.c | 624 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__local_flush_tlb_page_psize() 633 return radix__local_flush_hugetlb_page(vma, vmaddr); in radix__local_flush_tlb_page() 635 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, mmu_virtual_psize); in radix__local_flush_tlb_page() 914 void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, in radix__flush_tlb_page_psize() argument 928 _tlbiel_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 940 pg_sizes, vmaddr, in radix__flush_tlb_page_psize() 941 vmaddr + size); in radix__flush_tlb_page_psize() 943 _tlbie_va(vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 945 _tlbiel_va_multicast(mm, vmaddr, pid, psize, RIC_FLUSH_TLB); in radix__flush_tlb_page_psize() 954 return radix__flush_hugetlb_page(vma, vmaddr); in radix__flush_tlb_page() [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | cache.c | 327 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __flush_cache_page() argument 342 flush_tlb_page(vma, vmaddr); in __flush_cache_page() 345 flush_dcache_page_asm(physaddr, vmaddr); in __flush_cache_page() 347 flush_icache_page_asm(physaddr, vmaddr); in __flush_cache_page() 624 unsigned long vmaddr) in flush_cache_page_if_present() argument 630 ptep = get_ptep(vma->vm_mm, vmaddr); in flush_cache_page_if_present() 637 __flush_cache_page(vma, vmaddr, PFN_PHYS(pte_pfn(pte))); in flush_cache_page_if_present() 640 unsigned long physaddr = get_upa(mm, vmaddr); in flush_cache_page_if_present() 643 __flush_cache_page(vma, vmaddr, PAGE_ALIGN_DOWN(physaddr)); in flush_cache_page_if_present() 773 __flush_cache_page(vma, vmaddr, PFN_PHYS(pfn)); in flush_cache_page() [all …]
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | tlbflush.h | 28 unsigned long vmaddr) in local_flush_tlb_page() argument 29 { __tlbie(vmaddr); } in local_flush_tlb_page()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | processor.h | 460 __u64 vmaddr, __u64 pte, in ia64_itr() argument 464 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itr() 477 ia64_itc (__u64 target_mask, __u64 vmaddr, __u64 pte, in ia64_itc() argument 481 ia64_setreg(_IA64_REG_CR_IFA, vmaddr); in ia64_itc() 495 ia64_ptr (__u64 target_mask, __u64 vmaddr, __u64 log_size) in ia64_ptr() argument 498 ia64_ptri(vmaddr, (log_size << 2)); in ia64_ptr() 500 ia64_ptrd(vmaddr, (log_size << 2)); in ia64_ptr()
|
/openbmc/linux/arch/s390/include/asm/ |
H 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);
|
/openbmc/linux/arch/mips/mm/ |
H A D | cache.c | 127 void __flush_anon_page(struct page *page, unsigned long vmaddr) in __flush_anon_page() argument 132 if (pages_do_alias(addr, vmaddr)) { in __flush_anon_page() 136 kaddr = kmap_coherent(page, vmaddr); in __flush_anon_page()
|
/openbmc/linux/arch/arm/mm/ |
H A D | flush.c | 381 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr); 382 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in __flush_anon_page() argument 395 flush_cache_page(vma, vmaddr, pfn); in __flush_anon_page() 401 flush_pfn_alias(pfn, vmaddr); in __flush_anon_page()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | priv.c | 258 unsigned long gaddr, vmaddr; in handle_iske() local 279 if (kvm_is_error_hva(vmaddr)) in handle_iske() 287 rc = fixup_user_fault(current->mm, vmaddr, in handle_iske() 306 unsigned long vmaddr, gaddr; in handle_rrbe() local 326 if (kvm_is_error_hva(vmaddr)) in handle_rrbe() 333 rc = fixup_user_fault(current->mm, vmaddr, in handle_rrbe() 395 if (kvm_is_error_hva(vmaddr)) in handle_sske() 404 rc = fixup_user_fault(current->mm, vmaddr, in handle_sske() 1132 unsigned long vmaddr; in handle_pfmf() local 1137 if (kvm_is_error_hva(vmaddr)) in handle_pfmf() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | hugetlb-8xx.h | 28 unsigned long vmaddr) in flush_hugetlb_page() argument 30 flush_tlb_page(vma, vmaddr); in flush_hugetlb_page()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | cacheflush.h | 74 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, 80 void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr);
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | cacheflush.h | 68 struct page *page, unsigned long vmaddr) in flush_anon_page() argument 71 __flush_anon_page(page, vmaddr); in flush_anon_page()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | tlbflush.h | 55 #define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, \ argument
|