/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 71 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 D | mnt_namespace.rs | 42 poll: WaitQueue, field 153 poll: WaitQueue::default(), in new() 183 poll: WaitQueue::default(), in create_mnt_namespace()
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 66 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 D | eventfd.rs | 147 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 D | file.rs | 313 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 D | mod.rs | 64 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll() method
|
H A D | loopback.rs | 503 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll() method 506 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
|
H A D | virtio_net.rs | 674 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError> { in poll() method 677 let poll_res = guard.poll(timestamp, self.device_inner.force_get_mut(), sockets); in poll()
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | event.rs | 48 if event::poll(timeout).expect("no events available") { in new()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | callback.rs | 31 fn poll(&self, data: KernCallbackData) -> Result<PollStatus, SystemError>; in poll() method
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 51 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, SystemError>; in poll() method
|
H A D | ntty.rs | 1088 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available() 1090 let amt = if poll in input_available() 2056 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, system_error::SystemError> { in poll() method
|
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 191 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 D | inet.rs | 199 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 D | mod.rs | 126 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 D | e1000e_driver.rs | 338 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 D | tty_device.rs | 426 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 D | mount.rs | 514 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method 515 self.inner_inode.poll(private_data) in poll()
|
H A D | file.rs | 631 pub fn poll(&self) -> Result<usize, SystemError> { in poll() method 632 self.inode.poll(&self.private_data.lock()) in poll()
|
H A D | mod.rs | 190 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 136 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize> { in poll() method
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.10.md | 80 - feat(net): 实现raw socket的poll (#739) 400 feat(net): 实现raw socket的poll (#739) 402 feat(net): 实现raw socket的poll
|
H A D | V0.1.9.md | 804 - 优化poll,删除不能poll的文件系统中的poll方法
|