Lines Matching refs:hptes
29 const ppc_hash_pte64_t *hptes; in h_enter() local
68 hptes = ppc_hash64_map_hptes(cpu, ptex, HPTES_PER_GROUP); in h_enter()
70 if (!(ppc_hash64_hpte0(cpu, hptes, slot) & HPTE64_V_VALID)) { in h_enter()
74 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in h_enter()
79 hptes = ppc_hash64_map_hptes(cpu, ptex + slot, 1); in h_enter()
80 if (ppc_hash64_hpte0(cpu, hptes, 0) & HPTE64_V_VALID) { in h_enter()
81 ppc_hash64_unmap_hptes(cpu, hptes, ptex + slot, 1); in h_enter()
84 ppc_hash64_unmap_hptes(cpu, hptes, ptex, 1); in h_enter()
106 const ppc_hash_pte64_t *hptes; in remove_hpte() local
113 hptes = ppc_hash64_map_hptes(cpu, ptex, 1); in remove_hpte()
114 v = ppc_hash64_hpte0(cpu, hptes, 0); in remove_hpte()
115 r = ppc_hash64_hpte1(cpu, hptes, 0); in remove_hpte()
116 ppc_hash64_unmap_hptes(cpu, hptes, ptex, 1); in remove_hpte()
237 const ppc_hash_pte64_t *hptes; in h_protect() local
244 hptes = ppc_hash64_map_hptes(cpu, ptex, 1); in h_protect()
245 v = ppc_hash64_hpte0(cpu, hptes, 0); in h_protect()
246 r = ppc_hash64_hpte1(cpu, hptes, 0); in h_protect()
247 ppc_hash64_unmap_hptes(cpu, hptes, ptex, 1); in h_protect()
275 const ppc_hash_pte64_t *hptes; in h_read() local
287 hptes = ppc_hash64_map_hptes(cpu, ptex, n_entries); in h_read()
289 args[ridx++] = ppc_hash64_hpte0(cpu, hptes, i); in h_read()
290 args[ridx++] = ppc_hash64_hpte1(cpu, hptes, i); in h_read()
292 ppc_hash64_unmap_hptes(cpu, hptes, ptex, n_entries); in h_read()
432 const ppc_hash_pte64_t *hptes, in rehash_hpte() argument
439 target_ulong pte0 = ppc_hash64_hpte0(cpu, hptes, slot); in rehash_hpte()
449 pte1 = ppc_hash64_hpte1(cpu, hptes, slot); in rehash_hpte()
531 const ppc_hash_pte64_t *hptes in rehash_hpt() local
534 if (!hptes) { in rehash_hpt()
539 rc = rehash_hpte(cpu, hptes, old_hpt, oldsize, new_hpt, newsize, in rehash_hpt()
542 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in rehash_hpt()
546 ppc_hash64_unmap_hptes(cpu, hptes, ptex, HPTES_PER_GROUP); in rehash_hpt()