/external/qemu/target-i386/ |
hax-darwin.c | 116 static char *hax_vm_devfs_string(int vm_id) 120 if (vm_id > MAX_VM_ID) 129 sprintf(name, "/dev/hax_vm/vm%02d", vm_id); 134 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id) 138 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID) 140 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id); 148 sprintf(name, "/dev/hax_vm%02d/vcpu%02d", vm_id, vcpu_id); 156 int vm_id = 0; local 164 ret = ioctl(hax->fd, HAX_IOCTL_CREATE_VM, &vm_id); 165 *vmid = vm_id; [all...] |
hax-windows.c | 196 static char *hax_vm_devfs_string(int vm_id) 200 if (vm_id > MAX_VM_ID) 209 sprintf(name, "\\\\.\\hax_vm%02d", vm_id); 214 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id) 218 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID) 220 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id); 226 sprintf(name, "\\\\.\\hax_vm%02d_vcpu%02d", vm_id, vcpu_id); 234 int vm_id = 0; local 246 &vm_id, sizeof(vm_id), [all...] |
hax-i386.h | 75 int hax_host_create_vm(struct hax_state *hax, int *vm_id); 76 hax_fd hax_host_open_vm(struct hax_state *hax, int vm_id);
|
hax-all.c | 279 int vm_id = 0, ret; local 292 ret = hax_host_create_vm(hax, &vm_id); 297 vm->id = vm_id; 298 vm->fd = hax_host_open_vm(hax, vm_id);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
radeon_drm_bo.c | 84 uint32_t vm_id; member in struct:drm_radeon_gem_va 588 va.vm_id = 0; 916 va.vm_id = 0;
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_bo.c | 84 uint32_t vm_id; member in struct:drm_radeon_gem_va 588 va.vm_id = 0; 916 va.vm_id = 0;
|