Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 21 of 21) sorted by relevance

/DragonOS/kernel/src/net/
H A Dnet_core.rs67 net_face.poll(&mut SOCKET_SET.lock_irqsave()).ok(); in dhcp_query()
69 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()
134 iface.poll(&mut sockets).ok(); in poll_ifaces()
163 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
186 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock_onetime()
210 let mut events = SocketPollMethod::poll(socket_type, handle_item).bits() as u64; in send_event()
/DragonOS/kernel/src/ipc/
H A Dpipe.rs66 pub fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
268 let pollflag = EPollEventType::from_bits_truncate(inode.poll(&data)? as u32); in read_at()
414 let pollflag = EPollEventType::from_bits_truncate(inode.poll(&data)? as u32); in write_at()
444 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
445 return self.inner.lock().poll(private_data); in poll()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs137 let pollflag = EPollEventType::from_bits_truncate(self.poll(&data)? as u32); in read_at()
184 let pollflag = EPollEventType::from_bits_truncate(self.poll(&data)? as u32); in write_at()
194 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs313 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() method
345 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() method
377 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() method
409 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() method
/DragonOS/kernel/src/driver/net/
H A Dmod.rs64 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll() method
H A Dloopback.rs497 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll() method
500 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
H A Dvirtio_net.rs661 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError> { in poll() method
664 let poll_res = guard.poll(timestamp, self.device_inner.force_get_mut(), sockets); in poll()
/DragonOS/tools/debugging/logmonitor/src/
H A Devent.rs48 if event::poll(timeout).expect("no events available") { in new()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dcallback.rs31 fn poll(&self, data: KernCallbackData) -> Result<PollStatus, SystemError>; in poll() method
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs51 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, SystemError>; in poll() method
H A Dntty.rs1091 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available()
1093 let amt = if poll in input_available()
2058 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, system_error::SystemError> { in poll() method
/DragonOS/kernel/src/net/socket/
H A Dmod.rs191 fn poll(&self) -> EPollEventType { in poll() method
372 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
373 let events = self.0.lock_irqsave().poll(); in poll()
783 pub fn poll(socket: &socket::Socket, handle_item: &SocketHandleItem) -> EPollEventType { in poll() method
H A Dinet.rs199 iface.poll(&mut socket_set_guard).ok(); in write()
407 fn poll(&self) -> EPollEventType { in poll() method
720 fn poll(&self) -> EPollEventType { in poll() method
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs126 if let Ok(events) = file.unwrap().poll() { in ep_item_poll()
177 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
611 let test_poll = dst_file.poll(); in ep_insert()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs338 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll() method
341 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs487 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
488 self.inner_inode.poll(private_data) in poll()
H A Dfile.rs615 pub fn poll(&self) -> Result<usize, SystemError> { in poll() method
616 self.inode.poll(&self.private_data.lock()) in poll()
H A Dmod.rs187 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs422 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
429 tty.ldisc().poll(tty) in poll()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md80 - feat(net): 实现raw socket的poll (#739)
400 feat(net): 实现raw socket的poll (#739)
402 feat(net): 实现raw socket的poll
H A DV0.1.9.md804 - 优化poll,删除不能poll的文件系统中的poll方法