Home
last modified time | relevance | path

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

/linux/arch/arm64/mm/
H A 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/arch/loongarch/include/asm/
H A Dcpu-info.h58 int vabits; /* Virtual Address size in bits */ member
H A Dcpu-features.h30 # define cpu_vabits cpu_data[0].vabits
/linux/arch/loongarch/kernel/
H A 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()