/D/werner/TxMemory/sources/pagemap.h File Reference
#include <stdint.h>
Go to the source code of this file.
Define Documentation
#define KPF_COMPOUND_HEAD 15 |
#define KPF_COMPOUND_TAIL 16 |
#define KPF_MAPPEDTODISK 34 |
#define KPF_OWNER_PRIVATE 37 |
#define KPF_SLUB_DEBUG 51 |
#define KPF_SLUB_FROZEN 50 |
#define KPF_SWAPBACKED 14 |
#define KPF_UNEVICTABLE 18 |
#define PM_ENTRY_BYTES sizeof(uint64_t) |
#define PM_PFRAME |
( |
x |
|
) |
((x) & PM_PFRAME_MASK) |
#define PM_PFRAME_MASK ((1LL << PM_PSHIFT_OFFSET) - 1) |
#define PM_PRESENT PM_STATUS(4LL) |
#define PM_PSHIFT |
( |
x |
|
) |
(((uint64_t) (x) << PM_PSHIFT_OFFSET) & PM_PSHIFT_MASK) |
#define PM_PSHIFT_MASK (((1LL << PM_PSHIFT_BITS) - 1) << PM_PSHIFT_OFFSET) |
#define PM_PSHIFT_OFFSET (PM_STATUS_OFFSET - PM_PSHIFT_BITS) |
#define PM_STATUS |
( |
nr |
|
) |
(((nr) << PM_STATUS_OFFSET) & PM_STATUS_MASK) |
#define PM_STATUS_MASK (((1LL << PM_STATUS_BITS) - 1) << PM_STATUS_OFFSET) |
#define PM_STATUS_OFFSET (64 - PM_STATUS_BITS) |
#define PM_SWAP PM_STATUS(2LL) |