Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs138 fn shutdown(&mut self, _type: ShutdownType) -> Result<(), SystemError> { in shutdown() method
784 pub fn poll(socket: &socket::Socket, shutdown: ShutdownType) -> EPollEventType { in poll()
786 socket::Socket::Udp(udp) => Self::udp_poll(udp, shutdown), in poll()
787 socket::Socket::Tcp(tcp) => Self::tcp_poll(tcp, shutdown), in poll()
792 pub fn tcp_poll(socket: &tcp::Socket, shutdown: ShutdownType) -> EPollEventType { in tcp_poll()
803 if shutdown.contains(ShutdownType::RCV_SHUTDOWN) { in tcp_poll()
816 if !(shutdown.contains(ShutdownType::SEND_SHUTDOWN)) { in tcp_poll()
840 pub fn udp_poll(socket: &udp::Socket, shutdown: ShutdownType) -> EPollEventType { in udp_poll()
843 if shutdown.contains(ShutdownType::RCV_SHUTDOWN) { in udp_poll()
848 if shutdown.contains(ShutdownType::SHUTDOWN_MASK) { in udp_poll()
Dsockets.rs768 fn shutdown(&mut self, shutdown_type: super::ShutdownType) -> Result<(), SystemError> { in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dplatform_driver.rs26 fn shutdown(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in shutdown() method
Dsubsys.rs84 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/serial/
Dmod.rs37 fn shutdown(&self); in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/acpi/
Dbus.rs76 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/input/serio/
Dsubsys.rs88 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs49 shutdown: AtomicBool, field
62 shutdown: AtomicBool::new(false), in new()
192 epoll.shutdown.store(true, Ordering::SeqCst); in close()
434 if epoll.0.lock_irqsave().shutdown.load(Ordering::SeqCst) { in do_epoll_wait()
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_driver.rs86 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/base/
Dcpu.rs86 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dserial8250_pio.rs240 fn shutdown(&self) { in shutdown() method
Dmod.rs429 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS-0.1.9/kernel/src/net/
Dsyscall.rs349 pub fn shutdown(fd: usize, how: usize) -> Result<usize, SystemError> { in shutdown() method
354 socket.shutdown(ShutdownType::from_bits_truncate(how as u8))?; in shutdown()
/DragonOS-0.1.9/kernel/src/driver/base/device/
Dbus.rs143 fn shutdown(&self, _device: &Arc<dyn Device>); in shutdown() method
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs659 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs585 SYS_SHUTDOWN => Self::shutdown(args[0], args[1]), in handle()