Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 31) sorted by relevance

12

/DragonOS-0.1.9/user/apps/test_bind/
Dmain.c64 if (close(tcp_sk_fd1) < 0) in test_tcp_bind()
69 if (close(tcp_sk_fd2) < 0) in test_tcp_bind()
74 if (close(tcp_sk_fd3) < 0) in test_tcp_bind()
126 if (close(udp_sk_fd1) < 0) in test_udp_bind()
131 if (close(udp_sk_fd2) < 0) in test_udp_bind()
136 if (close(udp_sk_fd3) < 0) in test_udp_bind()
215 if (close(server_fd) < 0) in main()
220 if (close(udp_sk_fd) < 0) in main()
/DragonOS-0.1.9/user/apps/test_uart/
Dmain.c14 close(fd); in main()
29 close(fd); in main()
/DragonOS-0.1.9/user/apps/test_mkfifo/
Dmain.c47 close(pipe_fd); in main()
66 close(pipe_fd); in main()
/DragonOS-0.1.9/user/apps/http_server/
Dmain.c107 close(fd); in send_file()
115 close(fd); in send_file()
234 close(new_socket); in main()
/DragonOS-0.1.9/kernel/src/driver/input/serio/
Dserio_device.rs27 fn close(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in close() method
/DragonOS-0.1.9/kernel/src/driver/tty/tty_ldisc/
Dmod.rs17 fn close(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in close() method
/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dnull_dev.rs78 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dzero_dev.rs78 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dmod.rs380 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmount.rs139 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
140 return self.inner_inode.close(data); in close()
Dsyscall.rs274 pub fn close(fd: usize) -> Result<usize, SystemError> { in close() method
863 Self::close(fd).ok(); in stat()
870 Self::close(fd).ok(); in lstat()
Dmod.rs132 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dfile.rs522 let r: Result<(), SystemError> = self.inode.close(&mut self.private_data); in drop()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahci_inode.rs83 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_ports.rs174 fn close(&self, _device: &Arc<dyn SerioDevice>) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dkvm_dev.rs96 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dvcpu_dev.rs104 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dvm_dev.rs102 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/driver/keyboard/
Dps2_keyboard.rs137 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs497 fn close( in close() method
592 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/ipc/
Dpipe.rs274 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs390 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_device.rs252 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs139 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dmod.rs155 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method

12