Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
highmem.h File Reference
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/bug.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <linux/hardirq.h>
#include <asm/cacheflush.h>
#include <asm/kmap_types.h>

Go to the source code of this file.

Macros

#define totalhigh_pages   0UL
 
#define kmap_atomic_prot(page, prot)   kmap_atomic(page)
 
#define kmap_atomic_pfn(pfn)   kmap_atomic(pfn_to_page(pfn))
 
#define kmap_atomic_to_page(ptr)   virt_to_page(ptr)
 
#define kmap_flush_unused()   do {} while(0)
 
#define kunmap_atomic(addr)
 

Macro Definition Documentation

#define kmap_atomic_pfn (   pfn)    kmap_atomic(pfn_to_page(pfn))

Definition at line 78 of file highmem.h.

#define kmap_atomic_prot (   page,
  prot 
)    kmap_atomic(page)

Definition at line 71 of file highmem.h.

#define kmap_atomic_to_page (   ptr)    virt_to_page(ptr)

Definition at line 79 of file highmem.h.

#define kmap_flush_unused ( )    do {} while(0)

Definition at line 81 of file highmem.h.

#define kunmap_atomic (   addr)
Value:
do { \
BUILD_BUG_ON(__same_type((addr), struct page *)); \
__kunmap_atomic(addr); \
} while (0)

Definition at line 123 of file highmem.h.

#define totalhigh_pages   0UL

Definition at line 53 of file highmem.h.