/DragonOS-0.1.9/kernel/src/net/socket/ |
D | mod.rs | 138 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()
|
D | sockets.rs | 768 fn shutdown(&mut self, shutdown_type: super::ShutdownType) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | platform_driver.rs | 26 fn shutdown(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in shutdown() method
|
D | subsys.rs | 84 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/serial/ |
D | mod.rs | 37 fn shutdown(&self); in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/acpi/ |
D | bus.rs | 76 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/ |
D | subsys.rs | 88 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | mod.rs | 49 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/ |
D | i8042_driver.rs | 86 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | cpu.rs | 86 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | serial8250_pio.rs | 240 fn shutdown(&self) { in shutdown() method
|
D | mod.rs | 429 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/net/ |
D | syscall.rs | 349 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/ |
D | bus.rs | 143 fn shutdown(&self, _device: &Arc<dyn Device>); in shutdown() method
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/ |
D | vesafb.rs | 659 fn shutdown(&self, _device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError> { in shutdown() method
|
/DragonOS-0.1.9/kernel/src/syscall/ |
D | mod.rs | 585 SYS_SHUTDOWN => Self::shutdown(args[0], args[1]), in handle()
|