Searched refs:_BITS (Results 1 – 1 of 1) sorted by relevance
/system/extras/libpagemap/include/pagemap/ |
D | pagemap.h | 132 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1)) macro 134 #define PM_PAGEMAP_PRESENT(x) (_BITS(x, 63, 1)) 135 #define PM_PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1)) 136 #define PM_PAGEMAP_SHIFT(x) (_BITS(x, 55, 6)) 137 #define PM_PAGEMAP_PFN(x) (_BITS(x, 0, 55)) 138 #define PM_PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50)) 139 #define PM_PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5))
|