Lines Matching refs:db
891 vcpu->arch.eff_db[i] = vcpu->arch.db[i]; in kvm_update_dr0123()
927 size_t size = ARRAY_SIZE(vcpu->arch.db); in __kvm_set_dr()
931 vcpu->arch.db[array_index_nospec(dr, size)] = val; in __kvm_set_dr()
968 size_t size = ARRAY_SIZE(vcpu->arch.db); in kvm_get_dr()
972 *val = vcpu->arch.db[array_index_nospec(dr, size)]; in kvm_get_dr()
3406 memcpy(dbgregs->db, vcpu->arch.db, sizeof(vcpu->arch.db)); in kvm_vcpu_ioctl_x86_get_debugregs()
3425 memcpy(vcpu->arch.db, dbgregs->db, sizeof(vcpu->arch.db)); in kvm_vcpu_ioctl_x86_set_debugregs()
5383 desc->d = var.db; in emulator_get_segment()
5406 var.db = desc->d; in emulator_set_segment()
5810 unsigned long *db) in kvm_vcpu_check_hw_bp() argument
5819 if ((enable & 3) && (rwlen & 15) == type && db[i] == addr) in kvm_vcpu_check_hw_bp()
5892 vcpu->arch.db); in kvm_vcpu_check_breakpoint()
6747 flags |= seg->db << 22; in enter_smm_get_segment_flags()
6946 cs.db = ds.db = 0; in enter_smm()
7628 void kvm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l) in kvm_get_cs_db_l_bits() argument
7633 *db = cs.db; in kvm_get_cs_db_l_bits()
7883 vcpu->arch.eff_db[i] = vcpu->arch.db[i]; in kvm_arch_vcpu_ioctl_set_guest_debug()
8088 memset(vcpu->arch.db, 0, sizeof(vcpu->arch.db)); in kvm_vcpu_reset()