/external/crosvm/sys_util/src/ |
D | eventfd.rs | 25 pub struct EventFd { struct 38 impl EventFd { implementation 40 pub fn new() -> Result<EventFd> { in new() 49 Ok(EventFd { in new() 136 pub fn try_clone(&self) -> Result<EventFd> { in try_clone() argument 139 .map(|event_handle| EventFd { event_handle }) in try_clone() 143 impl AsRawFd for EventFd { implementation 149 impl AsRawDescriptor for EventFd { implementation 155 impl FromRawFd for EventFd { implementation 157 EventFd { in from_raw_fd() [all …]
|
D | clock.rs | 11 use crate::EventFd; 49 deadlines: Vec<(u64, EventFd)>, 95 pub fn add_event_fd(&mut self, deadline_ns: u64, fd: EventFd) { in add_event_fd() argument
|
D | file_flags.rs | 39 use crate::{pipe, EventFd}; 50 let evt = EventFd::new().unwrap(); in eventfd()
|
D | fork.rs | 98 use crate::{getpid, EventFd}; 113 let evt_fd = EventFd::new().expect("failed to create EventFd"); in pid_diff()
|
D | timerfd.rs | 18 use crate::{errno_result, EventFd, FakeClock, Result}; 160 fd: EventFd, 171 fd: EventFd::new().unwrap(), in new()
|
D | poll.rs | 695 use crate::EventFd; 702 let evt1 = EventFd::new().unwrap(); in poll_context() 703 let evt2 = EventFd::new().unwrap(); in poll_context() 734 let evt = EventFd::new().unwrap(); in poll_context_overflow()
|
D | sock_ctrl_msg.rs | 430 use crate::EventFd; 509 let evt = EventFd::new().expect("failed to create eventfd"); in send_recv_only_fd() 537 let evt = EventFd::new().expect("failed to create eventfd"); in send_recv_with_fd()
|
/external/perfetto/src/base/ |
D | event_fd.cc | 41 EventFd::~EventFd() = default; 44 EventFd::EventFd() { in EventFd() function in perfetto::base::EventFd 50 void EventFd::Notify() { in Notify() 55 void EventFd::Clear() { in Clear() 63 EventFd::EventFd() { in EventFd() function in perfetto::base::EventFd 68 void EventFd::Notify() { in Notify() 75 void EventFd::Clear() { in Clear() 84 EventFd::EventFd() { in EventFd() function in perfetto::base::EventFd 92 void EventFd::Notify() { in Notify() 99 void EventFd::Clear() { in Clear()
|
D | task_runner_unittest.cc | 110 EventFd evt; in TEST_F() 119 EventFd evt; in TEST_F() 134 EventFd evt; in TEST_F() 151 EventFd evt; in TEST_F() 152 EventFd evt2; in TEST_F() 165 EventFd evt; in TEST_F() 166 EventFd evt2; in TEST_F() 185 EventFd evt; in TEST_F() 186 EventFd evt2; in TEST_F() 206 EventFd evt; in TEST_F() [all …]
|
/external/perfetto/include/perfetto/ext/base/ |
D | event_fd.h | 30 class EventFd { 32 EventFd(); 33 ~EventFd(); 34 EventFd(EventFd&&) noexcept = default; 35 EventFd& operator=(EventFd&&) = default;
|
D | unix_task_runner.h | 95 EventFd event_;
|
D | subprocess.h | 240 base::EventFd stdouterr_done_event;
|
/external/crosvm/cros_async/src/ |
D | event.rs | 5 use sys_util::EventFd; 11 io_source: Box<dyn IoSourceExt<EventFd>>, 15 pub fn new(event: EventFd, ex: &Executor) -> AsyncResult<EventAsync> { in new() argument 21 pub(crate) fn new_poll(event: EventFd, ex: &crate::FdExecutor) -> AsyncResult<EventAsync> { in new_poll() argument 26 pub(crate) fn new_uring(event: EventFd, ex: &crate::URingExecutor) -> AsyncResult<EventAsync> { in new_uring() argument 37 impl IntoAsync for EventFd {} implementation 47 async fn go(event: EventFd, ex: &Executor) -> u64 { in next_val_reads_value() argument 52 let eventfd = EventFd::new().unwrap(); in next_val_reads_value() 65 let eventfd = EventFd::new().unwrap(); in next_val_reads_value_poll_and_ring() 73 let eventfd = EventFd::new().unwrap(); in next_val_reads_value_poll_and_ring()
|
D | uring_source.rs | 333 use sys_util::EventFd; in event() 335 async fn write_event(ev: EventFd, wait: EventFd, ex: &URingExecutor) { in event() argument 345 async fn read_events(ev: EventFd, signal: EventFd, ex: &URingExecutor) { in event() argument 355 let event = EventFd::new().unwrap(); in event() 356 let signal_wait = EventFd::new().unwrap(); in event()
|
D | fd_executor.rs | 26 use sys_util::{add_fd_flags, warn, EpollContext, EpollEvents, EventFd, WatchingEvents}; 187 async fn notify_task(notify: EventFd, raw: Weak<RawExecutor>) { in notify_task() argument 239 notify: EventFd, 243 fn new(notify: EventFd) -> Result<Self> { in new() 453 let notify = EventFd::new().map_err(Error::CreateEventFd)?; in new()
|
D | io_ext.rs | 361 use sys_util::EventFd; in read_eventfds() 367 let eventfd = EventFd::new().unwrap(); in read_eventfds() 374 let eventfd = EventFd::new().unwrap(); in read_eventfds()
|
/external/rust/crates/vmm_vhost/src/ |
D | backend.rs | 16 use sys_util::EventFd; 144 fn set_vring_call(&self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_call() 152 fn set_vring_kick(&self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_kick() 159 fn set_vring_err(&self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_err() 230 fn set_vring_call(&mut self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_call() 238 fn set_vring_kick(&mut self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_kick() 245 fn set_vring_err(&mut self, queue_index: usize, fd: &EventFd) -> Result<()>; in set_vring_err() 295 fn set_vring_call(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_call() 299 fn set_vring_kick(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_kick() 303 fn set_vring_err(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_err() [all …]
|
/external/crosvm/base/src/ |
D | event.rs | 14 use sys_util::EventFd; 21 pub struct Event(pub EventFd); 24 EventFd::new().map(Event) in new() 52 Event(EventFd::from_raw_fd(descriptor)) in from_raw_descriptor()
|
/external/rust/crates/vmm_vhost/src/vhost_kern/ |
D | mod.rs | 17 use sys_util::EventFd; 240 fn set_vring_call(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_call() 257 fn set_vring_kick(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_kick() 273 fn set_vring_err(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_err()
|
D | vsock.rs | 81 use sys_util::EventFd; 160 let eventfd = EventFd::new().unwrap(); in test_vsock_ioctls()
|
/external/perfetto/src/profiling/memory/ |
D | main.cc | 58 base::EventFd* g_dump_evt = nullptr; 95 g_dump_evt = new base::EventFd(); in StartCentralHeapprofd()
|
/external/perfetto/src/perfetto_cmd/ |
D | perfetto_cmd.h | 97 base::EventFd ctrl_c_evt_;
|
/external/rust/crates/vmm_vhost/src/vhost_user/ |
D | master.rs | 12 use sys_util::EventFd; 281 fn set_vring_call(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_call() 294 fn set_vring_kick(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_kick() 306 fn set_vring_err(&self, queue_index: usize, fd: &EventFd) -> Result<()> { in set_vring_err()
|
D | mod.rs | 366 let eventfd = sys_util::EventFd::new().unwrap(); in test_master_slave_process()
|