/external/crosvm/base/src/ |
D | wait_context.rs | 64 pub struct WaitContext<T: EventToken>(PollContext<T>); struct 66 impl<T: EventToken> WaitContext<T> { impl 68 pub fn new() -> Result<WaitContext<T>> { in new() 69 PollContext::new().map(WaitContext) in new() 73 pub fn build_with(triggers: &[(&dyn AsRawDescriptor, T)]) -> Result<WaitContext<T>> { in build_with() 74 let ctx = WaitContext::new()?; in build_with() 147 impl<T: PollToken> AsRawDescriptor for WaitContext<T> { implementation
|
D | lib.rs | 33 pub use wait_context::{EventToken, EventType, TriggeredEvent, WaitContext};
|
/external/crosvm/devices/src/virtio/video/ |
D | worker.rs | 9 use base::{error, info, Event, Tube, WaitContext}; 150 wait_ctx: &WaitContext<Token>, in handle_command_desc() 235 wait_ctx: &WaitContext<Token>, in handle_command_queue() 274 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in run()
|
D | device.rs | 7 use base::{PollToken, Tube, WaitContext}; 103 wait_ctx: &WaitContext<Token>, in process_cmd()
|
/external/crosvm/devices/src/virtio/ |
D | rng.rs | 10 use base::{error, warn, AsRawDescriptor, Event, PollToken, RawDescriptor, WaitContext}; 76 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
D | p9.rs | 11 use base::{error, warn, Error as SysError, Event, PollToken, RawDescriptor, WaitContext}; 119 let wait_ctx: WaitContext<Token> = in run() 120 WaitContext::build_with(&[(&queue_evt, Token::QueueReady), (&kill_evt, Token::Kill)]) in run()
|
D | pmem.rs | 10 use base::{error, AsRawDescriptor, Event, PollToken, RawDescriptor, Tube, WaitContext}; 174 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
D | console.rs | 9 use base::{error, Event, PollToken, RawDescriptor, WaitContext}; 239 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
D | tpm.rs | 13 use base::{error, Event, PollToken, RawDescriptor, WaitContext}; 114 let wait_ctx = match WaitContext::build_with(&[ in run()
|
D | net.rs | 15 use base::{error, warn, AsRawDescriptor, Event, EventType, PollToken, RawDescriptor, WaitContext}; 342 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in run()
|
D | wl.rs | 56 Tube, TubeError, WaitContext, 873 wait_ctx: WaitContext<u32>, 897 wait_ctx: WaitContext::new().expect("failed to create WaitContext"), in new() 1514 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
D | block.rs | 19 WaitContext, 397 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
/external/crosvm/devices/src/virtio/vhost/ |
D | worker.rs | 7 use base::{error, Error as SysError, Event, PollToken, Tube, WaitContext}; 108 let wait_ctx: WaitContext<Token> = in run() 109 WaitContext::build_with(&[(&self.kill_evt, Token::Kill)]) in run()
|
/external/crosvm/devices/src/ |
D | bat.rs | 8 error, warn, AsRawDescriptor, Descriptor, Event, PollToken, RawDescriptor, Tube, WaitContext, 152 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in command_monitor()
|
D | pit.rs | 13 error, warn, AsRawDescriptor, Descriptor, Error as SysError, Event, PollToken, WaitContext, 902 let wait_ctx: WaitContext<Token> = in run() 903 WaitContext::build_with(&[(&self.fd, Token::TimerExpire), (&kill_evt, Token::Kill)]) in run()
|
/external/crosvm/devices/src/virtio/fs/ |
D | worker.rs | 11 use base::{error, Event, PollToken, SafeDescriptor, Tube, WaitContext}; 216 WaitContext::build_with(&[(&queue_evt, Token::QueueReady), (&kill_evt, Token::Kill)]) in run()
|
/external/crosvm/devices/src/virtio/video/encoder/ |
D | mod.rs | 14 use base::{error, warn, Tube, WaitContext}; 175 wait_ctx: &WaitContext<Token>, in set_encode_session() 212 fn clear_encode_session(&mut self, wait_ctx: &WaitContext<Token>) -> VideoResult<()> { in clear_encode_session() 599 wait_ctx: &WaitContext<Token>, in resource_create() 941 wait_ctx: &WaitContext<Token>, in set_params() 1202 wait_ctx: &WaitContext<Token>, in process_cmd()
|
/external/crosvm/devices/src/virtio/video/decoder/ |
D | mod.rs | 12 use base::{error, IntoRawDescriptor, Tube, WaitContext}; 436 wait_ctx: &WaitContext<Token>, in create_session() 465 wait_ctx: &WaitContext<Token>, in create_resource() 815 wait_ctx: &WaitContext<Token>, in process_cmd()
|
/external/crosvm/devices/src/virtio/input/ |
D | mod.rs | 13 use base::{error, warn, AsRawDescriptor, Event, PollToken, RawDescriptor, WaitContext}; 462 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
/external/crosvm/gpu_display/src/ |
D | gpu_display_x.rs | 32 use base::{error, AsRawDescriptor, EventType, PollToken, RawDescriptor, WaitContext}; 544 wait_ctx: WaitContext<DisplayXPollToken>, 555 let wait_ctx = WaitContext::new().map_err(|_| GpuDisplayError::Allocate)?; in open_display()
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_vios.rs | 11 SharedMemory, WaitContext, 484 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in spawn_recv_thread()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 25 RawDescriptor, Tube, WaitContext, 702 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run()
|
/external/crosvm/src/plugin/ |
D | mod.rs | 32 SignalFdError, WaitContext, SIGRTMIN, 719 WaitContext::build_with(&[(&exit_evt, Token::Exit), (&sigchld_fd, Token::ChildSignal)]) in run_config()
|
/external/crosvm/src/ |
D | linux.rs | 2790 let wait_ctx = WaitContext::build_with(&[ in run_control()
|