Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/alpha/include/uapi/asm/
Dstat.h8 unsigned int st_mode; member
33 unsigned int st_mode; member
/linux-6.1.9/arch/ia64/include/uapi/asm/
Dstat.h14 unsigned int st_mode; member
36 unsigned int st_mode; member
/linux-6.1.9/arch/xtensa/include/uapi/asm/
Dstat.h20 unsigned int st_mode; member
41 unsigned int st_mode; /* File mode. */ member
/linux-6.1.9/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-6.1.9/include/uapi/asm-generic/
Dstat.h27 unsigned int st_mode; /* File mode. */ member
52 unsigned int st_mode; /* File mode. */ member
/linux-6.1.9/arch/parisc/include/uapi/asm/
Dstat.h10 unsigned short st_mode; /* 16 bits */ member
49 unsigned int st_mode; member
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/sparc/include/asm/
Dcompat.h35 compat_mode_t st_mode; member
57 unsigned int st_mode; member
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/arm64/include/asm/
Dstat.h25 compat_uint_t st_mode; member
/linux-6.1.9/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-6.1.9/arch/x86/include/asm/
Dia32.h36 unsigned int st_mode; member
/linux-6.1.9/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