Home
last modified time | relevance | path

Searched refs:SysResult (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/cros_async/src/
Dtimer.rs7 use base::Result as SysResult;
50 pub fn reset(&mut self, dur: Duration, interval: Option<Duration>) -> SysResult<()> { in reset() argument
55 pub fn clear(&mut self) -> SysResult<()> { in clear() argument
/external/crosvm/src/crosvm/plugin/
Dprocess.rs29 use base::Result as SysResult;
81 fn get_vm_state(vm: &Vm, state_set: MainRequest_StateSet) -> SysResult<Vec<u8>> { in get_vm_state()
95 fn set_vm_state(vm: &Vm, state_set: MainRequest_StateSet, state: &[u8]) -> SysResult<()> { in set_vm_state() argument
309 pub fn signal_kill(&mut self) -> SysResult<()> { in signal_kill() argument
331 pub fn try_wait(&mut self) -> SysResult<ProcessStatus> { in try_wait()
357 ) -> SysResult<RawDescriptor> { in handle_io_event()
397 ) -> SysResult<()> { in handle_memory() argument
425 fn handle_reserve_range(&mut self, reserve_range: &MainRequest_ReserveRange) -> SysResult<()> { in handle_reserve_range() argument
449 ) -> SysResult<()> { in handle_set_irq_routing() argument
477 fn handle_set_call_hint(&mut self, hints: &MainRequest_SetCallHint) -> SysResult<()> { in handle_set_call_hint() argument
[all …]
Dvcpu.rs107 fn get_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet) -> SysResult<Vec<u8>> { in get_vcpu_state()
120 fn set_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet, state: &[u8]) -> SysResult<()> { in set_vcpu_state() argument
197 ) -> SysResult<()> { in reserve_range() argument
233 pub fn unreserve_range(&mut self, space: IoSpace, start: u64) -> SysResult<()> { in unreserve_range() argument
400 pub fn init(&self, vcpu: &Vcpu) -> SysResult<()> { in init() argument
410 pub fn pre_run(&self, vcpu: &Vcpu) -> SysResult<()> { in pre_run() argument
579 fn handle_request(&self, vcpu: &Vcpu) -> SysResult<Option<Vec<u8>>> { in handle_request()
784 fn handle_until_resume(&self, vcpu: &Vcpu) -> SysResult<Vec<u8>> { in handle_until_resume()
Dmod.rs47 use base::Result as SysResult;
116 fn new_seqpacket_pair() -> SysResult<(UnixDatagram, UnixDatagram)> { in new_seqpacket_pair()
139 fn new_pipe_pair() -> SysResult<VcpuPipe> { in new_pipe_pair()
235 fn destroy(self, vm: &mut Vm) -> SysResult<()> { in destroy() argument
/external/crosvm/metrics/src/sys/windows/
Dsystem_metrics.rs50 type SysResult<T> = std::result::Result<T, SysError>; typedef
247 fn get_mem_metrics(&self) -> SysResult<ProcessMemory> { in get_mem_metrics()
278 fn get_cpu_metrics(&self) -> SysResult<Measurement> { in get_cpu_metrics()
328 fn get_io_metrics(&self) -> SysResult<ProcessIo> { in get_io_metrics()
586 fn get_process_handle() -> SysResult<SafeDescriptor> { in get_process_handle()
/external/crosvm/devices/src/virtio/
Dpmem.rs15 use base::Result as SysResult;
245 ) -> SysResult<Pmem> { in new()
Diommu.rs38 use base::Result as SysResult;
720 ) -> SysResult<Iommu> { in new()
/external/crosvm/devices/src/virtio/block/
Dasynchronous.rs26 use base::Result as SysResult;
603 ) -> SysResult<BlockAsync> { in new()