Searched refs:MIN_START_FD (Results 1 – 11 of 11) sorted by relevance
/kernel/uniproton/src/fs/vfs/ |
D | vfs_files.c | 32 return file - g_files + MIN_START_FD; in OsFileToFd() 37 if ((fd < MIN_START_FD) || (fd >= CONFIG_NFILE_DESCRIPTORS)) { in OsFdToFile() 40 return &g_files[fd - MIN_START_FD]; in OsFdToFile() 58 if ((fd < MIN_START_FD) || (fd >= CONFIG_NFILE_DESCRIPTORS)) { in OsVfsGetFileSpec() 61 if (g_files[fd - MIN_START_FD].fStatus == FILE_STATUS_NOT_USED) { in OsVfsGetFileSpec() 62 g_files[fd - MIN_START_FD].fStatus = FILE_STATUS_INITING; in OsVfsGetFileSpec() 63 return &g_files[fd - MIN_START_FD]; in OsVfsGetFileSpec()
|
D | vfs_config.h | 22 #define MIN_START_FD 3 macro
|
/kernel/liteos_m/components/fs/vfs/ |
D | vfs_files.c | 47 return file - g_files + MIN_START_FD; in FileToFd() 52 if ((fd < MIN_START_FD) || (fd >= CONFIG_NFILE_DESCRIPTORS)) { in FdToFile() 55 return &g_files[fd - MIN_START_FD]; in FdToFile() 74 if ((fd < MIN_START_FD) || (fd >= CONFIG_NFILE_DESCRIPTORS)) { in VfsFileGetSpec() 77 if (g_files[fd - MIN_START_FD].fStatus == FILE_STATUS_NOT_USED) { in VfsFileGetSpec() 78 g_files[fd - MIN_START_FD].fStatus = FILE_STATUS_INITING; in VfsFileGetSpec() 79 return &g_files[fd - MIN_START_FD]; in VfsFileGetSpec()
|
D | vfs_config.h | 37 #define MIN_START_FD 3 // 0,1,2 are used for stdin,stdout,stderr respectively macro 62 #define NR_OPEN_DEFAULT (CONFIG_NFILE_DESCRIPTORS - MIN_START_FD)
|
D | vfs_fs.c | 306 if ((fd < MIN_START_FD) || (fd >= CONFIG_NFILE_DESCRIPTORS)) { in VfsAttachFile() 581 if (fd >= MIN_START_FD && fd < CONFIG_NFILE_DESCRIPTORS) { in close() 625 if (fd >= MIN_START_FD && fd < CONFIG_NFILE_DESCRIPTORS) { in read() 657 if (fd >= MIN_START_FD && fd < CONFIG_NFILE_DESCRIPTORS) { in write()
|
/kernel/liteos_a/fs/vfs/operation/ |
D | vfs_procfd.c | 215 if (procFd >= MIN_START_FD) { in DisassociateProcessFd() 225 return AllocLowestProcessFd(MIN_START_FD); in AllocProcessFd() 237 if (minFd < MIN_START_FD) { in AllocLowestProcessFd() 238 minFd = MIN_START_FD; in AllocLowestProcessFd() 265 if (minFd < MIN_START_FD) { in AllocAndAssocProcessFd() 266 minFd = MIN_START_FD; in AllocAndAssocProcessFd()
|
/kernel/liteos_a/fs/include/ |
D | vfs_config.h | 92 #define MIN_START_FD 3 // 0,1,2 are used for stdin,stdout,stderr respectively macro
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | fd_proc.c | 61 for (fd = MIN_START_FD; fd < fdt->max_fds; fd++) { in FillFdInfo()
|
/kernel/liteos_a/syscall/ |
D | ipc_syscall.c | 51 int procFd = AllocAndAssocProcessFd((INTPTR)(id), MIN_START_FD); \
|
D | net_syscall.c | 55 int fd = AllocAndAssocProcessFd(s, MIN_START_FD); \
|
D | fs_syscall.c | 2751 procFd = AllocAndAssocProcessFd((INTPTR)(ret), MIN_START_FD); in DoEpollCreate1()
|