Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 25 of 247) sorted by relevance

12345678910

/openbmc/qemu/tests/tcg/cris/libc/
H A Dcheck_openpf3.c37 || !S_ISREG (buf.st_mode)) in main()
41 || !S_ISREG (buf.st_mode)) in main()
H A Dcheck_stat3.c21 || !S_ISREG (buf.st_mode)) in main()
H A Dcheck_stat4.c23 || !S_ISREG (buf.st_mode)) in main()
/openbmc/linux/fs/xfs/scrub/
H A Dinode.c289 !S_ISREG(mode)) in xchk_inode_flags()
325 if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) in xchk_inode_flags2()
329 if ((flags2 & XFS_DIFLAG2_REFLINK) && !S_ISREG(mode)) in xchk_inode_flags2()
462 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
466 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode()
490 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
762 if (S_ISREG(VFS_I(sc->ip)->i_mode)) in xchk_inode()
/openbmc/linux/fs/ext2/
H A Dioctl.c91 && S_ISREG(inode->i_mode) in ext2_ioctl()
99 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl()
H A Dinode.c718 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) in ext2_get_blocks()
1255 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in ext2_truncate_blocks()
1270 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in ext2_setsize()
1364 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags()
1447 if (S_ISREG(inode->i_mode)) in ext2_iget()
1468 if (S_ISREG(inode->i_mode)) { in ext2_iget()
1558 if (!S_ISREG(inode->i_mode)) in __ext2_write_inode()
/openbmc/linux/fs/hfs/
H A Dattr.c30 if (!S_ISREG(inode->i_mode) || HFS_IS_RSRC(inode)) in __hfs_setxattr()
76 if (!S_ISREG(inode->i_mode) || HFS_IS_RSRC(inode)) in __hfs_getxattr()
/openbmc/linux/fs/reiserfs/
H A Dioctl.c51 if ((flags & REISERFS_NOTAIL_FL) && S_ISREG(inode->i_mode)) { in reiserfs_fileattr_set()
85 if (S_ISREG(inode->i_mode)) { in reiserfs_ioctl()
H A Dfile.c39 BUG_ON(!S_ISREG(inode->i_mode)); in reiserfs_file_release()
156 BUG_ON(!S_ISREG(inode->i_mode)); in reiserfs_sync_file()
/openbmc/qemu/bsd-user/
H A Dbsdload.c59 if (!S_ISREG(mode)) { /* Must be regular file */ in prepare_binprm()
139 S_ISREG(fin.st_mode) && (getuid() != 0 || in is_there()
/openbmc/linux/fs/
H A Dioctl.c625 if ((fa->fsx_xflags & FS_XFLAG_EXTSIZE) && !S_ISREG(inode->i_mode)) in fileattr_set_prepare()
633 !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) in fileattr_set_prepare()
641 !(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) in fileattr_set_prepare()
795 if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) || in do_vfs_ioctl()
830 if (!S_ISREG(inode->i_mode)) in do_vfs_ioctl()
849 if (S_ISREG(inode->i_mode)) in do_vfs_ioctl()
H A Dremap_range.c291 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in __generic_remap_file_range_prep()
517 if (!S_ISREG(src->i_mode)) in vfs_dedupe_file_range()
/openbmc/linux/fs/9p/
H A Dcache.c57 if (!S_ISREG(inode->i_mode)) in v9fs_cache_inode_get_cookie()
/openbmc/linux/scripts/dtc/
H A Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c51 if (S_ISREG(st.st_mode)) { in read_fstree()
/openbmc/linux/tools/perf/util/
H A Dpath.c55 return S_ISREG(st.st_mode); in is_regular_file()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c413 if (S_ISREG(mode) && whichfork == XFS_DATA_FORK) in xfs_dinode_verify_fork()
727 if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_extsize()
730 if (hint_flag && !S_ISREG(mode)) in xfs_inode_validate_extsize()
787 if (hint_flag && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_cowextsize()
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch28 if (S_ISREG (instat.st_mode))
91 assert (S_ISREG (mode));
/openbmc/linux/tools/include/uapi/linux/
H A Dstat.h22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/openbmc/linux/include/uapi/linux/
H A Dstat.h22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/openbmc/openbmc/meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils/
H A D0001-Do-not-get-generation-using-ioctl-when-evm_portable-.patch31 if (S_ISREG(st.st_mode) && !generation_str) {
/openbmc/linux/fs/overlayfs/
H A Dutil.c374 if (WARN_ON(!S_ISREG(inode->i_mode))) in ovl_inode_lowerdata()
394 return inode && S_ISREG(inode->i_mode) ? in ovl_lowerdata_redirect()
456 if (!S_ISREG(inode->i_mode)) in ovl_should_check_upperdata()
1129 if (!S_ISREG(d_inode(path->dentry)->i_mode)) in ovl_check_metacopy_xattr()
1283 !S_ISREG(d_inode(metapath->dentry)->i_mode)) in ovl_validate_verity()
1331 if (!ofs->config.verity_mode || !S_ISREG(d_inode(src->dentry)->i_mode)) in ovl_get_verity_digest()
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h255 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/openbmc/u-boot/include/linux/
H A Dstat.h23 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/
H A D0002-Replace-__S_IEXEC-with-S_IEXEC.patch42 if (!S_ISREG(st.st_mode))

12345678910