Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mmu_context.h File Reference
#include <linux/compiler.h>
#include <linux/sched.h>
#include <asm/cacheflush.h>
#include <asm/proc-fns.h>
#include <asm-generic/mm_hooks.h>
#include <asm/cputype.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Macros

#define MAX_ASID_BITS   16
 
#define init_new_context(tsk, mm)   (__init_new_context(tsk,mm),0)
 
#define destroy_context(mm)   do { } while(0)
 
#define finish_arch_post_lock_switch   finish_arch_post_lock_switch
 
#define deactivate_mm(tsk, mm)   do { } while (0)
 
#define activate_mm(prev, next)   switch_mm(prev, next, NULL)
 

Functions

void __init_new_context (struct task_struct *tsk, struct mm_struct *mm)
 
void __new_context (struct mm_struct *mm)
 

Variables

unsigned int cpu_last_asid
 

Macro Definition Documentation

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

Definition at line 150 of file mmu_context.h.

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

Definition at line 149 of file mmu_context.h.

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

Definition at line 95 of file mmu_context.h.

#define finish_arch_post_lock_switch   finish_arch_post_lock_switch

Definition at line 97 of file mmu_context.h.

#define init_new_context (   tsk,
  mm 
)    (__init_new_context(tsk,mm),0)

Definition at line 94 of file mmu_context.h.

#define MAX_ASID_BITS   16

Definition at line 31 of file mmu_context.h.

Function Documentation

void __init_new_context ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 91 of file context.c.

void __new_context ( struct mm_struct mm)

Definition at line 166 of file context.c.

Variable Documentation

unsigned int cpu_last_asid

Definition at line 21 of file context.c.