Searched refs:PROC_MAX_FD_NUM (Results 1 – 5 of 5) sorted by relevance
8 #define PROC_MAX_FD_NUM 16 macro110 struct vfs_file_t *fds[PROC_MAX_FD_NUM];
718 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()
192 for (int i = 0; i < PROC_MAX_FD_NUM; ++i) in process_copy_files()
165 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()
551 if (fd_num < 0 || fd_num > PROC_MAX_FD_NUM) in vfs_close()