Home
last modified time | relevance | path

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

1234

/Linux-v6.1/arch/powerpc/include/uapi/asm/
Dstat.h18 unsigned short st_mode; member
35 __kernel_mode_t st_mode; member
37 __kernel_mode_t st_mode; member
63 unsigned int st_mode; /* File mode. */ member
/Linux-v6.1/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
/Linux-v6.1/arch/sparc/include/uapi/asm/
Dstat.h12 __kernel_mode_t st_mode; member
31 unsigned int st_mode; member
55 __kernel_mode_t st_mode; member
79 unsigned int st_mode; member
/Linux-v6.1/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()
105 return !S_ISDIR(st.st_mode) && (st.st_mode & S_IXUSR); in is_executable_file()
/Linux-v6.1/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
/Linux-v6.1/arch/sh/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
22 unsigned short st_mode; member
50 unsigned int st_mode; member
/Linux-v6.1/arch/m68k/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
23 unsigned short st_mode; member
52 unsigned int st_mode; member
/Linux-v6.1/arch/arm/include/uapi/asm/
Dstat.h8 unsigned short st_mode; member
29 unsigned short st_mode; member
63 unsigned int st_mode; member
/Linux-v6.1/arch/mips/include/uapi/asm/
Dstat.h23 __kernel_mode_t st_mode; member
58 __kernel_mode_t st_mode; member
99 __kernel_mode_t st_mode; member
/Linux-v6.1/arch/alpha/include/uapi/asm/
Dstat.h8 unsigned int st_mode; member
33 unsigned int st_mode; member
/Linux-v6.1/arch/ia64/include/uapi/asm/
Dstat.h14 unsigned int st_mode; member
36 unsigned int st_mode; member
/Linux-v6.1/tools/testing/selftests/drivers/sdsi/
Dsdsi_test.py67 mode = os.stat(folder + "guid").st_mode & 0o777
69 mode = os.stat(folder + "registers").st_mode & 0o777
71 mode = os.stat(folder + "provision_akc").st_mode & 0o777
73 mode = os.stat(folder + "provision_cap").st_mode & 0o777
75 mode = os.stat(folder + "state_certificate").st_mode & 0o777
/Linux-v6.1/arch/xtensa/include/uapi/asm/
Dstat.h20 unsigned int st_mode; member
41 unsigned int st_mode; /* File mode. */ member
/Linux-v6.1/include/uapi/asm-generic/
Dstat.h27 unsigned int st_mode; /* File mode. */ member
52 unsigned int st_mode; /* File mode. */ member
/Linux-v6.1/arch/parisc/include/uapi/asm/
Dstat.h10 unsigned short st_mode; /* 16 bits */ member
49 unsigned int st_mode; member
/Linux-v6.1/scripts/dtc/
Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()
53 } else if (S_ISDIR(st.st_mode)) { in read_fstree()
/Linux-v6.1/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()
/Linux-v6.1/tools/power/acpi/os_specific/service_layers/
Dosunixdir.c131 if ((S_ISDIR(temp_stat.st_mode) in acpi_os_get_next_filename()
134 || ((!S_ISDIR(temp_stat.st_mode) in acpi_os_get_next_filename()
/Linux-v6.1/arch/sparc/include/asm/
Dcompat.h35 compat_mode_t st_mode; member
57 unsigned int st_mode; member
/Linux-v6.1/tools/power/cpupower/lib/
Dcpuidle.c292 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()
296 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()
299 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in cpuidle_state_count()
/Linux-v6.1/tools/power/cpupower/utils/helpers/
Dsysfs.c362 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count()
366 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count()
369 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in sysfs_get_idlestate_count()
/Linux-v6.1/arch/arm64/include/asm/
Dstat.h25 compat_uint_t st_mode; member
/Linux-v6.1/tools/testing/selftests/ia64/
Daliasing-test.c100 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_tree()
189 if (r == 0 && S_ISDIR(buf.st_mode)) { in scan_rom()
/Linux-v6.1/arch/x86/include/asm/
Dia32.h36 unsigned int st_mode; member
/Linux-v6.1/tools/io_uring/
Dio_uring-cp.c53 if (S_ISREG(st.st_mode)) { in get_file_size()
56 } else if (S_ISBLK(st.st_mode)) { in get_file_size()

1234