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 <asm/mmu_context.h>

Go to the source code of this file.


#define purge_tlb_start(flags)   spin_lock_irqsave(&pa_tlb_lock, flags)
#define purge_tlb_end(flags)   spin_unlock_irqrestore(&pa_tlb_lock, flags)
#define flush_tlb_range(vma, start, end)   __flush_tlb_range((vma)->vm_mm->context,start,end)
#define flush_tlb_kernel_range(start, end)   __flush_tlb_range(0,start,end)


void flush_tlb_all (void)
void flush_tlb_all_local (void *)
void __flush_tlb_range (unsigned long sid, unsigned long start, unsigned long end)


spinlock_t pa_tlb_lock

Macro Definition Documentation

#define flush_tlb_kernel_range (   start,
)    __flush_tlb_range(0,start,end)

Definition at line 81 of file tlbflush.h.

#define flush_tlb_range (   vma,
)    __flush_tlb_range((vma)->vm_mm->context,start,end)

Definition at line 79 of file tlbflush.h.

#define purge_tlb_end (   flags)    spin_unlock_irqrestore(&pa_tlb_lock, flags)

Definition at line 20 of file tlbflush.h.

#define purge_tlb_start (   flags)    spin_lock_irqsave(&pa_tlb_lock, flags)

Definition at line 19 of file tlbflush.h.

Function Documentation

void __flush_tlb_range ( unsigned long  sid,
unsigned long  start,
unsigned long  end 

Definition at line 422 of file cache.c.

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_all_local ( void )

Variable Documentation

spinlock_t pa_tlb_lock