/DragonOS-0.1.7/user/libs/libc/src/ |
D | unistd.c | 15 int close(int fd) in close() 28 ssize_t read(int fd, void *buf, size_t count) in read() 41 ssize_t write(int fd, void const *buf, size_t count) in write() 54 off_t lseek(int fd, off_t offset, int whence) in lseek() 218 int dup(int fd) in dup()
|
D | dirent.c | 18 int fd = open(path, O_DIRECTORY); in opendir() local 57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
|
D | stdio.c | 87 int fd = open(pathname, o_flags); in fopen() local
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | syscall.rs | 53 let fd = regs.r8 as i32; in sys_close() localVariable 70 let fd = regs.r8 as i32; in sys_read() localVariable 99 let fd = regs.r8 as i32; in sys_write() localVariable 128 let fd = regs.r8 as i32; in sys_lseek() localVariable 228 let fd = regs.r8 as i32; in sys_getdents() localVariable 378 let fd: i32 = regs.r8 as i32; in sys_dup() localVariable
|
/DragonOS-0.1.7/user/libs/libKeyboard/ |
D | keyboard.c | 291 int keyboard_analyze_keycode(int fd) in keyboard_analyze_keycode() 528 int keyboard_get_scancode(int fd) in keyboard_get_scancode()
|
/DragonOS-0.1.7/kernel/src/ipc/ |
D | syscall.rs | 13 let fd: *mut i32 = regs.r8 as *mut i32; in sys_pipe() localVariable
|
/DragonOS-0.1.7/user/apps/shell/ |
D | cmd_test.c | 12 int fd[2], i, n; in shell_pipe_test() local
|
D | shell.c | 152 int shell_readline(int fd, char *buf) in shell_readline()
|
D | cmd.c | 311 int fd = open(file_path, 0); in shell_cmd_cat() local 367 int fd = open(file_path, O_CREAT); in shell_cmd_touch() local
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/ |
D | stdio.h | 32 int fd; // 文件描述符 member
|
D | dirent.h | 67 int fd; member
|
/DragonOS-0.1.7/kernel/src/net/ |
D | syscall.rs | 71 let fd = current_pcb().alloc_fd(f, None).map(|x| x as i64); in do_socket() localVariable 78 let fd = regs.r8 as usize; in sys_setsockopt() localVariable 119 let fd = regs.r8 as usize; in sys_getsockopt() localVariable 215 let fd = regs.r8 as usize; in sys_connect() localVariable 243 let fd = regs.r8 as usize; in sys_bind() localVariable 270 let fd = regs.r8 as usize; in sys_sendto() localVariable 325 let fd = regs.r8 as usize; in sys_recvfrom() localVariable 396 let fd = regs.r8 as usize; in sys_recvmsg() localVariable 444 let fd = regs.r8 as usize; in sys_listen() localVariable 468 let fd = regs.r8 as usize; in sys_shutdown() localVariable [all …]
|
/DragonOS-0.1.7/kernel/src/process/ |
D | process.c | 150 int fd = sys_open(&tmp); in process_open_exec_file() local 164 int fd = process_open_exec_file(path); in process_load_elf_file() local
|