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 <asm/kmap_types.h>

Go to the source code of this file.

Macros

#define PKMAP_BASE   (PAGE_OFFSET - PMD_SIZE)
 
#define LAST_PKMAP   PTRS_PER_PTE
 
#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_KERNEL
 
#define flush_cache_kmaps()
 
#define ARCH_NEEDS_KMAP_HIGH_GET
 

Functions

voidkmap_high (struct page *page)
 
void kunmap_high (struct page *page)
 
voidkmap_high_get (struct page *page)
 

Variables

pte_tpkmap_page_table
 

Macro Definition Documentation

#define ARCH_NEEDS_KMAP_HIGH_GET

Definition at line 36 of file highmem.h.

#define flush_cache_kmaps (   void)
Value:
do { \
if (cache_is_vivt()) \
flush_cache_all(); \
} while (0)

Definition at line 14 of file highmem.h.

#define kmap_prot   PAGE_KERNEL

Definition at line 12 of file highmem.h.

#define LAST_PKMAP   PTRS_PER_PTE

Definition at line 7 of file highmem.h.

#define LAST_PKMAP_MASK   (LAST_PKMAP - 1)

Definition at line 8 of file highmem.h.

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

Definition at line 10 of file highmem.h.

#define PKMAP_BASE   (PAGE_OFFSET - PMD_SIZE)

Definition at line 6 of file highmem.h.

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

Definition at line 9 of file highmem.h.

Function Documentation

void* kmap_high ( struct page page)
void* kmap_high_get ( struct page page)
void kunmap_high ( struct page page)

Variable Documentation

pte_t* pkmap_page_table