Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/libs/libc/src/
Dunistd.c15 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()
Ddirent.c18 int fd = open(path, O_DIRECTORY); in opendir() local
57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
Dstdio.c87 int fd = open(pathname, o_flags); in fopen() local
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs53 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/
Dkeyboard.c291 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/
Dsyscall.rs13 let fd: *mut i32 = regs.r8 as *mut i32; in sys_pipe() localVariable
/DragonOS-0.1.7/user/apps/shell/
Dcmd_test.c12 int fd[2], i, n; in shell_pipe_test() local
Dshell.c152 int shell_readline(int fd, char *buf) in shell_readline()
Dcmd.c311 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/
Dstdio.h32 int fd; // 文件描述符 member
Ddirent.h67 int fd; member
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs71 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/
Dprocess.c150 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