Lines Matching refs:SafeDescriptor
36 Protection, RawDescriptor, Result, SafeDescriptor,
53 descriptor: &SafeDescriptor, in set_user_memory_region() argument
93 kvm: SafeDescriptor,
108 kvm: unsafe { SafeDescriptor::from_raw_descriptor(ret) }, in new_with_path()
157 vm: SafeDescriptor,
174 let vm_descriptor = unsafe { SafeDescriptor::from_raw_descriptor(ret) }; in new()
210 let vcpu = unsafe { SafeDescriptor::from_raw_descriptor(fd) }; in create_vcpu()
525 fn create_device(&self, kind: DeviceKind) -> Result<SafeDescriptor> { in create_device() argument
547 Ok(unsafe { SafeDescriptor::from_raw_descriptor(device.fd as i32) }) in create_device()
646 vm: SafeDescriptor,
647 vcpu: SafeDescriptor,