/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/ |
H A D | ioctl.c | 624 if ((fa->fsx_xflags & FS_XFLAG_EXTSIZE) && !S_ISREG(inode->i_mode)) in fileattr_set_prepare() 632 !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) in fileattr_set_prepare() 640 !(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) in fileattr_set_prepare() 824 if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) || in do_vfs_ioctl() 859 if (!S_ISREG(inode->i_mode)) in do_vfs_ioctl() 884 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()
|
H A D | open.c | 81 if (!S_ISREG(inode->i_mode)) in vfs_truncate() 168 if (!S_ISREG(inode->i_mode) || !(file->f_mode & FMODE_WRITE)) in do_ftruncate() 313 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in vfs_fallocate() 491 if ((mode & MAY_EXEC) && S_ISREG(inode->i_mode)) { in do_faccessat() 919 if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode)) in do_dentry_open()
|
H A D | kernel_read_file.c | 48 if (!S_ISREG(file_inode(file)->i_mode)) in kernel_read_file()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 428 if (S_ISREG(mode) && whichfork == XFS_DATA_FORK) in xfs_dinode_verify_fork() 522 if (!S_ISDIR(mode) && !S_ISREG(mode)) in xfs_dinode_verify_metadir() 829 if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) in xfs_inode_validate_extsize() 832 if (hint_flag && !S_ISREG(mode)) in xfs_inode_validate_extsize() 889 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/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/ceph/ |
H A D | cache.c | 25 if (!S_ISREG(inode->i_mode)) in ceph_fscache_register_inode_cookie()
|
/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/nilfs2/ |
H A D | inode.c | 328 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { in nilfs_new_inode() 413 if (nilfs_is_metadata_file_inode(inode) && !S_ISREG(inode->i_mode)) in nilfs_read_inode_common() 422 ii->i_dir_acl = S_ISREG(inode->i_mode) ? in nilfs_read_inode_common() 428 if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in nilfs_read_inode_common() 459 if (S_ISREG(inode->i_mode)) { in __nilfs_read_inode()
|
/linux/fs/ext4/ |
H A D | fsync.c | 108 if (!S_ISREG(inode->i_mode)) in ext4_fsync_journal()
|
/linux/fs/nfs/ |
H A D | inode.c | 236 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) in nfs_zap_caches_locked() 494 if (S_ISREG(inode->i_mode)) { in nfs_fhget() 690 BUG_ON(!S_ISREG(inode->i_mode)); in nfs_setattr() 719 if (S_ISREG(inode->i_mode)) in nfs_setattr() 939 S_ISREG(inode->i_mode)) { in nfs_getattr() 1295 if (S_ISREG(inode->i_mode)) { in __nfs_revalidate_inode() 1379 if (S_ISREG(inode->i_mode)) { in nfs_invalidate_mapping() 1512 if (!S_ISREG(inode->i_mode)) in nfs_file_has_writers() 2400 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) in nfs_update_inode()
|
H A D | nfs4file.c | 225 if (!S_ISREG(inode->i_mode)) in nfs42_fallocate() 340 if (!S_ISREG(fattr->mode)) { in __nfs42_ssc_open()
|
/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() 337 if ((request_mask & STATX_DIOALIGN) && S_ISREG(inode->i_mode)) { in erofs_getattr()
|
/linux/security/integrity/evm/ |
H A D | evm_main.c | 444 if (!evm_key_loaded() || !S_ISREG(inode->i_mode) || evm_fixmode) in evm_verify_current_integrity() 1084 if (!S_ISREG(inode->i_mode) || !(mode & FMODE_WRITE)) in evm_file_release() 1097 if (!S_ISREG(inode->i_mode)) in evm_post_path_mknod()
|
/linux/fs/jfs/ |
H A D | file.c | 59 if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE && in jfs_open()
|
/linux/tools/include/nolibc/ |
H A D | types.h | 41 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
|