Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs64 net_face.poll(&mut SOCKET_SET.lock_irqsave()).ok(); in dhcp_query()
66 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()
130 iface.poll(&mut sockets).ok(); in poll_ifaces()
159 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
183 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock_onetime()
202 SocketPollMethod::poll(socket_type, handle_item.shutdown_type()).bits() as u64; in send_event()
/DragonOS-0.1.9/kernel/src/driver/net/
Dmod.rs25 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll() method
Dvirtio_net.rs335 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll() method
338 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
/DragonOS-0.1.9/kernel/src/ipc/
Dpipe.rs61 pub fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
235 let pollflag = EPollEventType::from_bits_truncate(inode.poll(&data)? as u32); in read_at()
387 let pollflag = EPollEventType::from_bits_truncate(inode.poll(&data)? as u32); in write_at()
417 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
418 return self.0.lock().poll(private_data); in poll()
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
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-0.1.9/tools/debugging/logmonitor/src/
Devent.rs48 if event::poll(timeout).expect("no events available") { in new()
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dcallback.rs31 fn poll(&self, data: KernCallbackData) -> Result<PollStatus, SystemError>; in poll() method
/DragonOS-0.1.9/kernel/src/driver/tty/tty_ldisc/
Dmod.rs51 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, SystemError>; in poll() method
Dntty.rs1093 pub fn input_available(&self, termios: RwLockReadGuard<Termios>, poll: bool) -> bool { in input_available()
1095 let amt = if poll in input_available()
2030 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, system_error::SystemError> { in poll() method
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs266 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll() method
269 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs189 fn poll(&self) -> EPollEventType { in poll() method
355 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
356 let events = self.0.lock_irqsave().poll(); in poll()
784 pub fn poll(socket: &socket::Socket, shutdown: ShutdownType) -> EPollEventType { in poll() method
Dsockets.rs192 iface.poll(&mut socket_set_guard).ok(); in write()
399 fn poll(&self) -> EPollEventType { in poll() method
662 fn poll(&self) -> EPollEventType { in poll() method
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmount.rs374 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
375 self.inner_inode.poll(private_data) in poll()
Dfile.rs515 pub fn poll(&self) -> Result<usize, SystemError> { in poll() method
516 self.inode.poll(&self.private_data) in poll()
Dmod.rs174 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs119 if let Ok(events) = file.unwrap().lock_irqsave().poll() { in ep_item_poll()
166 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
600 let test_poll = dst_file.lock_irqsave().poll(); in ep_insert()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_device.rs339 fn poll(&self, private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() method
346 tty.ldisc().poll(tty) in poll()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.9.md803 - 优化poll,删除不能poll的文件系统中的poll方法