/linux/fs/xfs/scrub/ |
H A D | inode.c | 298 !S_ISREG(mode)) in xchk_inode_flags() 334 if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) in xchk_inode_flags2() 338 if ((flags2 & XFS_DIFLAG2_REFLINK) && !S_ISREG(mode)) in xchk_inode_flags2() 471 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 475 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode() 499 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 788 if (S_ISREG(VFS_I(sc->ip)->i_mode)) in xchk_inode()
|
/linux/fs/ext2/ |
H A D | ioctl.c | 91 && 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 D | inode.c | 718 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) in ext2_get_blocks() 1253 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in ext2_truncate_blocks() 1268 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in ext2_setsize() 1362 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags() 1444 if (S_ISREG(inode->i_mode)) in ext2_iget() 1465 if (S_ISREG(inode->i_mode)) { in ext2_iget() 1555 if (!S_ISREG(inode->i_mode)) in __ext2_write_inode()
|
/linux/fs/hfs/ |
H A D | attr.c | 30 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()
|
/linux/fs/reiserfs/ |
H A D | ioctl.c | 51 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 D | file.c | 39 BUG_ON(!S_ISREG(inode->i_mode)); in reiserfs_file_release() 156 BUG_ON(!S_ISREG(inode->i_mode)); in reiserfs_sync_file()
|
/linux/fs/ |
H A D | ioctl.c | 625 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() 825 if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) || in do_vfs_ioctl() 860 if (!S_ISREG(inode->i_mode)) in do_vfs_ioctl() 885 if (S_ISREG(inode->i_mode)) in do_vfs_ioctl()
|
H A D | remap_range.c | 297 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in __generic_remap_file_range_prep() 515 if (!S_ISREG(src->i_mode)) in vfs_dedupe_file_range()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 421 if (S_ISREG(mode) && whichfork == XFS_DATA_FORK) in xfs_dinode_verify_fork() 749 if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_extsize() 752 if (hint_flag && !S_ISREG(mode)) in xfs_inode_validate_extsize() 809 if (hint_flag && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_cowextsize()
|
/linux/fs/9p/ |
H A D | cache.c | 57 if (!S_ISREG(inode->i_mode)) in v9fs_cache_inode_get_cookie()
|
/linux/tools/perf/util/ |
H A D | path.c | 55 return S_ISREG(st.st_mode); in is_regular_file()
|
/linux/scripts/dtc/ |
H A D | fstree.c | 36 if (S_ISREG(st.st_mode)) { in read_fstree()
|
/linux/include/uapi/linux/ |
H A D | stat.h | 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | stat.h | 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
|
/linux/tools/include/uapi/linux/ |
H A D | stat.h | 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
|
/linux/fs/ext4/ |
H A D | ext4_jbd2.c | 15 if (!S_ISREG(inode->i_mode) || in ext4_inode_journal_mode() 21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
|
H A D | fsync.c | 108 if (!S_ISREG(inode->i_mode)) in ext4_fsync_journal()
|
/linux/fs/overlayfs/ |
H A D | util.c | 400 if (WARN_ON(!S_ISREG(inode->i_mode))) in ovl_inode_lowerdata() 420 return inode && S_ISREG(inode->i_mode) ? in ovl_lowerdata_redirect() 509 if (!S_ISREG(inode->i_mode)) in ovl_should_check_upperdata() 1246 if (!S_ISREG(d_inode(path->dentry)->i_mode)) in ovl_check_metacopy_xattr() 1400 !S_ISREG(d_inode(metapath->dentry)->i_mode)) in ovl_validate_verity() 1448 if (!ofs->config.verity_mode || !S_ISREG(d_inode(src->dentry)->i_mode)) in ovl_get_verity_digest()
|
H A D | copy_up.c | 648 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data() 674 (S_ISREG(c->stat.mode) || S_ISDIR(c->stat.mode))) { in ovl_copy_up_metadata() 717 if (S_ISREG(c->stat.mode)) in ovl_copy_up_metadata() 999 if (S_ISREG(c->stat.mode) && ofs->tmpfile) in ovl_do_copy_up() 1042 if (!S_ISREG(mode)) in ovl_need_meta_copy_up() 1172 (S_ISREG(ctx.stat.mode) || S_ISDIR(ctx.stat.mode)); in ovl_copy_up_one()
|
/linux/fs/ceph/ |
H A D | cache.c | 25 if (!S_ISREG(inode->i_mode)) in ceph_fscache_register_inode_cookie()
|
/linux/security/integrity/ima/ |
H A D | ima_main.c | 198 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_file_free() 228 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in process_measurement() 706 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_post_create_tmpfile() 738 if (!ima_policy_flag || !S_ISREG(inode->i_mode)) in ima_post_path_mknod()
|
/linux/fs/hfsplus/ |
H A D | dir.c | 121 if (S_ISREG(inode->i_mode)) in hfsplus_lookup() 235 if (S_ISREG(mode)) in hfsplus_readdir() 313 if (!S_ISREG(inode->i_mode)) in hfsplus_link()
|
/linux/fs/gfs2/ |
H A D | glops.c | 309 int isreg = ip && S_ISREG(ip->i_inode.i_mode); in inode_go_sync() 382 if (ip && S_ISREG(ip->i_inode.i_mode)) in inode_go_inval() 460 if (S_ISREG(inode->i_mode)) in gfs2_dinode_in()
|
/linux/fs/erofs/ |
H A D | inode.c | 183 if (test_opt(&sbi->opt, DAX_ALWAYS) && S_ISREG(inode->i_mode) && in erofs_read_inode() 336 if ((request_mask & STATX_DIOALIGN) && S_ISREG(inode->i_mode)) { in erofs_getattr()
|
/linux/fs/nfs/ |
H A D | inode.c | 233 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) in nfs_zap_caches_locked() 491 if (S_ISREG(inode->i_mode)) { in nfs_fhget() 675 BUG_ON(!S_ISREG(inode->i_mode)); in nfs_setattr() 703 if (S_ISREG(inode->i_mode)) in nfs_setattr() 923 S_ISREG(inode->i_mode)) { in nfs_getattr() 1279 if (S_ISREG(inode->i_mode)) { in __nfs_revalidate_inode() 1363 if (S_ISREG(inode->i_mode)) { in nfs_invalidate_mapping() 1489 if (!S_ISREG(inode->i_mode)) in nfs_file_has_writers() 2376 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) in nfs_update_inode()
|