Searched refs:pv_h (Results 1 – 4 of 4) sorted by relevance
595 pv_rooted_entry_t pv_h) in pv_hash_add() argument603 insque(&pvh_e->qlink, &pv_h->qlink); in pv_hash_add()746 pv_rooted_entry_t pv_h = pai_to_pvh(ppn_to_pai(ppn)); in pmap_classify_pagetable_corruption() local747 pv_rooted_entry_t pv_e = pv_h; in pmap_classify_pagetable_corruption()749 pmap_t pvpmap = pv_h->pmap; in pmap_classify_pagetable_corruption()750 vm_map_offset_t pvva = PVE_VA(pv_h); in pmap_classify_pagetable_corruption()776 pv_h->va_and_flags = vaddr | pve_flags; in pmap_classify_pagetable_corruption()781 } while (((pv_e = (pv_rooted_entry_t) queue_next(&pv_e->qlink))) && (pv_e != pv_h)); in pmap_classify_pagetable_corruption()886 pv_rooted_entry_t pv_h; in pmap_pv_remove() local896 pv_h = pai_to_pvh(ppn_to_pai(ppn)); in pmap_pv_remove()[all …]
489 pv_rooted_entry_t pv_h, pv_e; in pmap_update_cache_attributes_locked() local507 pv_h = pai_to_pvh(pn); in pmap_update_cache_attributes_locked()518 if (pv_h->pmap != PMAP_NULL) { in pmap_update_cache_attributes_locked()519 pv_e = pv_h; in pmap_update_cache_attributes_locked()541 } while ((pv_e = (pv_rooted_entry_t)nexth) != pv_h); in pmap_update_cache_attributes_locked()640 pv_rooted_entry_t pv_h; in pmap_enter_options() local1032 pv_h = pai_to_pvh(pai); in pmap_enter_options()1036 if (pv_h->pmap == PMAP_NULL) { in pmap_enter_options()1040 pv_h->va_and_flags = vaddr; in pmap_enter_options()1041 pv_h->pmap = pmap; in pmap_enter_options()[all …]
636 pmap_unpack_index(pv_rooted_entry_t pv_h) in pmap_unpack_index() argument640 indx = (int32_t)(*((uint64_t *)(&pv_h->qlink.next)) >> 48); in pmap_unpack_index()642 indx |= (int32_t)(*((uint64_t *)(&pv_h->qlink.prev)) >> 48); in pmap_unpack_index()644 *((uint64_t *)(&pv_h->qlink.next)) |= ((uint64_t)0xffff << 48); in pmap_unpack_index()645 *((uint64_t *)(&pv_h->qlink.prev)) |= ((uint64_t)0xffff << 48); in pmap_unpack_index()654 pv_rooted_entry_t pv_h; in pmap_pack_index() local656 pv_h = &pv_head_table[indx]; in pmap_pack_index()658 *((uint64_t *)(&pv_h->qlink.next)) &= ~((uint64_t)0xffff << 48); in pmap_pack_index()659 *((uint64_t *)(&pv_h->qlink.prev)) &= ~((uint64_t)0xffff << 48); in pmap_pack_index()661 *((uint64_t *)(&pv_h->qlink.next)) |= ((uint64_t)(indx >> 16)) << 48; in pmap_pack_index()[all …]
2253 pv_entry_t **pv_h = pai_to_pvh(pai); in pmap_lockdown_kc() local2255 vm_offset_t pvh_flags = pvh_get_flags(pv_h); in pmap_lockdown_kc()2260 pvh_set_flags(pv_h, pvh_flags | PVH_FLAG_LOCKDOWN_KC); in pmap_lockdown_kc()2269 pv_entry_t **pv_h = pai_to_pvh(pa_index(exclude_pages[i])); in pmap_lockdown_kc() local2270 pvh_set_flags(pv_h, pvh_get_flags(pv_h) & ~PVH_FLAG_LOCKDOWN_KC); in pmap_lockdown_kc()4673 pv_entry_t **pv_h; local4733 pv_h = pai_to_pvh(pai);4734 pvh_flags = pvh_get_flags(pv_h);4738 panic("%d is locked down (%#llx), cannot remove", pai, (uint64_t)pvh_get_flags(pv_h));4753 if (pvh_test_type(pv_h, PVH_TYPE_PTEP)) {[all …]