Home
last modified time | relevance | path

Searched refs:PROC_MAX_FD_NUM (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.2/kernel/src/process/
Dproc-types.h8 #define PROC_MAX_FD_NUM 16 macro
110 struct vfs_file_t *fds[PROC_MAX_FD_NUM];
Dprocess.c718 for (int i = 0; i < PROC_MAX_FD_NUM; ++i) in process_exit_files()
726 memset(pcb->fds, 0, sizeof(struct vfs_file_t *) * PROC_MAX_FD_NUM); in process_exit_files()
835 for (int i = 0; i < PROC_MAX_FD_NUM; ++i) in process_fd_alloc()
Dfork.c192 for (int i = 0; i < PROC_MAX_FD_NUM; ++i) in process_copy_files()
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c165 if (fd_num < 0 || fd_num > PROC_MAX_FD_NUM) in sys_read()
204 if (fd_num < 0 || fd_num > PROC_MAX_FD_NUM) in sys_write()
240 if (fd_num < 0 || fd_num > PROC_MAX_FD_NUM) in sys_lseek()
431 if (fd < 0 || fd > PROC_MAX_FD_NUM) in sys_getdents()
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.c551 if (fd_num < 0 || fd_num > PROC_MAX_FD_NUM) in vfs_close()