Home
last modified time | relevance | path

Searched refs:vm_get_device_fd (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dauto_destruct.c51 if (ioctl(vm_get_device_fd(ctx), VM_SET_AUTODESTRUCT, 0) != 0) { in main()
70 if (ioctl(vm_get_device_fd(ctx), VM_SET_AUTODESTRUCT, 1) != 0) { in main()
89 if (ioctl(vm_get_device_fd(ctx), VM_SET_AUTODESTRUCT, 1) != 0) { in main()
96 if (ioctl(vdtfd, VDT_IOC_HOLD, vm_get_device_fd(ctx)) != 0) { in main()
H A Dnpt_ops.c94 if (ioctl(vm_get_device_fd(ctx), VM_TRACK_DIRTY_PAGES, &req) != 0) { in legacy_clear_dirty()
116 const int vmfd = vm_get_device_fd(ctx); in test_legacy()
148 const int vmfd = vm_get_device_fd(ctx); in test_toggle_tracking()
188 const int vmfd = vm_get_device_fd(ctx); in test_inval_args()
230 const int vmfd = vm_get_device_fd(ctx); in test_op_get_dirty()
275 const int vmfd = vm_get_device_fd(ctx); in test_op_set_dirty()
302 const int vmfd = vm_get_device_fd(ctx); in test_op_reset_dirty()
H A Dself_destruct.c55 if (ioctl(vm_get_device_fd(ctx), VM_SET_AUTODESTRUCT, 0) != 0) { in main()
59 if (ioctl(vm_get_device_fd(ctx), VM_DESTROY_SELF, 0) != 0) { in main()
H A Dpause_resume.c50 const int vmfd = vm_get_device_fd(ctx); in check_paused()
78 const int vmfd = vm_get_device_fd(ctx); in main()
H A Ddrv_hold.c48 err = ioctl(vdtfd, VDT_IOC_HOLD, vm_get_device_fd(ctx)); in main()
H A Dinterface_version.c55 version = ioctl(vm_get_device_fd(ctx), VMM_INTERFACE_VERSION, 0); in main()
H A Dmem_devmem.c56 fd = vm_get_device_fd(ctx); in main()
H A Dmem_seg_map.c50 fd = vm_get_device_fd(ctx); in main()
H A Dimport_vlapic.c188 const int vmfd = vm_get_device_fd(ctx); in main()
H A Dmem_partial.c67 fd = vm_get_device_fd(ctx); in main()
H A Dcpuid_ioctl.c42 int vmfd = vm_get_device_fd(ctx); in main()
H A Ddatarw_vcpu.c111 const int vmfd = vm_get_device_fd(ctx); in main()
H A Ddatarw_msrs.c99 const int vmfd = vm_get_device_fd(ctx); in main()
H A Dfpu_getset.c284 fd = vm_get_device_fd(ctx); in main()
H A Ddatarw_constraints.c402 const int vmfd = vm_get_device_fd(ctx); in main()
H A Dtime_data.c539 const int vmfd = vm_get_device_fd(ctx); in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/inst_emul/
H A Dpage_dirty.c47 int err = ioctl(vm_get_device_fd(ctx), VM_TRACK_DIRTY_PAGES, &track); in read_dirty_bitmap()
135 err = ioctl(vm_get_device_fd(ctx), VM_TRACK_DIRTY_PAGES, &track); in test_dirty_tracking_disabled()
H A Dcpuid.c127 int vmfd = vm_get_device_fd(ctx); in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dguest_tsc_adjust.c54 const int vmfd = vm_get_device_fd(ctx); in main()
H A Dtsc_freq_ctrl.c208 const int vmfd = vm_get_device_fd(ctx); in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Dcommon.c70 int fd = vm_get_device_fd(ctx); in alloc_memseg()
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dmapfile-vers58 vm_get_device_fd;
H A Dvmmapi.h370 int vm_get_device_fd(struct vmctx *ctx);
/illumos-gate/usr/src/test/bhyve-tests/tests/perf/
H A Dentry_exit.c52 const int vmfd = vm_get_device_fd(ctx); in query_cpu_freq()
/illumos-gate/usr/src/cmd/bhyvectl/
H A Dbhyvectl.c1575 fd = vm_get_device_fd(ctx); in show_fpu()
1688 int fd = vm_get_device_fd(ctx); in show_msrs()
2357 error = ioctl(vm_get_device_fd(ctx), VM_PAUSE, vcpu); in main()
2364 error = ioctl(vm_get_device_fd(ctx), VM_RESUME, vcpu); in main()

12