Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 13 of 13) sorted by relevance

/DragonOS/kernel/src/syscall/
H A Dmod.rs141 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 Dmain.c9 int fd = open("/bin/about.elf", O_RDONLY); in main() local
/DragonOS/user/apps/test_filemap/
H A Dmain.c12 int fd = open("example.txt", O_RDWR | O_CREAT | O_TRUNC, 0777); in main() local
/DragonOS/user/apps/test_uart/
H A Dmain.c8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main() local
/DragonOS/user/apps/test_dup3/
H A Dmain.c6 int fd = open("/history_commands.txt", O_RDONLY); in main() local
/DragonOS/user/apps/test_fstatfs/
H A Dmain.c7 int fd = open("/bin/about.elf", O_RDONLY); in main() local
/DragonOS/user/apps/http_server/
H A Dmain.c76 int fd = open(path, 0); in send_file() local
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs84 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 Dsyscall.rs60 let fd = user_buffer.buffer::<i32>(0)?; in pipe2() localVariable
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs265 let fd = fd_table_guard.alloc_fd(file, None).map(|x| x as usize); in sys_eventfd() localVariable
/DragonOS/kernel/src/net/
H A Dsyscall.rs52 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 Dsyscall.rs1318 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 Dfile.rs793 let fd = self.index as i32; in next() localVariable