Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
page-nommu.h File Reference

Go to the source code of this file.

Macros

#define KTHREAD_SIZE   (8192)
 
#define get_user_page(vaddr)   __get_free_page(GFP_KERNEL)
 
#define free_user_page(page, addr)   free_page(addr)
 
#define clear_page(page)   memset((page), 0, PAGE_SIZE)
 
#define copy_page(to, from)   memcpy((to), (from), PAGE_SIZE)
 
#define clear_user_page(page, vaddr, pg)   clear_page(page)
 
#define copy_user_page(to, from, vaddr, pg)   copy_page(to, from)
 
#define pte_val(x)   (x)
 
#define pmd_val(x)   (x)
 
#define pgd_val(x)   ((x)[0])
 
#define pgprot_val(x)   (x)
 
#define __pte(x)   (x)
 
#define __pmd(x)   (x)
 
#define __pgprot(x)   (x)
 

Typedefs

typedef unsigned long pte_t
 
typedef unsigned long pmd_t
 
typedef unsigned long pgd_t [2]
 
typedef unsigned long pgprot_t
 

Macro Definition Documentation

#define __pgprot (   x)    (x)

Definition at line 44 of file page-nommu.h.

#define __pmd (   x)    (x)

Definition at line 43 of file page-nommu.h.

#define __pte (   x)    (x)

Definition at line 42 of file page-nommu.h.

#define clear_page (   page)    memset((page), 0, PAGE_SIZE)

Definition at line 23 of file page-nommu.h.

#define clear_user_page (   page,
  vaddr,
  pg 
)    clear_page(page)

Definition at line 26 of file page-nommu.h.

#define copy_page (   to,
  from 
)    memcpy((to), (from), PAGE_SIZE)

Definition at line 24 of file page-nommu.h.

#define copy_user_page (   to,
  from,
  vaddr,
  pg 
)    copy_page(to, from)

Definition at line 27 of file page-nommu.h.

#define free_user_page (   page,
  addr 
)    free_page(addr)

Definition at line 21 of file page-nommu.h.

#define get_user_page (   vaddr)    __get_free_page(GFP_KERNEL)

Definition at line 20 of file page-nommu.h.

#define KTHREAD_SIZE   (8192)

Definition at line 15 of file page-nommu.h.

#define pgd_val (   x)    ((x)[0])

Definition at line 39 of file page-nommu.h.

#define pgprot_val (   x)    (x)

Definition at line 40 of file page-nommu.h.

#define pmd_val (   x)    (x)

Definition at line 38 of file page-nommu.h.

#define pte_val (   x)    (x)

Definition at line 37 of file page-nommu.h.

Typedef Documentation

typedef unsigned long pgd_t[2]

Definition at line 34 of file page-nommu.h.

typedef unsigned long pgprot_t

Definition at line 35 of file page-nommu.h.

typedef unsigned long pmd_t

Definition at line 33 of file page-nommu.h.

typedef unsigned long pte_t

Definition at line 32 of file page-nommu.h.