Home
last modified time | relevance | path

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

1234

/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/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/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-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()
710 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
752 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
841 if ((S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) && dst[strlen(dst) - 1] == '/') { in OsShellCmdCp()
848 if (ret < 0 || S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) { in OsShellCmdCp()
/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()
519 mode = statInfo->st_mode >> (uint)(USER_MODE_SHIFT - i * UGO_NUMS); in PrintFileInfo()
525 if (S_ISDIR(statInfo->st_mode)) { in PrintFileInfo()
527 } else if (S_ISLNK(statInfo->st_mode)) { in PrintFileInfo()
637 if (statInfo.st_mode & S_IFDIR) { /* list all directory and file */ in ls()
/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/linux/linux-5.10/tools/testing/selftests/memfd/
Dfuse_mnt.c32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
35 st->st_mode = S_IFREG | 0444; in memfd_getattr()
/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()
/kernel/uniproton/src/fs/
Dfs.c172 if ((st.st_mode & S_IFDIR) || (st.st_mode & S_IFREG)) { in access()
175 if ((mode & W_OK) && !(st.st_mode & S_IWRITE)) { in access()

1234