Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/mm/
Dkasan_init.c246 u64 vabits = IS_ENABLED(CONFIG_ARM64_64K_PAGES) ? VA_BITS in root_level_idx() local
248 int shift = (ARM64_HW_PGTABLE_LEVELS(vabits) - 1) * (PAGE_SHIFT - 3); in root_level_idx()
250 return (addr & ~_PAGE_OFFSET(vabits)) >> (shift + PAGE_SHIFT); in root_level_idx()
/linux-6.12.1/arch/loongarch/include/asm/
Dcpu-info.h58 int vabits; /* Virtual Address size in bits */ member
Dcpu-features.h30 # define cpu_vabits cpu_data[0].vabits
/linux-6.12.1/arch/loongarch/kernel/
Dcpu-probe.c69 c->vabits = (read_cpucfg(LOONGARCH_CPUCFG1) & CPUCFG1_VABITS) >> 12; in cpu_probe_addrbits()
70 vm_map_base = 0UL - (1UL << c->vabits); in cpu_probe_addrbits()