Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tlb.c File Reference
#include <linux/mm.h>
#include <asm/processor.h>
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Macros

#define _ITLB_ENTRIES   (ITLB_ARF_WAYS << XCHAL_ITLB_ARF_ENTRIES_LOG2)
 
#define _DTLB_ENTRIES   (DTLB_ARF_WAYS << XCHAL_DTLB_ARF_ENTRIES_LOG2)
 
#define _TLB_ENTRIES   _DTLB_ENTRIES
 

Functions

void flush_tlb_all (void)
 
void flush_tlb_mm (struct mm_struct *mm)
 
void flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end)
 
void flush_tlb_page (struct vm_area_struct *vma, unsigned long page)
 

Macro Definition Documentation

#define _DTLB_ENTRIES   (DTLB_ARF_WAYS << XCHAL_DTLB_ARF_ENTRIES_LOG2)

Definition at line 77 of file tlb.c.

#define _ITLB_ENTRIES   (ITLB_ARF_WAYS << XCHAL_ITLB_ARF_ENTRIES_LOG2)

Definition at line 76 of file tlb.c.

#define _TLB_ENTRIES   _DTLB_ENTRIES

Definition at line 81 of file tlb.c.

Function Documentation

void flush_tlb_all ( void  )

flush_tlb_all - Completely invalidate TLBs on all CPUs

Definition at line 51 of file 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 63 of file tlb.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 122 of file tlb.c.

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

Definition at line 84 of file tlb.c.