Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
highmem.h File Reference
#include <linux/interrupt.h>
#include <linux/threads.h>
#include <asm/tlbflush.h>
#include <asm/homecache.h>

Go to the source code of this file.

Macros

#define LAST_PKMAP_MASK   (LAST_PKMAP-1)
 
#define PKMAP_NR(virt)   ((virt-PKMAP_BASE) >> PAGE_SHIFT)
 
#define PKMAP_ADDR(nr)   (PKMAP_BASE + ((nr) << PAGE_SHIFT))
 
#define kmap_prot   page_to_kpgprot(page)
 
#define flush_cache_kmaps()   do { } while (0)
 

Functions

voidkmap_high (struct page *page)
 
void kunmap_high (struct page *page)
 
voidkmap (struct page *page)
 
void kunmap (struct page *page)
 
voidkmap_fix_kpte (struct page *page, int finished)
 
voidkmap_atomic (struct page *page)
 
void __kunmap_atomic (void *kvaddr)
 
voidkmap_atomic_pfn (unsigned long pfn)
 
voidkmap_atomic_prot_pfn (unsigned long pfn, pgprot_t prot)
 
struct pagekmap_atomic_to_page (void *ptr)
 
voidkmap_atomic_prot (struct page *page, pgprot_t prot)
 
void kmap_atomic_fix_kpte (struct page *page, int finished)
 

Variables

unsigned long highstart_pfn
 
unsigned long highend_pfn
 
pte_tpkmap_page_table
 

Macro Definition Documentation

#define flush_cache_kmaps (   void)    do { } while (0)

Definition at line 70 of file highmem.h.

#define kmap_prot   page_to_kpgprot(page)

Definition at line 60 of file highmem.h.

#define LAST_PKMAP_MASK   (LAST_PKMAP-1)

Definition at line 49 of file highmem.h.

#define PKMAP_ADDR (   nr)    (PKMAP_BASE + ((nr) << PAGE_SHIFT))

Definition at line 51 of file highmem.h.

#define PKMAP_NR (   virt)    ((virt-PKMAP_BASE) >> PAGE_SHIFT)

Definition at line 50 of file highmem.h.

Function Documentation

void __kunmap_atomic ( void kvaddr)

Definition at line 85 of file highmem.c.

void* kmap ( struct page page)

Definition at line 21 of file highmem.c.

void* kmap_atomic ( struct page page)

Definition at line 39 of file highmem.c.

void kmap_atomic_fix_kpte ( struct page page,
int  finished 
)

Definition at line 175 of file highmem.c.

void* kmap_atomic_pfn ( unsigned long  pfn)

Definition at line 111 of file highmem.c.

void* kmap_atomic_prot ( struct page page,
pgprot_t  prot 
)

Definition at line 34 of file highmem.c.

void* kmap_atomic_prot_pfn ( unsigned long  pfn,
pgprot_t  prot 
)

Definition at line 275 of file highmem.c.

struct page* kmap_atomic_to_page ( void ptr)
read

Definition at line 35 of file highmem.c.

void* kmap_fix_kpte ( struct page page,
int  finished 
)
void* kmap_high ( struct page page)
void kunmap ( struct page page)

Definition at line 30 of file highmem.c.

void kunmap_high ( struct page page)

Variable Documentation

unsigned long highend_pfn

Definition at line 45 of file init.c.

unsigned long highstart_pfn

Definition at line 45 of file init.c.

pte_t* pkmap_page_table