Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1954 int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *ghf) in kvm_vm_ioctl_get_htab_fd() argument
1961 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()
Dbook3s_hv.c6124 struct kvm_get_htab_fd ghf; in kvm_arch_vm_ioctl_hv() local
6127 if (copy_from_user(&ghf, argp, sizeof(ghf))) in kvm_arch_vm_ioctl_hv()
6129 r = kvm_vm_ioctl_get_htab_fd(kvm, &ghf); in kvm_arch_vm_ioctl_hv()