Home
last modified time | relevance | path

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

/DragonOS-0.1.9/user/apps/test_fstat/
Dmain.c9 int fd = open("/bin/about.elf", O_RDONLY); in main() local
/DragonOS-0.1.9/user/apps/test_uart/
Dmain.c8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main() local
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs130 let fd = args[0]; in handle() localVariable
134 let fd = args[0] as i32; in handle() localVariable
145 let fd = args[0] as i32; in handle() localVariable
157 let fd = args[0] as i32; in handle() localVariable
173 let fd = args[0] as i32; in handle() localVariable
185 let fd = args[0] as i32; in handle() localVariable
198 let fd = args[0]; in handle() localVariable
253 let fd = args[0] as i32; in handle() localVariable
670 let fd = args[0] as i32; in handle() localVariable
682 let fd = args[0] as i32; in handle() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/ipc/
Dsyscall.rs44 let fd = user_buffer.buffer::<i32>(0)?; in pipe2() localVariable
/DragonOS-0.1.9/user/apps/http_server/
Dmain.c76 int fd = open(path, 0); in send_file() local
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs77 fd: i32, field
109 pub fn fd(&self) -> i32 { in fd() method
253 let fd = fd_table_guard.alloc_fd(ep_file, None)?; in do_create_epoll() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs861 let fd = Self::open(path, FileMode::O_RDONLY, ModeType::empty(), true)?; in stat() localVariable
868 let fd = Self::open(path, FileMode::O_RDONLY, ModeType::empty(), false)?; in lstat() localVariable
Dfile.rs690 let fd = self.index as i32; in next() localVariable
/DragonOS-0.1.9/kernel/src/net/
Dsyscall.rs56 let fd = fd_table_guard.alloc_fd(f, None).map(|x| x as usize); in socket() localVariable