Home
last modified time | relevance | path

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

12345678

/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()
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 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()
/linux/fs/
H A Dioctl.c624 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 Dremap_range.c297 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 Dopen.c81 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 Dkernel_read_file.c48 if (!S_ISREG(file_inode(file)->i_mode)) in kernel_read_file()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c428 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 Dcache.c57 if (!S_ISREG(inode->i_mode)) in v9fs_cache_inode_get_cookie()
/linux/tools/perf/util/
H A Dpath.c55 return S_ISREG(st.st_mode); in is_regular_file()
/linux/scripts/dtc/
H A Dfstree.c36 if (S_ISREG(st.st_mode)) { in read_fstree()
/linux/include/uapi/linux/
H A Dstat.h22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/linux/tools/include/uapi/linux/
H A Dstat.h22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/linux/security/integrity/ima/
H A Dima_main.c198 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 Dcache.c25 if (!S_ISREG(inode->i_mode)) in ceph_fscache_register_inode_cookie()
/linux/fs/hfsplus/
H A Ddir.c121 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 Dinode.c328 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 Dfsync.c108 if (!S_ISREG(inode->i_mode)) in ext4_fsync_journal()
/linux/fs/nfs/
H A Dinode.c236 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 Dnfs4file.c225 if (!S_ISREG(inode->i_mode)) in nfs42_fallocate()
340 if (!S_ISREG(fattr->mode)) { in __nfs42_ssc_open()
/linux/fs/erofs/
H A Dinode.c183 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 Devm_main.c444 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 Dfile.c59 if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE && in jfs_open()
/linux/tools/include/nolibc/
H A Dtypes.h41 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro

12345678