Home
last modified time | relevance | path

Searched refs:shutdown_type (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/net/socket/
H A Dmod.rs463 pub shutdown_type: RwLock<ShutdownType>, field
471 shutdown_type: RwLock::new(ShutdownType::empty()), in new()
476 pub fn shutdown_type(&self) -> ShutdownType { in shutdown_type() method
477 *self.shutdown_type.read() in shutdown_type()
481 self.shutdown_type.write_irqsave() in shutdown_type_writer()
485 *self.shutdown_type.write() = ShutdownType::empty(); in reset_shutdown_type()
784 let shutdown = handle_item.shutdown_type(); in poll()
H A Dinet.rs417 .shutdown_type(), in poll()
623 .shutdown_type() in read()
687 .shutdown_type() in write()
736 let shutdown_type = handle_item.shutdown_type(); in poll() localVariable
740 return SocketPollMethod::tcp_poll(socket, shutdown_type, is_posix_listen); in poll()
871 fn shutdown(&mut self, shutdown_type: super::ShutdownType) -> Result<(), SystemError> { in shutdown()
877 .shutdown_type = RwLock::new(shutdown_type); in shutdown()