Home
last modified time | relevance | path

Searched refs:event (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.9/tools/debugging/logmonitor/src/
Devent.rs2 use crate::backend::event::BackendEvent;
3 use crossterm::event::{self, Event as CrosstermEvent, KeyEvent, MouseEvent};
48 if event::poll(timeout).expect("no events available") { in new()
49 match event::read().expect("unable to read event") { in new()
Dhandler.rs3 backend::event::BackendEvent,
5 use crossterm::event::{KeyCode, KeyEvent, KeyModifiers};
Dtui.rs2 use crate::event::EventHandler;
4 use crossterm::event::DisableMouseCapture;
Dlib.rs12 pub mod event; module
Dmain.rs5 use logmonitor::event::{Event, EventHandler};
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs75 event: RwLock<EPollEvent>, field
91 event: RwLock::new(events), in new()
101 pub fn event(&self) -> &RwLock<EPollEvent> { in event() method
102 &self.event in event()
120 let events = events as u32 & self.event.read().events; in ep_item_poll()
371 if ep_item.event.read().events & EPollEventType::EPOLLEXCLUSIVE.bits() != 0 { in do_epoll_ctl()
527 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events()
536 let event = EPollEvent { in ep_send_events() localVariable
538 data: epitem.event.read().data, in ep_send_events()
560 user_event[res] = event; in ep_send_events()
[all …]
Dsyscall.rs66 pub fn epoll_ctl(epfd: i32, op: usize, fd: i32, event: VirtAddr) -> Result<usize, SystemError> { in epoll_ctl()
71 if event.is_null() { in epoll_ctl()
78 event.as_ptr::<EPollEvent>(), in epoll_ctl()
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/
Dmod.rs9 use crate::{command::CommandLineArgs, event::Event};
12 pub mod event; module
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs841 let mut event = EPollEventType::empty(); in udp_poll() localVariable
844 event.insert( in udp_poll()
849 event.insert(EPollEventType::EPOLLHUP); in udp_poll()
853 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in udp_poll()
857 event.insert( in udp_poll()
867 return event; in udp_poll()
/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs66 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query() localVariable
68 match event { in dhcp_query()
/DragonOS-0.1.9/kernel/src/driver/tty/tty_ldisc/
Dntty.rs2034 let mut event = EPollEventType::empty(); in poll() localVariable
2036 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM) in poll()
2042 event.insert( in poll()
2051 event.insert(EPollEventType::EPOLLHUP); in poll()
2057 event.insert(EPollEventType::EPOLLOUT | EPollEventType::EPOLLWRNORM); in poll()
2060 Ok(event.bits() as usize) in poll()
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/
DLICENSE-APACHE153 8. Limitation of Liability. In no event and under no legal theory,