Lines Matching refs:oos

85         v->arch.paging.shadow.oos[i] = INVALID_MFN;  in shadow_vcpu_init()
446 mfn_t *oos = v->arch.paging.shadow.oos; in sh_oos_audit() local
447 if ( !mfn_valid(oos[idx]) ) in sh_oos_audit()
450 expected_idx = mfn_x(oos[idx]) % SHADOW_OOS_PAGES; in sh_oos_audit()
455 __func__, idx, mfn_x(oos[idx]), in sh_oos_audit()
459 pg = mfn_to_page(oos[idx]); in sh_oos_audit()
463 __func__, idx, mfn_x(oos[idx]), pg->count_info); in sh_oos_audit()
469 __func__, idx, mfn_x(oos[idx]), pg->shadow_flags); in sh_oos_audit()
475 __func__, idx, mfn_x(oos[idx]), pg->shadow_flags); in sh_oos_audit()
488 mfn_t *oos; in oos_audit_hash_is_present() local
494 oos = v->arch.paging.shadow.oos; in oos_audit_hash_is_present()
496 if ( mfn_x(oos[idx]) != mfn_x(gmfn) ) in oos_audit_hash_is_present()
499 if ( mfn_x(oos[idx]) == mfn_x(gmfn) ) in oos_audit_hash_is_present()
556 mfn_t *oos; in oos_fixup_add() local
564 oos = v->arch.paging.shadow.oos; in oos_fixup_add()
567 if ( mfn_x(oos[idx]) != mfn_x(gmfn) ) in oos_fixup_add()
569 if ( mfn_x(oos[idx]) == mfn_x(gmfn) ) in oos_fixup_add()
696 mfn_t *oos = v->arch.paging.shadow.oos; in oos_hash_add() local
707 if ( mfn_valid(oos[idx]) in oos_hash_add()
708 && (mfn_x(oos[idx]) % SHADOW_OOS_PAGES) == idx ) in oos_hash_add()
711 SWAP(oos[idx], gmfn); in oos_hash_add()
716 if ( mfn_valid(oos[idx]) ) in oos_hash_add()
719 _sh_resync(v, oos[idx], &oos_fixup[idx], oos_snapshot[idx]); in oos_hash_add()
722 oos[idx] = gmfn; in oos_hash_add()
728 gptr = map_domain_page(oos[oidx]); in oos_hash_add()
739 mfn_t *oos; in oos_hash_remove() local
746 oos = v->arch.paging.shadow.oos; in oos_hash_remove()
748 if ( mfn_x(oos[idx]) != mfn_x(gmfn) ) in oos_hash_remove()
750 if ( mfn_x(oos[idx]) == mfn_x(gmfn) ) in oos_hash_remove()
752 oos[idx] = INVALID_MFN; in oos_hash_remove()
764 mfn_t *oos; in oos_snapshot_lookup() local
770 oos = v->arch.paging.shadow.oos; in oos_snapshot_lookup()
773 if ( mfn_x(oos[idx]) != mfn_x(gmfn) ) in oos_snapshot_lookup()
775 if ( mfn_x(oos[idx]) == mfn_x(gmfn) ) in oos_snapshot_lookup()
789 mfn_t *oos; in sh_resync() local
796 oos = v->arch.paging.shadow.oos; in sh_resync()
800 if ( mfn_x(oos[idx]) != mfn_x(gmfn) ) in sh_resync()
803 if ( mfn_x(oos[idx]) == mfn_x(gmfn) ) in sh_resync()
806 oos[idx] = INVALID_MFN; in sh_resync()
841 mfn_t *oos = v->arch.paging.shadow.oos; in sh_resync_all() local
854 if ( mfn_valid(oos[idx]) ) in sh_resync_all()
857 _sh_resync(v, oos[idx], &oos_fixup[idx], oos_snapshot[idx]); in sh_resync_all()
858 oos[idx] = INVALID_MFN; in sh_resync_all()
871 oos = other->arch.paging.shadow.oos; in sh_resync_all()
877 if ( !mfn_valid(oos[idx]) ) in sh_resync_all()
883 if ( sh_skip_sync(v, oos[idx]) ) in sh_resync_all()
885 trace_resync(TRC_SHADOW_RESYNC_ONLY, oos[idx]); in sh_resync_all()
886 _sh_resync_l1(other, oos[idx], oos_snapshot[idx]); in sh_resync_all()
891 _sh_resync(other, oos[idx], &oos_fixup[idx], oos_snapshot[idx]); in sh_resync_all()
892 oos[idx] = INVALID_MFN; in sh_resync_all()