Home
last modified time | relevance | path

Searched refs:statBuf (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_m/components/shell/src/cmds/
Dvfs_shellcmd.c394 struct stat statBuf; in OsShellCmdDoCp() local
417 ret = stat(srcFullPath, &statBuf); in OsShellCmdDoCp()
422 srcMode = statBuf.st_mode; in OsShellCmdDoCp()
424 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
436 ret = stat(drcFullPath, &statBuf); in OsShellCmdDoCp()
439 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
700 struct stat statBuf; in OsWildcardExtractDirectory() local
709 ret = stat(fullpath, &statBuf); in OsWildcardExtractDirectory()
710 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
751 ret = stat(src, &statBuf); in OsWildcardExtractDirectory()
[all …]
/kernel/liteos_a/fs/proc/os_adapt/
Dmounts_proc.c41 static int ShowType(const char *devPoint, const char *mountPoint, struct statfs *statBuf, void *arg) in ShowType() argument
46 switch (statBuf->f_type) { in ShowType()
/kernel/liteos_a/shell/full/src/cmds/
Ddate_shellcmd.c231 struct stat statBuf = {0}; in OsViewFileTime() local
244 if (stat(fullpath, &statBuf) != 0) { in OsViewFileTime()
249 PRINTK("%s\n", ctime_r(&(statBuf.st_mtim.tv_sec), buf)); in OsViewFileTime()
/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_common.c131 static int IsLogPartMounted(const char *devPoint, const char *mountPoint, struct statfs *statBuf, v… in IsLogPartMounted() argument
134 (void)statBuf; in IsLogPartMounted()