Home
last modified time | relevance | path

Searched refs:read (Results 1 – 19 of 19) sorted by relevance

/DragonOS-0.1.2/user/apps/shell/
Dcmd_test.c27 ret = read(fd[0], buf, sizeof(buf)); in shell_pipe_test()
Dcmd.c321 int l = read(fd, buf, 511); in shell_cmd_cat()
/DragonOS-0.1.2/user/libs/libc/src/
Dunistd.h21 ssize_t read(int fd, void *buf, size_t count);
Dunistd.c28 ssize_t read(int fd, void *buf, size_t count) in read() function
/DragonOS-0.1.2/kernel/src/driver/tty/
Dtty.c85 .read = tty_read,
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dunistd.md11 ``ssize_t read(int fd,void *buf,size_t count)`` : 从文件读取
Dfcntl.md18 #define O_RDWR 00000002 // Open read/write
Derrno.md101 … #define ENODATA 43 /* 队列头没有可读取的消息 No message is available on the STREAM head read queue.*/
/DragonOS-0.1.2/user/libs/libKeyboard/
Dkeyboard.c530 read(fd, &ret, 1); in keyboard_get_scancode()
/DragonOS-0.1.2/kernel/src/driver/keyboard/
Dps2_keyboard.c134 .read = ps2_keyboard_read,
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c177 if (file_ptr->file_ops && file_ptr->file_ops->read) in sys_read()
178 ret = file_ptr->file_ops->read(file_ptr, (char *)buf, count, &(file_ptr->position)); in sys_read()
/DragonOS-0.1.2/kernel/src/ipc/
Dpipe.c105 .read = pipe_read,
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.h188 long (*read)(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position); member
/DragonOS-0.1.2/kernel/src/process/
Dprocess.c180 retval = filp->file_ops->read(filp, (char *)buf, sizeof(Elf64_Ehdr), &pos); in process_load_elf_file()
223 …filp->file_ops->read(filp, (char *)buf, (uint64_t)ehdr.e_phentsize * (uint64_t)ehdr.e_phnum, &pos); in process_load_elf_file()
306 … val = filp->file_ops->read(filp, (char *)(virt_base + beginning_offset), to_trans, &pos); in process_load_elf_file()
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/
Drootfs.c100 .read = &rootfs_read,
/DragonOS-0.1.2/docs/kernel/filesystem/vfs/
Doverview.md7   与VFS相关的系统调用有open(), read(), write(), create()等。
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c121 .read = &devfs_read,
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c305 .read = &procfs_read,
/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c835 .read = fat32_read,