Linux Kernel
3.7.1
|
Go to the source code of this file.
#define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t) { (pte).pte_low }) |
Definition at line 108 of file pgtable-2level.h.
Definition at line 105 of file pgtable-2level.h.
Definition at line 109 of file pgtable-2level.h.
#define __swp_offset | ( | x | ) | ((x).val >> SWP_OFFSET_SHIFT) |
Definition at line 104 of file pgtable-2level.h.
#define __swp_type | ( | x | ) |
Definition at line 102 of file pgtable-2level.h.
#define MAX_SWAPFILES_CHECK | ( | ) | BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) |
Definition at line 100 of file pgtable-2level.h.
Definition at line 55 of file pgtable-2level.h.
Definition at line 46 of file pgtable-2level.h.
Definition at line 6 of file pgtable-2level.h.
#define pgoff_to_pte | ( | off | ) |
Definition at line 82 of file pgtable-2level.h.
Definition at line 4 of file pgtable-2level.h.
#define PTE_FILE_BITS1 (PTE_FILE_SHIFT2 - PTE_FILE_SHIFT1 - 1) |
Definition at line 71 of file pgtable-2level.h.
#define PTE_FILE_BITS2 (PTE_FILE_SHIFT3 - PTE_FILE_SHIFT2 - 1) |
Definition at line 72 of file pgtable-2level.h.
#define PTE_FILE_MAX_BITS 29 |
Definition at line 62 of file pgtable-2level.h.
#define PTE_FILE_SHIFT1 (_PAGE_BIT_PRESENT + 1) |
Definition at line 63 of file pgtable-2level.h.
#define PTE_FILE_SHIFT2 (_PAGE_BIT_PROTNONE + 1) |
Definition at line 68 of file pgtable-2level.h.
#define PTE_FILE_SHIFT3 (_PAGE_BIT_FILE + 1) |
Definition at line 69 of file pgtable-2level.h.
#define pte_to_pgoff | ( | pte | ) |
Definition at line 74 of file pgtable-2level.h.
#define SWP_OFFSET_SHIFT (_PAGE_BIT_FILE + 1) |
Definition at line 97 of file pgtable-2level.h.
#define SWP_TYPE_BITS (_PAGE_BIT_PROTNONE - _PAGE_BIT_PRESENT - 1) |
Definition at line 96 of file pgtable-2level.h.