Home
last modified time | relevance | path

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

/system/memory/libmeminfo/
Dmeminfo_private.h28 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) macro
29 #define PAGE_PRESENT(x) (_BITS(x, 63, 1))
30 #define PAGE_SWAPPED(x) (_BITS(x, 62, 1))
31 #define PAGE_SHIFT(x) (_BITS(x, 55, 6))
32 #define PAGE_PFN(x) (_BITS(x, 0, 55))
33 #define PAGE_SWAP_OFFSET(x) (_BITS(x, 5, 50))
34 #define PAGE_SWAP_TYPE(x) (_BITS(x, 0, 5))