Searched refs:dbgregs (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/x86/kvm/
H A Dx86.c2999 struct kvm_debugregs *dbgregs) kvm_vcpu_ioctl_x86_get_debugregs()
3003 memcpy(dbgregs->db, vcpu->arch.db, sizeof(vcpu->arch.db)); kvm_vcpu_ioctl_x86_get_debugregs()
3005 dbgregs->dr6 = val; kvm_vcpu_ioctl_x86_get_debugregs()
3006 dbgregs->dr7 = vcpu->arch.dr7; kvm_vcpu_ioctl_x86_get_debugregs()
3007 dbgregs->flags = 0; kvm_vcpu_ioctl_x86_get_debugregs()
3008 memset(&dbgregs->reserved, 0, sizeof(dbgregs->reserved)); kvm_vcpu_ioctl_x86_get_debugregs()
3012 struct kvm_debugregs *dbgregs) kvm_vcpu_ioctl_x86_set_debugregs()
3014 if (dbgregs->flags) kvm_vcpu_ioctl_x86_set_debugregs()
3017 if (dbgregs->dr6 & ~0xffffffffull) kvm_vcpu_ioctl_x86_set_debugregs()
3019 if (dbgregs->dr7 & ~0xffffffffull) kvm_vcpu_ioctl_x86_set_debugregs()
3022 memcpy(vcpu->arch.db, dbgregs->db, sizeof(vcpu->arch.db)); kvm_vcpu_ioctl_x86_set_debugregs()
3024 vcpu->arch.dr6 = dbgregs->dr6; kvm_vcpu_ioctl_x86_set_debugregs()
3026 vcpu->arch.dr7 = dbgregs->dr7; kvm_vcpu_ioctl_x86_set_debugregs()
3371 struct kvm_debugregs dbgregs; kvm_arch_vcpu_ioctl() local
3373 kvm_vcpu_ioctl_x86_get_debugregs(vcpu, &dbgregs); kvm_arch_vcpu_ioctl()
3376 if (copy_to_user(argp, &dbgregs, kvm_arch_vcpu_ioctl()
3383 struct kvm_debugregs dbgregs; kvm_arch_vcpu_ioctl() local
3386 if (copy_from_user(&dbgregs, argp, kvm_arch_vcpu_ioctl()
3390 r = kvm_vcpu_ioctl_x86_set_debugregs(vcpu, &dbgregs); kvm_arch_vcpu_ioctl()
2998 kvm_vcpu_ioctl_x86_get_debugregs(struct kvm_vcpu *vcpu, struct kvm_debugregs *dbgregs) kvm_vcpu_ioctl_x86_get_debugregs() argument
3011 kvm_vcpu_ioctl_x86_set_debugregs(struct kvm_vcpu *vcpu, struct kvm_debugregs *dbgregs) kvm_vcpu_ioctl_x86_set_debugregs() argument

Completed in 113 milliseconds