/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 141 let fd = args[0]; in handle() localVariable 145 let fd = args[0] as i32; in handle() localVariable 156 let fd = args[0] as i32; in handle() localVariable 168 let fd = args[0] as i32; in handle() localVariable 176 let fd = args[0] as i32; in handle() localVariable 188 let fd = args[0] as i32; in handle() localVariable 201 let fd = args[0]; in handle() localVariable 231 let fd = args[0] as i32; in handle() localVariable 631 let fd = args[0] as i32; in handle() localVariable 643 let fd = args[0] as i32; in handle() localVariable [all …]
|
/DragonOS/user/apps/test_fstat/ |
H A D | main.c | 9 int fd = open("/bin/about.elf", O_RDONLY); in main() local
|
/DragonOS/user/apps/test_filemap/ |
H A D | main.c | 12 int fd = open("example.txt", O_RDWR | O_CREAT | O_TRUNC, 0777); in main() local
|
/DragonOS/user/apps/test_uart/ |
H A D | main.c | 8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main() local
|
/DragonOS/user/apps/test_dup3/ |
H A D | main.c | 6 int fd = open("/history_commands.txt", O_RDONLY); in main() local
|
/DragonOS/user/apps/test_fstatfs/ |
H A D | main.c | 7 int fd = open("/bin/about.elf", O_RDONLY); in main() local
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 76 int fd = open(path, 0); in send_file() local
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 84 fd: i32, field 116 pub fn fd(&self) -> i32 { in fd() method 266 let fd = fd_table_guard.alloc_fd(ep_file, None)?; in do_create_epoll() localVariable
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 60 let fd = user_buffer.buffer::<i32>(0)?; in pipe2() localVariable
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 265 let fd = fd_table_guard.alloc_fd(file, None).map(|x| x as usize); in sys_eventfd() localVariable
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 52 let fd = fd_table_guard.alloc_fd(f, None).map(|x| x as usize); in socket() localVariable 594 let fd = Syscall::open(path.as_ptr(), FileMode::O_RDWR.bits(), 0o755, true)?; in to_endpoint() localVariable
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 1318 let fd = Self::open( in stat() localVariable 1330 let fd = Self::open( in lstat() localVariable 1343 let fd = Self::open( in statfs() localVariable
|
H A D | file.rs | 793 let fd = self.index as i32; in next() localVariable
|