/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 144 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 D | inet.rs | 871 fn shutdown(&mut self, shutdown_type: super::ShutdownType) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_driver.rs | 27 fn shutdown(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in shutdown() method
|
H A D | subsys.rs | 87 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/driver/serial/ |
H A D | mod.rs | 39 fn shutdown(&self); in shutdown() method
|
/DragonOS/kernel/src/driver/pci/ |
H A D | driver.rs | 29 fn shutdown(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in shutdown() method
|
H A D | subsys.rs | 119 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | bus.rs | 76 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 89 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 50 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 D | pt_driver.rs | 73 fn shutdown(&self, _device: &Arc<dyn PciDevice>) -> Result<(), system_error::SystemError> { in shutdown() method
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 86 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS/kernel/src/driver/base/ |
H A D | cpu.rs | 86 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 110 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 229 fn shutdown(&self) { in shutdown() method
|
H A D | mod.rs | 425 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | sysfs.rs | 108 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 343 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 D | bus.rs | 144 fn shutdown(&self, _device: &Arc<dyn Device>); in shutdown() method
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 753 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 546 SYS_SHUTDOWN => Self::shutdown(args[0], args[1]), in handle()
|