Lines Matching refs:ioctl
87 self->vm_fd = ioctl(self->kvm_fd, KVM_CREATE_VM, KVM_VM_S390_UCONTROL); in FIXTURE_SETUP()
94 self->vcpu_fd = ioctl(self->vm_fd, KVM_CREATE_VCPU, 0); in FIXTURE_SETUP()
97 self->kvm_run_size = ioctl(self->kvm_fd, KVM_GET_VCPU_MMAP_SIZE, NULL); in FIXTURE_SETUP()
130 rc = ioctl(self->vcpu_fd, KVM_S390_UCAS_MAP, &map); in FIXTURE_SETUP()
135 rc = ioctl(self->vcpu_fd, KVM_S390_VCPU_FAULT, self->base_gpa); in FIXTURE_SETUP()
168 rc = ioctl(self->vm_fd, KVM_GET_DEVICE_ATTR, &attr); in TEST_F()
173 rc = ioctl(self->vm_fd, KVM_SET_DEVICE_ATTR, &attr); in TEST_F()
183 rc = ioctl(self->vm_fd, KVM_GET_DIRTY_LOG, &dlog); in TEST_F()
201 vm_fd = ioctl(kvm_fd, KVM_CREATE_VM, KVM_VM_S390_UCONTROL); in TEST()
205 rc = ioctl(vm_fd, KVM_CHECK_EXTENSION, KVM_CAP_S390_HPAGE_1M); in TEST()
209 rc = ioctl(vm_fd, KVM_ENABLE_CAP, cap); in TEST()
214 vcpu_fd = ioctl(vm_fd, KVM_CREATE_VCPU, 0); in TEST()
216 rc = ioctl(vm_fd, KVM_ENABLE_CAP, cap); in TEST()
271 rc = ioctl(self->vcpu_fd, KVM_RUN, NULL); in uc_run_once()
315 ASSERT_EQ(0, ioctl(self->vcpu_fd, KVM_GET_REGS, ®s)); in TEST_F()
327 ASSERT_EQ(0, ioctl(self->vcpu_fd, KVM_GET_REGS, ®s)); in TEST_F()