Home
last modified time | relevance | path

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

/external/crosvm/vm_control/src/
Dclient.rs63 fn raw_descriptor_from_path(path: &Path) -> ModifyUsbResult<RawDescriptor> { in raw_descriptor_from_path() function
103 unsafe { File::from_raw_descriptor(raw_descriptor_from_path(&dev_path)?) } in do_usb_attach()
/external/crosvm/src/
Dlinux.rs497 unsafe { File::from_raw_descriptor(raw_descriptor_from_path(&disk.path)?) } in create_block_device()
1247 unsafe { File::from_raw_descriptor(raw_descriptor_from_path(&disk.path)?) } in create_pmem_device()
1757 fn raw_descriptor_from_path(path: &Path) -> Result<RawDescriptor> { in raw_descriptor_from_path() function
1777 unsafe { Ok(UnixStream::from_raw_fd(raw_descriptor_from_path(self)?)) } in into_unix_stream()