Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/socket/
H A Dmod.rs144 fn shutdown(&mut self, _type: ShutdownType) -> Result<(), SystemError> { in shutdown() method
784 let shutdown = handle_item.shutdown_type(); in poll() localVariable
786 socket::Socket::Udp(udp) => Self::udp_poll(udp, shutdown), in poll()
787 socket::Socket::Tcp(tcp) => Self::tcp_poll(tcp, shutdown, handle_item.is_posix_listen), in poll()
788 socket::Socket::Raw(raw) => Self::raw_poll(raw, shutdown), in poll()
795 shutdown: ShutdownType, in tcp_poll()
813 if shutdown == ShutdownType::SHUTDOWN_MASK || state == tcp::State::Closed { in tcp_poll()
817 if shutdown.contains(ShutdownType::RCV_SHUTDOWN) { in tcp_poll()
830 if !(shutdown.contains(ShutdownType::SEND_SHUTDOWN)) { in tcp_poll()
855 pub fn udp_poll(socket: &udp::Socket, shutdown: ShutdownType) -> EPollEventType { in udp_poll()
[all …]
H A Dinet.rs871 fn shutdown(&mut self, shutdown_type: super::ShutdownType) -> Result<(), SystemError> { in shutdown() method
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_driver.rs27 fn shutdown(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in shutdown() method
H A Dsubsys.rs87 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs39 fn shutdown(&self); in shutdown() method
/DragonOS/kernel/src/driver/pci/
H A Ddriver.rs29 fn shutdown(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in shutdown() method
H A Dsubsys.rs119 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs76 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs89 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs50 shutdown: AtomicBool, field
63 shutdown: AtomicBool::new(false), in new()
203 epoll.shutdown.store(true, Ordering::SeqCst); in close()
446 if epoll.0.lock_irqsave().shutdown.load(Ordering::SeqCst) { in do_epoll_wait()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs73 fn shutdown(&self, _device: &Arc<dyn PciDevice>) -> Result<(), system_error::SystemError> { in shutdown() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs86 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs86 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs110 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs229 fn shutdown(&self) { in shutdown() method
H A Dmod.rs425 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs108 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
/DragonOS/kernel/src/net/
H A Dsyscall.rs343 pub fn shutdown(fd: usize, how: usize) -> Result<usize, SystemError> { in shutdown() method
348 socket.shutdown(ShutdownType::from_bits_truncate((how + 1) as u8))?; in shutdown()
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs144 fn shutdown(&self, _device: &Arc<dyn Device>); in shutdown() method
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs753 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
/DragonOS/kernel/src/syscall/
H A Dmod.rs546 SYS_SHUTDOWN => Self::shutdown(args[0], args[1]), in handle()