Home
last modified time | relevance | path

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

/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/kernel/src/syscall/
H A Dmod.rs155 let fd = args[0]; in handle() localVariable
159 let fd = args[0] as i32; in handle() localVariable
170 let fd = args[0] as i32; in handle() localVariable
182 let fd = args[0] as i32; in handle() localVariable
190 let fd = args[0] as i32; in handle() localVariable
202 let fd = args[0] as i32; in handle() localVariable
215 let fd = args[0]; in handle() localVariable
245 let fd = args[0] as i32; in handle() localVariable
666 let fd = args[0] as i32; in handle() localVariable
678 let fd = args[0] as i32; in handle() localVariable
[all …]
/DragonOS/user/apps/test_fstatfs/
H A Dmain.c7 int fd = open("/bin/about.elf", O_RDONLY); in main() local
/DragonOS/user/apps/test_overlayfs/
H A Dmain.c45 int fd = open(filepath, O_CREAT | O_WRONLY, 0644); in create_lower_file() local
/DragonOS/user/apps/http_server/
H A Dmain.c76 int fd = open(path, 0); in send_file() local
/DragonOS/user/apps/test-chown/src/
H A Dmain.rs100 let fd = file.as_raw_fd(); in main() localVariable
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs121 let fd = fd_table.write().alloc_fd(file, None).map(|x| x as usize)?; in bpf_prog_load() localVariable
/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/bpf/helper/
H A Dmod.rs81 let fd = binding in perf_event_output() localVariable
84 let fd = u32::from_ne_bytes(fd.try_into().map_err(|_| SystemError::EINVAL)?); in perf_event_output() 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.rs278 let fd = fd_table_guard.alloc_fd(file, None).map(|x| x as usize); in sys_eventfd() localVariable
/DragonOS/kernel/src/perf/
H A Dmod.rs309 let fd = fd_table.write().alloc_fd(file, None).map(|x| x as usize)?; in perf_event_open() localVariable
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs246 let fd = fd_table.write().alloc_fd(file, None).map(|x| x as usize)?; in bpf_map_create() 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.rs1342 let fd = Self::open( in stat() localVariable
1354 let fd = Self::open( in lstat() localVariable
1367 let fd = Self::open( in statfs() localVariable
H A Dfile.rs808 let fd = self.index as i32; in next() localVariable
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs731 pub fd: __u32, field