Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tlbflush.h File Reference
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <asm/cacheflush.h>
#include <asm/page.h>
#include <hv/hypervisor.h>

Go to the source code of this file.

Macros

#define FLUSH_NONEXEC   ((struct vm_area_struct *)-1UL)
 
#define flush_tlb()   flush_tlb_current_task()
 

Functions

 DECLARE_PER_CPU (int, current_asid)
 
void flush_tlb_all (void)
 
void flush_tlb_kernel_range (unsigned long start, unsigned long end)
 
void flush_tlb_current_task (void)
 
void flush_tlb_mm (struct mm_struct *)
 
void flush_tlb_page (struct vm_area_struct *, unsigned long)
 
void flush_tlb_page_mm (struct vm_area_struct *, struct mm_struct *, unsigned long)
 
void flush_tlb_range (struct vm_area_struct *, unsigned long start, unsigned long end)
 

Variables

int min_asid
 
int max_asid
 

Macro Definition Documentation

#define FLUSH_NONEXEC   ((struct vm_area_struct *)-1UL)

Definition at line 42 of file tlbflush.h.

#define flush_tlb (   void)    flush_tlb_current_task()

Definition at line 121 of file tlbflush.h.

Function Documentation

DECLARE_PER_CPU ( int  ,
current_asid   
)
void flush_tlb_all ( void  )

flush_tlb_all - Completely invalidate TLBs on all CPUs

Definition at line 661 of file smp.c.

void flush_tlb_current_task ( void  )

flush_tlb_current_task - Invalidate TLB of current task

Definition at line 161 of file tlb-smp.c.

void flush_tlb_kernel_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 119 of file smp_tlb.c.

void flush_tlb_mm ( struct mm_struct mm)

flush_tlb_mm - Invalidate TLB of specified VM context : The VM context to invalidate.

Definition at line 683 of file smp.c.

void flush_tlb_page ( struct vm_area_struct vma,
unsigned long  page 
)

flush_tlb_page - Invalidate TLB of page : The VM context to invalidate the page for. : The virtual address of the page to invalidate.

Definition at line 729 of file smp.c.

void flush_tlb_page_mm ( struct vm_area_struct ,
struct mm_struct ,
unsigned  long 
)

Definition at line 53 of file tlb.c.

void flush_tlb_range ( struct vm_area_struct ,
unsigned long  start,
unsigned long  end 
)

Definition at line 764 of file smp.c.

Variable Documentation

int max_asid

Definition at line 25 of file tlb.c.

int min_asid

Definition at line 25 of file tlb.c.