Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/
H A Dnet_core.rs71 net_face.poll(&mut SOCKET_SET.lock_irqsave()).ok(); in dhcp_query()
73 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()
146 iface.poll(&mut sockets).ok(); in poll_ifaces()
175 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
198 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock_onetime()
222 let mut events = SocketPollMethod::poll(socket_type, handle_item).bits() as u64; in send_event()
/DragonOS/kernel/src/namespaces/
H A Dmnt_namespace.rs42 poll: WaitQueue, field
153 poll: WaitQueue::default(), in new()
183 poll: WaitQueue::default(), in create_mnt_namespace()
/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.rs147 let pollflag = EPollEventType::from_bits_truncate(self.poll(&data)? as u32); in read_at()
194 let pollflag = EPollEventType::from_bits_truncate(self.poll(&data)? as u32); in write_at()
204 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.rs668 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError> { in poll() method
671 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.rs1090 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available()
1092 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()
726 EPollEventType::from_bits_truncate(file.poll()? as u32) in wakeup_epoll()
/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/driver/tty/
H A Dtty_device.rs426 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
433 tty.ldisc().poll(tty) in poll()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs514 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
515 self.inner_inode.poll(private_data) in poll()
H A Dfile.rs631 pub fn poll(&self) -> Result<usize, SystemError> { in poll() method
632 self.inode.poll(&self.private_data.lock()) in poll()
H A Dmod.rs190 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
/DragonOS/kernel/src/perf/
H A Dmod.rs136 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize> { in poll() method
/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方法