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

Go to the source code of this file.

Macros

#define NO_CONTEXT   ((unsigned long) -1)
 
#define LAST_CONTEXT   32767
 
#define FIRST_CONTEXT   1
 

Functions

unsigned long __init_new_context (void)
 
 EXPORT_SYMBOL_GPL (__init_new_context)
 
int init_new_context (struct task_struct *t, struct mm_struct *mm)
 
void __destroy_context (unsigned long ctx)
 
 EXPORT_SYMBOL_GPL (__destroy_context)
 
void destroy_context (struct mm_struct *mm)
 
void __init mmu_context_init (void)
 

Macro Definition Documentation

#define FIRST_CONTEXT   1

Definition at line 46 of file mmu_context_hash32.c.

#define LAST_CONTEXT   32767

Definition at line 45 of file mmu_context_hash32.c.

#define NO_CONTEXT   ((unsigned long) -1)

Definition at line 44 of file mmu_context_hash32.c.

Function Documentation

void __destroy_context ( unsigned long  ctx)

Definition at line 92 of file mmu_context_hash32.c.

unsigned long __init_new_context ( void  )

Definition at line 64 of file mmu_context_hash32.c.

void destroy_context ( struct mm_struct mm)
inline

Definition at line 101 of file mmu_context_hash32.c.

EXPORT_SYMBOL_GPL ( __init_new_context  )
EXPORT_SYMBOL_GPL ( __destroy_context  )
int init_new_context ( struct task_struct t,
struct mm_struct mm 
)

Definition at line 82 of file mmu_context_hash32.c.

void __init mmu_context_init ( void  )

Definition at line 114 of file mmu_context_hash32.c.