Searched refs:ghf (Results 1 – 2 of 2) sorted by relevance
1954 int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *ghf) in kvm_vm_ioctl_get_htab_fd() argument1961 if (ghf->flags & ~(KVM_GET_HTAB_BOLTED_ONLY | KVM_GET_HTAB_WRITE)) in kvm_vm_ioctl_get_htab_fd()1968 ctx->index = ghf->start_index; in kvm_vm_ioctl_get_htab_fd()1969 ctx->flags = ghf->flags; in kvm_vm_ioctl_get_htab_fd()1972 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY; in kvm_vm_ioctl_get_htab_fd()
6112 struct kvm_get_htab_fd ghf; in kvm_arch_vm_ioctl_hv() local6115 if (copy_from_user(&ghf, argp, sizeof(ghf))) in kvm_arch_vm_ioctl_hv()6117 r = kvm_vm_ioctl_get_htab_fd(kvm, &ghf); in kvm_arch_vm_ioctl_hv()