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

Go to the source code of this file.

Macros

#define deactivate_mm(tsk, mm)   do { } while (0)
 
#define activate_mm(prev, next)   switch_mm((prev),(next),NULL)
 

Functions

int init_new_context (struct task_struct *tsk, struct mm_struct *mm)
 
void get_mmu_context (struct mm_struct *mm)
 
void destroy_context (struct mm_struct *mm)
 
void switch_mm (struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk)
 
 DECLARE_PER_CPU (pgd_t *, current_pgd)
 

Macro Definition Documentation

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

Definition at line 14 of file mmu_context.h.

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

Definition at line 12 of file mmu_context.h.

Function Documentation

DECLARE_PER_CPU ( pgd_t ,
current_pgd   
)
void destroy_context ( struct mm_struct mm)
inline

Definition at line 242 of file mmu_context.h.

void get_mmu_context ( struct mm_struct mm)

Definition at line 71 of file tlb.c.

int init_new_context ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 143 of file tlb.c.

void switch_mm ( struct mm_struct prev,
struct mm_struct next,
struct task_struct tsk 
)

Definition at line 151 of file tlb.c.