Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mmu_context_nohash.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/bootmem.h>
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <linux/slab.h>
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Macros

#define pr_hard(args...)   do { } while(0)
 
#define pr_hardcont(args...)   do { } while(0)
 
#define CTX_MAP_SIZE   (sizeof(unsigned long) * (last_context / BITS_PER_LONG + 1))
 

Functions

void switch_mmu_context (struct mm_struct *prev, struct mm_struct *next)
 
int init_new_context (struct task_struct *t, struct mm_struct *mm)
 
void destroy_context (struct mm_struct *mm)
 
void __init mmu_context_init (void)
 

Macro Definition Documentation

#define CTX_MAP_SIZE   (sizeof(unsigned long) * (last_context / BITS_PER_LONG + 1))

Definition at line 62 of file mmu_context_nohash.c.

#define pr_hard (   args...)    do { } while(0)

Definition at line 39 of file mmu_context_nohash.c.

#define pr_hardcont (   args...)    do { } while(0)

Definition at line 40 of file mmu_context_nohash.c.

Function Documentation

void destroy_context ( struct mm_struct mm)
inline

Definition at line 306 of file mmu_context_nohash.c.

int init_new_context ( struct task_struct t,
struct mm_struct mm 
)

Definition at line 288 of file mmu_context_nohash.c.

void __init mmu_context_init ( void  )

Definition at line 375 of file mmu_context_nohash.c.

void switch_mmu_context ( struct mm_struct prev,
struct mm_struct next 
)

Definition at line 192 of file mmu_context_nohash.c.