HUGETLB_FLAG_ENCODE_SHIFT 23 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_64KB (16 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 24 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_512KB (19 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 25 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_1MB (20 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 26 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_2MB (21 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 27 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_8MB (23 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 28 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_16MB (24 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 29 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_32MB (25 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 30 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_256MB (28 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 31 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_512MB (29 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 32 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_1GB (30 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 33 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_2GB (31 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 34 include/uapi/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_16GB (34 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 19 include/uapi/linux/memfd.h #define MFD_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT 26 include/uapi/linux/mman.h #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT 59 include/uapi/linux/shm.h #define SHM_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT 23 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_64KB (16 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 24 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_512KB (19 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 25 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_1MB (20 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 26 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_2MB (21 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 27 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_8MB (23 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 28 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_16MB (24 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 29 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_256MB (28 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 30 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_1GB (30 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 31 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_2GB (31 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 32 tools/include/asm-generic/hugetlb_encode.h #define HUGETLB_FLAG_ENCODE_16GB (34 << HUGETLB_FLAG_ENCODE_SHIFT) HUGETLB_FLAG_ENCODE_SHIFT 26 tools/include/uapi/linux/mman.h #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT