Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #ifndef __ASM_TLBFLUSH_H
0004 #define __ASM_TLBFLUSH_H
0005 
0006 /*
0007  * TLB flushing:
0008  *
0009  *  - flush_tlb_all() flushes all processes TLB entries
0010  *  - flush_tlb_mm(mm) flushes the specified mm context TLB entries
0011  *  - flush_tlb_page(vma, vmaddr) flushes one page
0012  *  - flush_tlb_range(vma, start, end) flushes a range of pages
0013  *  - flush_tlb_kernel_range(start, end) flushes a range of kernel pages
0014  */
0015 extern void flush_tlb_all(void);
0016 extern void flush_tlb_mm(struct mm_struct *mm);
0017 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
0018 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
0019                 unsigned long end);
0020 extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);
0021 
0022 extern void flush_tlb_one(unsigned long vaddr);
0023 
0024 #endif