Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mmu_context.h File Reference
#include <linux/atomic.h>
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include <asm-generic/mm_hooks.h>

Go to the source code of this file.

Macros

#define MMU_CONTEXT_TLBPID_NR   256
 
#define MMU_CONTEXT_TLBPID_MASK   0x000000ffUL
 
#define MMU_CONTEXT_VERSION_MASK   0xffffff00UL
 
#define MMU_CONTEXT_FIRST_VERSION   0x00000100UL
 
#define MMU_NO_CONTEXT   0x00000000UL
 
#define MMU_CONTEXT_TLBPID_LOCK_NR   0
 
#define enter_lazy_tlb(mm, tsk)   do {} while (0)
 
#define init_new_context(tsk, mm)   (0)
 
#define activate_context(mm)   local_flush_tlb()
 
#define destroy_context(mm)   do {} while (0)
 
#define deactivate_mm(tsk, mm)   do {} while (0)
 
#define activate_mm(prev, next)   switch_mm((prev), (next), NULL)
 

Macro Definition Documentation

#define activate_context (   mm)    local_flush_tlb()

Definition at line 124 of file mmu_context.h.

#define activate_mm (   prev,
  next 
)    switch_mm((prev), (next), NULL)

Definition at line 159 of file mmu_context.h.

#define deactivate_mm (   tsk,
  mm 
)    do {} while (0)

Definition at line 158 of file mmu_context.h.

#define destroy_context (   mm)    do {} while (0)

destroy_context - Destroy mm context information : The MM being destroyed.

Destroy context related info for an mm_struct that is about to be put to rest

Definition at line 135 of file mmu_context.h.

#define enter_lazy_tlb (   mm,
  tsk 
)    do {} while (0)

Definition at line 37 of file mmu_context.h.

#define init_new_context (   tsk,
  mm 
)    (0)

Definition at line 123 of file mmu_context.h.

#define MMU_CONTEXT_FIRST_VERSION   0x00000100UL

Definition at line 33 of file mmu_context.h.

#define MMU_CONTEXT_TLBPID_LOCK_NR   0

Definition at line 35 of file mmu_context.h.

#define MMU_CONTEXT_TLBPID_MASK   0x000000ffUL

Definition at line 31 of file mmu_context.h.

#define MMU_CONTEXT_TLBPID_NR   256

Definition at line 30 of file mmu_context.h.

#define MMU_CONTEXT_VERSION_MASK   0xffffff00UL

Definition at line 32 of file mmu_context.h.

#define MMU_NO_CONTEXT   0x00000000UL

Definition at line 34 of file mmu_context.h.