Home
last modified time | relevance | path

Searched refs:MIN_START_FD (Results 1 – 11 of 11) sorted by relevance

/kernel/uniproton/src/fs/vfs/
Dvfs_files.c32 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()
Dvfs_config.h22 #define MIN_START_FD 3 macro
/kernel/liteos_m/components/fs/vfs/
Dvfs_files.c47 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()
Dvfs_config.h37 #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)
Dvfs_fs.c306 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/
Dvfs_procfd.c215 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/
Dvfs_config.h92 #define MIN_START_FD 3 // 0,1,2 are used for stdin,stdout,stderr respectively macro
/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c61 for (fd = MIN_START_FD; fd < fdt->max_fds; fd++) { in FillFdInfo()
/kernel/liteos_a/syscall/
Dipc_syscall.c51 int procFd = AllocAndAssocProcessFd((INTPTR)(id), MIN_START_FD); \
Dnet_syscall.c55 int fd = AllocAndAssocProcessFd(s, MIN_START_FD); \
Dfs_syscall.c2751 procFd = AllocAndAssocProcessFd((INTPTR)(ret), MIN_START_FD); in DoEpollCreate1()