/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/kernel/src/syscall/ |
H A D | mod.rs | 155 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 D | main.c | 7 int fd = open("/bin/about.elf", O_RDONLY); in main() local
|
/DragonOS/user/apps/test_overlayfs/ |
H A D | main.c | 45 int fd = open(filepath, O_CREAT | O_WRONLY, 0644); in create_lower_file() local
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 76 int fd = open(path, 0); in send_file() local
|
/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 100 let fd = file.as_raw_fd(); in main() localVariable
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 121 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 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/bpf/helper/ |
H A D | mod.rs | 81 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 D | syscall.rs | 60 let fd = user_buffer.buffer::<i32>(0)?; in pipe2() localVariable
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 278 let fd = fd_table_guard.alloc_fd(file, None).map(|x| x as usize); in sys_eventfd() localVariable
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 309 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 D | mod.rs | 246 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 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 | 1342 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 D | file.rs | 808 let fd = self.index as i32; in next() localVariable
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 731 pub fd: __u32, field
|