Lines Matching refs:kvm_regs
1417 struct kvm_regs *kvm_regs;
1420 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL);
1421 if (!kvm_regs)
1423 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs);
1427 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs)))
1431 kfree(kvm_regs);
1435 struct kvm_regs *kvm_regs;
1438 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL);
1439 if (!kvm_regs)
1442 if (copy_from_user(kvm_regs, argp, sizeof(struct kvm_regs)))
1444 r = kvm_arch_vcpu_ioctl_set_regs(vcpu, kvm_regs);
1449 kfree(kvm_regs);