Home
last modified time | relevance | path

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

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