Lines Matching refs:DeviceResult
491 type DeviceResult<T = VirtioDeviceStub> = std::result::Result<T, Error>; typedef
493 fn create_block_device(cfg: &Config, disk: &DiskOption, disk_device_tube: Tube) -> DeviceResult { in create_block_device() argument
549 fn create_vhost_user_block_device(cfg: &Config, opt: &VhostUserOption) -> DeviceResult { in create_vhost_user_block_device() argument
560 fn create_vhost_user_fs_device(cfg: &Config, option: &VhostUserFsOption) -> DeviceResult { in create_vhost_user_fs_device() argument
575 fn create_rng_device(cfg: &Config) -> DeviceResult { in create_rng_device() argument
586 fn create_tpm_device(cfg: &Config) -> DeviceResult { in create_tpm_device() argument
633 fn create_single_touch_device(cfg: &Config, single_touch_spec: &TouchDeviceOption) -> DeviceResult { in create_single_touch_device() argument
656 fn create_multi_touch_device(cfg: &Config, multi_touch_spec: &TouchDeviceOption) -> DeviceResult { in create_multi_touch_device() argument
680 fn create_trackpad_device(cfg: &Config, trackpad_spec: &TouchDeviceOption) -> DeviceResult { in create_trackpad_device() argument
701 fn create_mouse_device<T: IntoUnixStream>(cfg: &Config, mouse_socket: T) -> DeviceResult { in create_mouse_device() argument
716 fn create_keyboard_device<T: IntoUnixStream>(cfg: &Config, keyboard_socket: T) -> DeviceResult { in create_keyboard_device() argument
731 fn create_switches_device<T: IntoUnixStream>(cfg: &Config, switches_socket: T) -> DeviceResult { in create_switches_device() argument
746 fn create_vinput_device(cfg: &Config, dev_path: &Path) -> DeviceResult { in create_vinput_device() argument
762 fn create_balloon_device(cfg: &Config, tube: Tube) -> DeviceResult { in create_balloon_device() argument
772 fn create_tap_net_device(cfg: &Config, tap_fd: RawDescriptor) -> DeviceResult { in create_tap_net_device() argument
802 ) -> DeviceResult { in create_net_device() argument
840 fn create_vhost_user_net_device(cfg: &Config, opt: &VhostUserOption) -> DeviceResult { in create_vhost_user_net_device() argument
862 ) -> DeviceResult { in create_gpu_device() argument
1017 ) -> DeviceResult { in create_wayland_device() argument
1071 ) -> DeviceResult { in create_video_device() argument
1141 fn create_vhost_vsock_device(cfg: &Config, cid: u64, mem: &GuestMemory) -> DeviceResult { in create_vhost_vsock_device() argument
1160 ) -> DeviceResult { in create_fs_device() argument
1200 ) -> DeviceResult { in create_9p_device() argument
1243 ) -> DeviceResult { in create_pmem_device() argument
1331 fn create_console_device(cfg: &Config, param: &SerialParameters) -> DeviceResult { in create_console_device() argument
1381 ) -> DeviceResult<Vec<VirtioDeviceStub>> { in create_virtio_devices()
1637 ) -> DeviceResult<Vec<(Box<dyn PciDevice>, Option<Minijail>)>> { in create_devices()