Lines Matching refs:psize

206 static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64  in native_find()  argument
212 unsigned long shift = mmu_psize_defs[psize].shift; in native_find()
218 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_find()
239 static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *r) in pseries_find() argument
245 unsigned long shift = mmu_psize_defs[psize].shift; in pseries_find()
251 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
313 static int base_hpte_find(unsigned long ea, int psize, bool primary, u64 *v, in base_hpte_find() argument
317 return pseries_find(ea, psize, primary, v, r); in base_hpte_find()
319 return native_find(ea, psize, primary, v, r); in base_hpte_find()
322 static unsigned long hpte_find(struct pg_state *st, unsigned long ea, int psize) in hpte_find() argument
333 slot = base_hpte_find(ea, psize, true, &v, &r); in hpte_find()
337 slot = base_hpte_find(ea, psize, false, &v, &r); in hpte_find()
349 base_psize = mmu_psize_to_shift(psize); in hpte_find()
352 decode_r(psize, r, &rpn, &actual_psize, &lp_bits); in hpte_find()
374 unsigned long addr, pteval, psize; in walk_pte() local
382 psize = mmu_vmalloc_psize; in walk_pte()
384 psize = mmu_io_psize; in walk_pte()
390 psize = mmu_io_psize; in walk_pte()
393 status = hpte_find(st, addr, psize); in walk_pte()
474 unsigned long psize = 1 << mmu_psize_defs[mmu_linear_psize].shift; in walk_linearmapping() local
477 memblock_end_of_DRAM(); addr += psize) in walk_linearmapping()