Searched refs:ptshift (Results 1 – 2 of 2) sorted by relevance
90 int ptshift; in walk_pte() local98 ptshift = level * ptidxbits; in walk_pte()99 pgsize = 1UL << (PGSHIFT + ptshift); in walk_pte()
1007 int ptshift = (levels - 1) * ptidxbits; in get_physical_address() local1015 for (i = 0; i < levels; i++, ptshift -= ptidxbits) { in get_physical_address()1018 idx = (addr >> (PGSHIFT + ptshift)) & in get_physical_address()1021 idx = (addr >> (PGSHIFT + ptshift)) & in get_physical_address()1104 if (ppn & ((1ULL << ptshift) - 1)) { in get_physical_address()1272 (vpn & (((target_ulong)1 << ptshift) - 1)) in get_physical_address()