Home
last modified time | relevance | path

Searched refs:_BITS (Results 1 – 2 of 2) sorted by relevance

/system/core/libbacktrace/
DGetPss.cpp27 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) macro
29 #define PAGEMAP_PRESENT(x) (_BITS(x, 63, 1))
30 #define PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1))
31 #define PAGEMAP_SHIFT(x) (_BITS(x, 55, 6))
32 #define PAGEMAP_PFN(x) (_BITS(x, 0, 55))
33 #define PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50))
34 #define PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5))
/system/extras/libpagemap/include/pagemap/
Dpagemap.h163 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) macro
165 #define PM_PAGEMAP_PRESENT(x) (_BITS(x, 63, 1))
166 #define PM_PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1))
167 #define PM_PAGEMAP_SHIFT(x) (_BITS(x, 55, 6))
168 #define PM_PAGEMAP_PFN(x) (_BITS(x, 0, 55))
169 #define PM_PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50))
170 #define PM_PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5))