Home
last modified time | relevance | path

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

12

/DragonOS/user/apps/test_bind/
H A 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/user/apps/test_dup3/
H A Dmain.c27 close(fd); in main()
28 close(new_fd); in main()
/DragonOS/user/apps/test_uart/
H A Dmain.c14 close(fd); in main()
29 close(fd); in main()
/DragonOS/user/apps/test_mkfifo/
H A Dmain.c47 close(pipe_fd); in main()
66 close(pipe_fd); in main()
/DragonOS/user/apps/test_filemap/
H A Dmain.c23 close(fd); in main()
34 close(fd); in main()
/DragonOS/user/apps/http_server/
H A Dmain.c107 close(fd); in send_file()
115 close(fd); in send_file()
234 close(new_socket); in main()
237 close(server_fd); in main()
/DragonOS/user/apps/test_pty/
H A Dtest_pty.c45 close(ptm); in main()
46 close(pts); in main()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs17 fn close(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in close() method
119 let _ = ld.close(o_tty.clone()); in ldisc_setup()
/DragonOS/user/apps/test_overlayfs/
H A Dmain.c52 close(fd); in create_lower_file()
/DragonOS/kernel/src/driver/input/serio/
H A Dserio_device.rs28 fn close(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in close() method
/DragonOS/kernel/src/net/socket/
H A Dunix.rs61 fn close(&mut self) {} in close() method
172 fn close(&mut self) {} in close() method
H A Dinet.rs96 fn close(&mut self) { in close() method
101 sock.close(); in close()
326 fn close(&mut self) { in close() method
331 sock.close(); in close()
600 fn close(&mut self) { in close() method
607 .close(); in close()
H A Dmod.rs272 fn close(&mut self); in close() method
321 socket.close(); in do_close()
346 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs51 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close() method
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs83 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
H A Dzero_dev.rs83 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs102 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
H A Dvcpu_dev.rs110 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
H A Dvm_dev.rs108 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs185 fn close(&self, _device: &Arc<dyn SerioDevice>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs145 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs161 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs96 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs507 fn close( in close() method
602 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs301 fn close(&self, data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() method
308 tty.close(tty.clone()) in close()

12