Home
last modified time | relevance | path

Searched refs:wait_ctx (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp259 struct wait_ctx { struct
288 wait_ctx() {} in wait_ctx() function
289 wait_ctx(Program *program_) in wait_ctx() argument
299 bool join(const wait_ctx* other, bool logical) in join() argument
388 wait_imm check_instr(Instruction* instr, wait_ctx& ctx) in check_instr()
437 wait_imm parse_wait_instr(wait_ctx& ctx, Instruction *instr) in parse_wait_instr()
450 wait_imm perform_barrier(wait_ctx& ctx, memory_sync_info sync, unsigned semantics) in perform_barrier()
478 void force_waitcnt(wait_ctx& ctx, wait_imm& imm) in force_waitcnt()
493 wait_imm kill(Instruction* instr, wait_ctx& ctx, memory_sync_info sync_info) in kill()
609 void update_barrier_imm(wait_ctx& ctx, uint8_t counters, wait_event event, memory_sync_info sync) in update_barrier_imm()
[all …]
/external/crosvm/devices/src/virtio/video/
Dworker.rs150 wait_ctx: &WaitContext<Token>, in handle_command_desc()
204 device.process_cmd(cmd, &wait_ctx, &self.resource_bridge); in handle_command_desc()
235 wait_ctx: &WaitContext<Token>, in handle_command_queue()
241 self.handle_command_desc(cmd_queue, event_queue, device, wait_ctx, desc_map, desc)?; in handle_command_queue()
274 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in run() localVariable
291 let wait_events = wait_ctx.wait().map_err(Error::WaitError)?; in run()
300 &wait_ctx, in run()
Ddevice.rs103 wait_ctx: &WaitContext<Token>, in process_cmd()
/external/crosvm/devices/src/virtio/vhost/
Dworker.rs108 let wait_ctx: WaitContext<Token> = in run() localVariable
113 wait_ctx in run()
118 wait_ctx in run()
123 wait_ctx in run()
129 let events = wait_ctx.wait().map_err(Error::WaitError)?; in run()
/external/crosvm/gpu_display/src/
Dgpu_display_x.rs544 wait_ctx: WaitContext<DisplayXPollToken>, field
555 let wait_ctx = WaitContext::new().map_err(|_| GpuDisplayError::Allocate)?; in open_display() localVariable
575 wait_ctx in open_display()
620 wait_ctx, in open_display()
677 let wait_events = self.wait_ctx.wait_timeout(Duration::default())?; in handle_poll_ctx()
688 self.wait_ctx.modify( in handle_poll_ctx()
804 self.wait_ctx in import_event_device()
840 self.wait_ctx.as_raw_descriptor() in as_raw_descriptor()
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs175 wait_ctx: &WaitContext<Token>, in set_encode_session()
198 wait_ctx in set_encode_session()
212 fn clear_encode_session(&mut self, wait_ctx: &WaitContext<Token>) -> VideoResult<()> { in clear_encode_session()
215 wait_ctx.delete(event_pipe).map_err(|e| { in clear_encode_session()
599 wait_ctx: &WaitContext<Token>, in resource_create()
615 stream.set_encode_session(&mut self.encoder, wait_ctx)?; in resource_create()
941 wait_ctx: &WaitContext<Token>, in set_params()
1030 stream.clear_encode_session(wait_ctx)?; in set_params()
1045 stream.set_encode_session(&mut self.encoder, wait_ctx)?; in set_params()
1202 wait_ctx: &WaitContext<Token>, in process_cmd()
[all …]
/external/crosvm/devices/src/virtio/
Drng.rs76 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
87 if wait_ctx in run()
97 let events = match wait_ctx.wait() { in run()
Dp9.rs119 let wait_ctx: WaitContext<Token> = in run() localVariable
123 wait_ctx in run()
129 let events = wait_ctx.wait().map_err(P9Error::WaitError)?; in run()
Dnet.rs342 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in run() localVariable
351 wait_ctx in run()
356 wait_ctx in run()
364 let events = wait_ctx.wait().map_err(NetError::WaitError)?; in run()
370 wait_ctx in run()
383 wait_ctx in run()
Dpmem.rs174 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
185 if wait_ctx in run()
195 let events = match wait_ctx.wait() { in run()
Dconsole.rs239 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
252 if wait_ctx in run()
267 let events = match wait_ctx.wait() { in run()
Dwl.rs873 wait_ctx: WaitContext<u32>, field
897 wait_ctx: WaitContext::new().expect("failed to create WaitContext"), in new()
933 self.wait_ctx in new_pipe()
1037 self.wait_ctx in new_context()
1053 let events = match self.wait_ctx.wait_timeout(Duration::from_secs(0)) { in process_wait_context()
1073 if let Err(e) = self.wait_ctx.delete(descriptor) { in process_wait_context()
1276 self.wait_ctx in recv()
1514 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
1518 (&self.state.wait_ctx, Token::State), in run()
1527 if wait_ctx in run()
[all …]
Dtpm.rs114 let wait_ctx = match WaitContext::build_with(&[ in run() localVariable
132 let events = match wait_ctx.wait() { in run()
Dblock.rs397 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
422 let events = match wait_ctx.wait() { in run()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs215 let wait_ctx = in run() localVariable
221 wait_ctx in run()
228 let events = wait_ctx.wait().map_err(Error::WaitError)?; in run()
/external/crosvm/devices/src/virtio/input/
Dmod.rs462 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
468 Ok(wait_ctx) => wait_ctx, in run()
475 if wait_ctx in run()
485 let wait_events = match wait_ctx.wait() { in run()
/external/crosvm/src/plugin/
Dmod.rs718 let wait_ctx = in run_config() localVariable
739 wait_ctx in run_config()
748 Some(inst) => wait_ctx.wait_timeout(duration_to_die - inst.elapsed()), in run_config()
749 None => wait_ctx.wait(), in run_config()
766 let _ = wait_ctx.delete(&exit_evt); in run_config()
858 let _ = wait_ctx.delete(socket); in run_config()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs436 wait_ctx: &WaitContext<Token>, in create_session()
450 wait_ctx in create_session()
465 wait_ctx: &WaitContext<Token>, in create_resource()
479 wait_ctx, in create_resource()
815 wait_ctx: &WaitContext<Token>, in process_cmd()
842 wait_ctx, in process_cmd()
/external/crosvm/devices/src/
Dbat.rs152 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in command_monitor() localVariable
169 Ok(p) => match wait_ctx.add(&Descriptor(p.poll_fd()), Token::Monitor) { in command_monitor()
193 let events = match wait_ctx.wait() { in command_monitor()
Dpit.rs902 let wait_ctx: WaitContext<Token> = in run() localVariable
907 let events = wait_ctx.wait().map_err(PitError::WaitError)?; in run()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs702 let wait_ctx: WaitContext<Token> = match WaitContext::build_with(&[ in run() localVariable
715 if wait_ctx in run()
725 if let Err(e) = wait_ctx.add(bridge, Token::ResourceBridge { index }) { in run()
748 let events = match wait_ctx.wait_timeout(duration) { in run()
768 let _ = wait_ctx.delete(&*self.state.display().borrow()); in run()
/external/crosvm/src/
Dlinux.rs2790 let wait_ctx = WaitContext::build_with(&[ in run_control() localVariable
2798 wait_ctx in run_control()
2803 wait_ctx in run_control()
2814 wait_ctx in run_control()
2823 wait_ctx in run_control()
2833 wait_ctx in run_control()
2924 match wait_ctx.wait() { in run_control()
3017 wait_ctx in run_control()
3106 match wait_ctx.add( in run_control()
3218 wait_ctx.delete(socket).map_err(Error::WaitContextDelete)?; in run_control()
[all …]
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_vios.rs484 let wait_ctx: WaitContext<Token> = WaitContext::build_with(&[ in spawn_recv_thread() localVariable
490 let events = wait_ctx.wait().map_err(|e| Error::WaitError(e))?; in spawn_recv_thread()