| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yportenv.h | 220 #ifndef S_IFMT 221 #define S_IFMT 0170000 macro 252 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) 253 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 254 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 255 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 256 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 258 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | stat.h | 9 #define S_IFMT 00170000 macro 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
| H A D | gfs2_ondisk.h | 223 #define DT2IF(dt) (((dt) << 12) & S_IFMT) 224 #define IF2DT(sif) (((sif) & S_IFMT) >> 12)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | stat.h | 9 #define S_IFMT 00170000 macro 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
| H A D | gfs2_ondisk.h | 223 #define DT2IF(dt) (((dt) << 12) & S_IFMT) 224 #define IF2DT(sif) (((sif) & S_IFMT) >> 12)
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | stat.h | 9 #define S_IFMT 00170000 macro 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
| H A D | gfs2_ondisk.h | 229 #define DT2IF(dt) (((dt) << 12) & S_IFMT) 230 #define IF2DT(sif) (((sif) & S_IFMT) >> 12)
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | stat.h | 9 #define S_IFMT 00170000 macro 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | stat.h | 10 #define S_IFMT 00170000 /* type of file */ macro 22 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 23 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 24 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 26 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 27 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/makedevs/makedevs/ |
| H A D | makedevs.c | 243 chmod(path, mode & ~S_IFMT); in add_new_directory() 268 if ((mode & S_IFMT) != (sb.st_mode & S_IFMT)) { in add_new_device() 272 path, (sb.st_mode & S_IFMT), (mode & S_IFMT)); in add_new_device() 276 …intf(stderr, " -- applying new mode 04%lo (old was 04%o)\n", mode & ~S_IFMT, sb.st_mode & ~S_IFMT); in add_new_device() 278 chmod(path, mode & ~S_IFMT); in add_new_device()
|
| /OK3568_Linux_fs/buildroot/package/exim/ |
| H A D | 0005-exim_lock-fix-lstat-related-build-errors.patch | 15 exim_lock.c:427:30: error: 'S_IFMT' undeclared (first use in this function) 16 if ((statbuf.st_mode & S_IFMT) == S_IFLNK) 20 if ((statbuf.st_mode & S_IFMT) == S_IFLNK)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
| H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 77 } 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fs_types.h | 30 #define S_DT(mode) (((mode) & S_IFMT) >> S_DT_SHIFT) 31 #define S_DT_MASK (S_IFMT >> S_DT_SHIFT)
|
| /OK3568_Linux_fs/kernel/samples/vfs/ |
| H A D | test-statx.c | 90 switch (stx->stx_mode & S_IFMT) { in dump_statx() 99 printf(" unknown type (%o)\n", stx->stx_mode & S_IFMT); in dump_statx() 113 switch (stx->stx_mode & S_IFMT) { in dump_statx()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | system.h | 607 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 612 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 617 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 622 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 628 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) 637 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | system.h | 607 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 612 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 617 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 622 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 628 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) 637 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | profiler.inc.h | 20 #define S_IFMT 00170000 macro 31 #define S_ISLNK(m) (((m)&S_IFMT) == S_IFLNK) 32 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) 33 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) 34 #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) 35 #define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO) 36 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK)
|
| /OK3568_Linux_fs/kernel/fs/erofs/ |
| H A D | inode.c | 95 switch (inode->i_mode & S_IFMT) { in erofs_read_inode() 135 switch (inode->i_mode & S_IFMT) { in erofs_read_inode() 252 switch (inode->i_mode & S_IFMT) { in erofs_fill_inode()
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | namei.c | 388 upperdentry, d_inode(upperdentry)->i_mode & S_IFMT, in ovl_check_origin_fh() 389 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh() 603 index, d_inode(index)->i_mode & S_IFMT, err); in ovl_verify_index() 608 index, d_inode(index)->i_mode & S_IFMT, in ovl_verify_index() 737 index, d_inode(index)->i_mode & S_IFMT, in ovl_lookup_index() 738 d_inode(origin)->i_mode & S_IFMT); in ovl_lookup_index()
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | nfsproc.c | 317 type = attr->ia_mode & S_IFMT; in nfsd_proc_create() 318 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create() 323 type = inode->i_mode & S_IFMT; in nfsd_proc_create() 349 type = inode->i_mode & S_IFMT; in nfsd_proc_create() 350 mode = inode->i_mode & ~S_IFMT; in nfsd_proc_create()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/klibc/files/ |
| H A D | 0001-mkfifo-Implement-mkfifo.patch | 22 + return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/ |
| H A D | Add_ARG_MAX_define.patch | 28 #define isdir(d) ((d.st_mode & S_IFMT) == S_IFDIR)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/erofs-utils/erofs-utils/ |
| H A D | 0001-fsck-main.c-add-missing-include.patch | 6 Otherwise musl C library builds fail with missing S_IFMT/S_IFDIR
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | libsox_i.c | 52 if (!name || stat(name, &st) || (st.st_mode & S_IFMT) != S_IFDIR) in check_dir()
|
| /OK3568_Linux_fs/kernel/security/tomoyo/ |
| H A D | tomoyo.c | 220 switch (mode & S_IFMT) { in tomoyo_path_mknod() 232 switch (mode & S_IFMT) { in tomoyo_path_mknod()
|