Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dstat.h18 unsigned short st_mode; member
35 mode_t st_mode; member
37 mode_t st_mode; member
63 unsigned int st_mode; /* File mode. */ member
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dstat.h15 unsigned short st_mode; member
30 unsigned short st_mode; member
57 unsigned int st_mode; member
83 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dstat.h12 mode_t st_mode; member
31 unsigned int st_mode; member
55 mode_t st_mode; member
79 unsigned int st_mode; member
/kernel/liteos_a/fs/vfs/operation/
Dvfs_other.c185 if (!S_ISDIR(statBuff.st_mode)) { in chdir()
191 if (VfsPermissionCheck(statBuff.st_uid, statBuff.st_gid, statBuff.st_mode, EXEC_OP)) { in chdir()
317 if (VfsPermissionCheck(buf.st_uid, buf.st_gid, buf.st_mode, amode)) { in access()
493 mode = stat64Info->st_mode >> (uint)(USER_MODE_SHIFT - i * UGO_NUMS); in PrintFileInfo64()
499 if (S_ISDIR(stat64Info->st_mode)) { in PrintFileInfo64()
501 } else if (S_ISLNK(stat64Info->st_mode)) { in PrintFileInfo64()
507 if (S_ISLNK(stat64Info->st_mode)) { in PrintFileInfo64()
526 mode = statInfo->st_mode >> (uint)(USER_MODE_SHIFT - i * UGO_NUMS); in PrintFileInfo()
532 if (S_ISDIR(statInfo->st_mode)) { in PrintFileInfo()
534 } else if (S_ISLNK(statInfo->st_mode)) { in PrintFileInfo()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dstat.h13 unsigned short st_mode; member
48 unsigned int st_mode; member
88 unsigned int st_mode; member
120 unsigned short st_mode; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dstat.h27 unsigned short st_mode; member
51 unsigned int st_mode; member
75 unsigned int st_mode; member
97 unsigned short st_mode; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm/asm/
Dstat.h24 unsigned short st_mode; member
38 unsigned short st_mode; member
60 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/sh/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
22 unsigned short st_mode; member
50 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/m68k/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
23 unsigned short st_mode; member
52 unsigned int st_mode; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dstat.h11 unsigned short st_mode; member
30 unsigned short st_mode; member
57 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/arm/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
29 unsigned short st_mode; member
63 unsigned int st_mode; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dstat.h28 mode_t st_mode; member
50 mode_t st_mode; member
73 mode_t st_mode; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dstat.h23 mode_t st_mode; member
58 mode_t st_mode; member
99 mode_t st_mode; member
/kernel/liteos_m/components/shell/src/cmds/
Dvfs_shellcmd.c201 if (S_ISDIR(statInfo.st_mode)) { in OsLs()
422 srcMode = statBuf.st_mode; in OsShellCmdDoCp()
424 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
439 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
534 if (S_ISREG(statInfo.st_mode) || S_ISLNK(statInfo.st_mode)) { in OsShellCmdDoRmdir()
635 if (!S_ISDIR(statInfo.st_mode)) { in OsRmFileOnly()
726 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
772 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
861 if ((S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) && dst[strlen(dst) - 1] == '/') { in OsShellCmdCp()
868 if (ret < 0 || S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) { in OsShellCmdCp()
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dstat.h8 unsigned int st_mode; member
33 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dstat.h14 unsigned int st_mode; member
36 unsigned int st_mode; member
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dstat.h20 unsigned int st_mode; member
41 unsigned int st_mode; /* File mode. */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dstat.h26 unsigned int st_mode; member
49 unsigned int st_mode; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dstat.h13 unsigned int st_mode; member
36 unsigned int st_mode; member
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dstat.h27 unsigned int st_mode; /* File mode. */ member
52 unsigned int st_mode; /* File mode. */ member
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dstat.h10 unsigned short st_mode; /* 16 bits */ member
49 unsigned int st_mode; member
/kernel/linux/linux-5.10/tools/perf/util/
Dpath.c80 return S_ISREG(st.st_mode); in is_regular_file()
93 return S_ISDIR(st.st_mode); in is_directory()
/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c625 src_mode = stat_buf.st_mode; in os_shell_cmd_do_cp()
628 if (S_ISDIR(stat_buf.st_mode)) { in os_shell_cmd_do_cp()
647 if (S_ISDIR(stat_buf.st_mode)) { in os_shell_cmd_do_cp()
749 if (S_ISREG(stat_info.st_mode) || S_ISLNK(stat_info.st_mode)) { in os_shell_cmd_do_rmdir()
927 if (ret == 0 && (S_ISREG(stat_buf.st_mode) || S_ISLNK(stat_buf.st_mode))) { in os_wildcard_extract_directory()
968 if (ret == 0 && (S_ISREG(stat_buf.st_mode) || S_ISLNK(stat_buf.st_mode))) { in os_wildcard_extract_directory()
1059 … if ((S_ISREG(stat_buf.st_mode) || S_ISLNK(stat_buf.st_mode)) && dst[strlen(dst) - 1] == '/') { in osShellCmdCp()
1066 if (ret < 0 || S_ISREG(stat_buf.st_mode) || S_ISLNK(stat_buf.st_mode)) { in osShellCmdCp()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/
Dposix_fs_full_test.c167 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT1);
239 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFDIR, POSIX_FS_IS_ERROR, EXIT1);
325 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
353 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
383 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFDIR, POSIX_FS_IS_ERROR, EXIT1);
420 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
430 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
/kernel/linux/linux-5.10/scripts/dtc/
Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()
53 } else if (S_ISDIR(st.st_mode)) { in read_fstree()

12345