Lines Matching refs:kvm_sregs
1393 struct kvm_sregs *kvm_sregs = NULL;
1453 kvm_sregs = kzalloc(sizeof(struct kvm_sregs), GFP_KERNEL);
1455 if (!kvm_sregs)
1457 r = kvm_arch_vcpu_ioctl_get_sregs(vcpu, kvm_sregs);
1461 if (copy_to_user(argp, kvm_sregs, sizeof(struct kvm_sregs)))
1467 kvm_sregs = kmalloc(sizeof(struct kvm_sregs), GFP_KERNEL);
1469 if (!kvm_sregs)
1472 if (copy_from_user(kvm_sregs, argp, sizeof(struct kvm_sregs)))
1474 r = kvm_arch_vcpu_ioctl_set_sregs(vcpu, kvm_sregs);
1588 kfree(kvm_sregs);