Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ !
Dhash.h90 #define NON_LINEAR_REGION_ID(ea) ((((unsigned long)ea - H_KERN_VIRT_START) >> REGION_SHIFT) + 2) macro
97 #define VMALLOC_REGION_ID NON_LINEAR_REGION_ID(H_VMALLOC_START)
98 #define IO_REGION_ID NON_LINEAR_REGION_ID(H_KERN_IO_START)
99 #define VMEMMAP_REGION_ID NON_LINEAR_REGION_ID(H_VMEMMAP_START)
129 BUILD_BUG_ON(NON_LINEAR_REGION_ID(H_VMALLOC_START) != 2); in get_region_id()
131 region_id = NON_LINEAR_REGION_ID(ea); in get_region_id()