Home
last modified time | relevance | path

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

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