Home
last modified time | relevance | path

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

1234567

/openbmc/linux/arch/powerpc/include/uapi/asm/
H A 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
/openbmc/linux/arch/s390/include/uapi/asm/
H A 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
/openbmc/linux/arch/sparc/include/uapi/asm/
H A 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
/openbmc/linux/tools/perf/util/
H A Dpath.c55 return S_ISREG(st.st_mode); in is_regular_file()
68 return S_ISDIR(st.st_mode); in is_directory()
80 return !S_ISDIR(st.st_mode) && (st.st_mode & S_IXUSR); in is_executable_file()
/openbmc/linux/arch/x86/include/uapi/asm/
H A 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
/openbmc/linux/arch/sh/include/uapi/asm/
H A Dstat.h8 unsigned short st_mode; member
22 unsigned short st_mode; member
50 unsigned int st_mode; member
/openbmc/linux/arch/m68k/include/uapi/asm/
H A Dstat.h8 unsigned short st_mode; member
23 unsigned short st_mode; member
52 unsigned int st_mode; member
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dstat.h8 unsigned short st_mode; member
29 unsigned short st_mode; member
63 unsigned int st_mode; member
/openbmc/u-boot/include/linux/
H A Dstat.h50 mode_t st_mode; /* ownership/protection */ member
77 unsigned short st_mode; member
104 mode_t st_mode; member
134 unsigned short st_mode; member
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dstat.h23 __kernel_mode_t st_mode; member
58 __kernel_mode_t st_mode; member
99 __kernel_mode_t st_mode; member
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsstatesig.py605 if stat.S_ISDIR(s.st_mode):
607 elif stat.S_ISCHR(s.st_mode):
609 elif stat.S_ISBLK(s.st_mode):
611 elif stat.S_ISSOCK(s.st_mode):
613 elif stat.S_ISLNK(s.st_mode):
615 elif stat.S_ISFIFO(s.st_mode):
621 if mask & s.st_mode:
628 if stat.S_ISUID & s.st_mode:
637 if stat.S_ISGID & s.st_mode:
644 if stat.S_ISVTX & s.st_mode:
[all …]
H A Dcachedpath.py64 if not statmod.S_ISLNK(lst.st_mode):
81 return statmod.S_ISREG(st.st_mode)
91 return statmod.S_ISDIR(st.st_mode)
98 return statmod.S_ISLNK(st.st_mode)
/openbmc/qemu/linux-user/
H A Dsyscall_defs.h1243 abi_ushort st_mode; member
1273 abi_uint st_mode; member
1306 abi_uint st_mode; member
1337 abi_uint st_mode; member
1359 abi_uint st_mode; member
1391 abi_ushort st_mode; member
1415 abi_uint st_mode; member
1453 abi_uint st_mode; member
1455 abi_uint st_mode; member
1482 abi_uint st_mode; member
[all …]
/openbmc/qemu/block/export/
H A Dfuse.c62 mode_t st_mode; member
187 exp->st_mode = S_IFREG | S_IRUSR; in fuse_export_create()
189 exp->st_mode |= S_IWUSR; in fuse_export_create()
369 if (!S_ISREG(statbuf.st_mode)) { in is_regular_file()
429 .st_mode = exp->st_mode, in fuse_getattr()
520 (statbuf->st_mode & (S_IRWXG | S_IRWXO)) != 0) in fuse_setattr()
528 (statbuf->st_mode & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in fuse_setattr()
550 exp->st_mode = (statbuf->st_mode & 07777) | S_IFREG; in fuse_setattr()
/openbmc/linux/tools/testing/selftests/drivers/sdsi/
H A 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
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dstat.h8 unsigned int st_mode; member
33 unsigned int st_mode; member
/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dstat.h14 unsigned int st_mode; member
36 unsigned int st_mode; member
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dstat.h20 unsigned int st_mode; member
41 unsigned int st_mode; /* File mode. */ member
/openbmc/linux/include/uapi/asm-generic/
H A Dstat.h27 unsigned int st_mode; /* File mode. */ member
52 unsigned int st_mode; /* File mode. */ member
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dstat.h10 unsigned short st_mode; /* 16 bits */ member
49 unsigned int st_mode; member
/openbmc/qemu/bsd-user/freebsd/
H A Dos-stat.c37 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd11_stat()
73 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd_stat()
116 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd11_nstat()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch77 } else switch (e->sb.st_mode & S_IFMT) {
81 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
83 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
92 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
94 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
103 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
105 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
114 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
116 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
125 - e->sb.st_mode & ~S_IFMT, e->sb.st_size, wrote,
[all …]
/openbmc/qemu/bsd-user/
H A Dbsdload.c58 mode = st.st_mode; in prepare_binprm()
139 S_ISREG(fin.st_mode) && (getuid() != 0 || in is_there()
140 (fin.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)) { in is_there()
/openbmc/qemu/tests/qtest/
H A Dvirtio-9p-test.c525 g_assert((st.st_mode & S_IFMT) == S_IFDIR); in fs_create_dir()
544 g_assert((st.st_mode & S_IFMT) == S_IFDIR); in fs_unlinkat_dir()
568 g_assert((st.st_mode & S_IFMT) == S_IFREG); in fs_create_file()
585 g_assert((st.st_mode & S_IFMT) == S_IFREG); in fs_unlinkat_file()
604 g_assert((st.st_mode & S_IFMT) == S_IFREG); in fs_symlink_file()
628 g_assert((st.st_mode & S_IFMT) == S_IFREG); in fs_unlinkat_symlink()
653 g_assert((st_real.st_mode & S_IFMT) == S_IFREG); in fs_hardlink_file()
663 g_assert((st_link.st_mode & S_IFMT) == S_IFREG); in fs_hardlink_file()
681 g_assert((st_real.st_mode & S_IFMT) == S_IFREG); in fs_unlinkat_hardlink()
715 g_assert((st_file.st_mode & S_IFMT) == S_IFREG); in fs_use_after_unlink()
/openbmc/linux/scripts/dtc/
H A Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()
53 } else if (S_ISDIR(st.st_mode)) { in read_fstree()

1234567