Home
last modified time | relevance | path

Searched refs:ghf (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1966 int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *ghf) in kvm_vm_ioctl_get_htab_fd() argument
1973 if (ghf->flags & ~(KVM_GET_HTAB_BOLTED_ONLY | KVM_GET_HTAB_WRITE)) in kvm_vm_ioctl_get_htab_fd()
1980 ctx->index = ghf->start_index; in kvm_vm_ioctl_get_htab_fd()
1981 ctx->flags = ghf->flags; in kvm_vm_ioctl_get_htab_fd()
1984 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY; in kvm_vm_ioctl_get_htab_fd()
Dbook3s_hv.c5845 struct kvm_get_htab_fd ghf; in kvm_arch_vm_ioctl_hv() local
5848 if (copy_from_user(&ghf, argp, sizeof(ghf))) in kvm_arch_vm_ioctl_hv()
5850 r = kvm_vm_ioctl_get_htab_fd(kvm, &ghf); in kvm_arch_vm_ioctl_hv()