S_ISREG 360 arch/s390/hypfs/inode.c if (S_ISREG(mode)) { S_ISREG 675 drivers/block/loop.c if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) S_ISREG 6840 drivers/md/md.c if (!S_ISREG(inode->i_mode)) { S_ISREG 2862 drivers/staging/exfat/exfat_super.c if (S_ISREG(i_mode) || S_ISLNK(i_mode)) S_ISREG 208 drivers/usb/gadget/function/storage_common.c if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { S_ISREG 107 fs/9p/cache.c if (!S_ISREG(inode->i_mode)) S_ISREG 1180 fs/9p/vfs_inode.c if ((S_ISREG(inode->i_mode)) || (S_ISDIR(inode->i_mode))) { S_ISREG 568 fs/9p/vfs_inode_dotl.c if (S_ISREG(inode->i_mode)) S_ISREG 275 fs/adfs/inode.c } else if (S_ISREG(inode->i_mode)) { S_ISREG 583 fs/afs/inode.c if (S_ISREG(vnode->vfs_inode.i_mode)) S_ISREG 838 fs/afs/inode.c if (S_ISREG(vnode->vfs_inode.i_mode)) S_ISREG 1436 fs/aio.c if (S_ISREG(inode->i_mode)) S_ISREG 1579 fs/aio.c if (S_ISREG(file_inode(file)->i_mode)) { S_ISREG 393 fs/befs/linuxvfs.c if (S_ISREG(inode->i_mode)) { S_ISREG 5394 fs/btrfs/inode.c if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { S_ISREG 6404 fs/btrfs/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 6551 fs/btrfs/inode.c if (S_ISREG(mode)) { S_ISREG 7110 fs/btrfs/inode.c if (!S_ISREG(inode->vfs_inode.i_mode)) { S_ISREG 9985 fs/btrfs/inode.c if (new_inode && S_ISREG(old_inode->i_mode) && new_inode->i_size) S_ISREG 10638 fs/btrfs/inode.c (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) { S_ISREG 99 fs/btrfs/ioctl.c else if (S_ISREG(inode->i_mode)) S_ISREG 248 fs/btrfs/ioctl.c if (S_ISREG(inode->i_mode)) { S_ISREG 264 fs/btrfs/ioctl.c if (S_ISREG(inode->i_mode)) { S_ISREG 2137 fs/btrfs/relocation.c if (!S_ISREG(inode->i_mode)) S_ISREG 331 fs/btrfs/send.c S_ISREG(sctx->cur_inode_mode)); S_ISREG 2613 fs/btrfs/send.c if (S_ISREG(mode)) { S_ISREG 5966 fs/btrfs/send.c if (S_ISREG(sctx->cur_inode_mode)) { S_ISREG 504 fs/btrfs/tree-log.c if (S_ISREG(btrfs_inode_mode(eb, src_item)) && S_ISREG 505 fs/btrfs/tree-log.c S_ISREG(btrfs_inode_mode(dst_eb, dst_item)) && S_ISREG 2608 fs/btrfs/tree-log.c if (S_ISREG(mode)) { S_ISREG 5459 fs/btrfs/tree-log.c if (S_ISREG(inode->vfs_inode.i_mode) && S_ISREG 6053 fs/btrfs/tree-log.c if (S_ISREG(inode->vfs_inode.i_mode) && S_ISREG 414 fs/cachefiles/rdwr.c ASSERT(S_ISREG(inode->i_mode)); S_ISREG 713 fs/cachefiles/rdwr.c ASSERT(S_ISREG(inode->i_mode)); S_ISREG 148 fs/ceph/cache.c if (!S_ISREG(inode->i_mode)) S_ISREG 1801 fs/ceph/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 412 fs/ceph/xattr.c else if (S_ISREG(inode->i_mode)) S_ISREG 994 fs/cifs/cifsfs.c if (!(S_ISREG(inode->i_mode))) S_ISREG 6038 fs/cifs/cifssmb.c if (S_ISREG(mode)) S_ISREG 271 fs/cifs/dir.c if (!S_ISREG(newinode->i_mode)) { S_ISREG 4692 fs/cifs/file.c if (inode && S_ISREG(inode->i_mode)) { S_ISREG 1921 fs/cifs/inode.c S_ISREG(inode->i_mode) && inode->i_nlink != 1) S_ISREG 170 fs/cifs/link.c if (!S_ISREG(fattr->cf_mode)) S_ISREG 30 fs/coda/cnode.c if (S_ISREG(inode->i_mode)) { S_ISREG 172 fs/coda/coda_linux.c } else if ( S_ISREG(mode) ) { S_ISREG 276 fs/coda/file.c if (!(S_ISREG(coda_inode->i_mode) || S_ISDIR(coda_inode->i_mode) || S_ISREG 1044 fs/compat_ioctl.c if (S_ISREG(file_inode(f.file)->i_mode)) S_ISREG 766 fs/coredump.c if (!S_ISREG(inode->i_mode)) S_ISREG 58 fs/crypto/keysetup.c if (S_ISREG(inode->i_mode)) S_ISREG 414 fs/crypto/policy.c if (!S_ISREG(child->i_mode) && !S_ISDIR(child->i_mode) && S_ISREG 1905 fs/dcache.c if (unlikely(!S_ISREG(inode->i_mode))) S_ISREG 383 fs/debugfs/inode.c BUG_ON(!S_ISREG(mode)); S_ISREG 360 fs/ecryptfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 144 fs/exec.c if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 862 fs/exec.c if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 903 fs/exec.c if (!S_ISREG(file_inode(file)->i_mode) || max_size < 0) S_ISREG 275 fs/ext2/ext2.h else if (S_ISREG(mode)) S_ISREG 717 fs/ext2/inode.c if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) S_ISREG 1274 fs/ext2/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 1289 fs/ext2/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 1387 fs/ext2/inode.c if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) S_ISREG 1472 fs/ext2/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 1493 fs/ext2/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 1589 fs/ext2/inode.c if (!S_ISREG(inode->i_mode)) S_ISREG 109 fs/ext2/ioctl.c && S_ISREG(inode->i_mode) S_ISREG 117 fs/ext2/ioctl.c if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) S_ISREG 890 fs/ext4/balloc.c if (S_ISREG(inode->i_mode)) S_ISREG 451 fs/ext4/ext4.h else if (S_ISREG(mode)) S_ISREG 2920 fs/ext4/ext4.h S_ISREG(le16_to_cpu(raw_inode->i_mode))) S_ISREG 2989 fs/ext4/ext4.h WARN_ON_ONCE(S_ISREG(inode->i_mode) && S_ISREG 409 fs/ext4/ext4_jbd2.h if (!S_ISREG(inode->i_mode) || S_ISREG 414 fs/ext4/ext4_jbd2.h if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) S_ISREG 453 fs/ext4/ext4_jbd2.h if (!S_ISREG(inode->i_mode)) S_ISREG 4456 fs/ext4/extents.c if (S_ISREG(inode->i_mode)) S_ISREG 4712 fs/ext4/extents.c if (!S_ISREG(inode->i_mode)) S_ISREG 5467 fs/ext4/extents.c if (!S_ISREG(inode->i_mode)) S_ISREG 5617 fs/ext4/extents.c if (!S_ISREG(inode->i_mode)) S_ISREG 773 fs/ext4/ialloc.c (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) && S_ISREG 1167 fs/ext4/ialloc.c if (S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode)) { S_ISREG 591 fs/ext4/indirect.c if (S_ISREG(inode->i_mode)) S_ISREG 444 fs/ext4/inline.c S_ISREG(inode->i_mode) || S_ISLNK(inode->i_mode)) { S_ISREG 230 fs/ext4/inode.c (S_ISLNK(inode->i_mode) || S_ISREG(inode->i_mode)) && S_ISREG 1249 fs/ext4/inode.c } else if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) { S_ISREG 3872 fs/ext4/inode.c if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) S_ISREG 4058 fs/ext4/inode.c if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) { S_ISREG 4183 fs/ext4/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 4272 fs/ext4/inode.c if (!S_ISREG(inode->i_mode)) S_ISREG 4720 fs/ext4/inode.c if (!S_ISREG(inode->i_mode)) S_ISREG 5066 fs/ext4/inode.c if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 5078 fs/ext4/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 5622 fs/ext4/inode.c if (!S_ISREG(inode->i_mode)) S_ISREG 133 fs/ext4/ioctl.c if (inode->i_nlink != 1 || !S_ISREG(inode->i_mode) || S_ISREG 365 fs/ext4/ioctl.c if (S_ISREG(inode->i_mode) && !IS_IMMUTABLE(inode) && S_ISREG 830 fs/ext4/ioctl.c if (S_ISREG(inode->i_mode)) S_ISREG 3657 fs/ext4/mballoc.c BUG_ON(!S_ISREG(ac->ac_inode->i_mode)); S_ISREG 3750 fs/ext4/mballoc.c BUG_ON(!S_ISREG(ac->ac_inode->i_mode)); S_ISREG 4021 fs/ext4/mballoc.c if (!S_ISREG(inode->i_mode)) { S_ISREG 580 fs/ext4/move_extent.c if (!S_ISREG(orig_inode->i_mode) || !S_ISREG(donor_inode->i_mode)) { S_ISREG 2929 fs/ext4/namei.c J_ASSERT((S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 477 fs/ext4/page-io.c if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode) && nr_to_submit) { S_ISREG 199 fs/ext4/readpage.c if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) S_ISREG 4798 fs/ext4/super.c if (!S_ISREG(journal_inode->i_mode)) { S_ISREG 1004 fs/f2fs/checkpoint.c if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && S_ISREG 1023 fs/f2fs/checkpoint.c if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && S_ISREG 49 fs/f2fs/data.c (S_ISREG(inode->i_mode) && S_ISREG 2404 fs/f2fs/data.c if (!S_ISREG(inode->i_mode)) S_ISREG 3131 fs/f2fs/data.c if (!S_ISREG(inode->i_mode)) S_ISREG 1896 fs/f2fs/f2fs.h if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && S_ISREG 2397 fs/f2fs/f2fs.h else if (S_ISREG(mode)) S_ISREG 2786 fs/f2fs/f2fs.h return S_ISREG(inode->i_mode); S_ISREG 3574 fs/f2fs/f2fs.h return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); S_ISREG 3687 fs/f2fs/f2fs.h return (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)); S_ISREG 157 fs/f2fs/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 678 fs/f2fs/file.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 739 fs/f2fs/file.c if ((S_ISREG(inode->i_mode) && f2fs_has_inline_data(inode)) || S_ISREG 1586 fs/f2fs/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 1848 fs/f2fs/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 1956 fs/f2fs/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 2532 fs/f2fs/file.c if (!S_ISREG(inode->i_mode) || f2fs_is_atomic_file(inode)) S_ISREG 2585 fs/f2fs/file.c if (!S_ISREG(src->i_mode) || !S_ISREG(dst->i_mode)) S_ISREG 3034 fs/f2fs/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 1091 fs/f2fs/gc.c if (S_ISREG(inode->i_mode)) { S_ISREG 20 fs/f2fs/inline.c if (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode)) S_ISREG 713 fs/f2fs/inline.c if ((S_ISREG(inode->i_mode) || S_ISLNK(inode->i_mode)) && S_ISREG 275 fs/f2fs/inode.c (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode))) { S_ISREG 327 fs/f2fs/inode.c else if (S_ISREG(inode->i_mode)) S_ISREG 332 fs/f2fs/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 381 fs/f2fs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 450 fs/f2fs/inode.c } else if (S_ISREG(inode->i_mode)) { S_ISREG 538 fs/f2fs/inode.c else if (S_ISREG(inode->i_mode)) S_ISREG 1180 fs/f2fs/node.c if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 286 fs/fat/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 433 fs/fat/file.c if (S_ISREG(inode->i_mode)) S_ISREG 303 fs/freevxfs/vxfs_inode.c if (S_ISREG(ip->i_mode)) { S_ISREG 319 fs/fuse/dir.c return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || S_ISREG 485 fs/fuse/dir.c if (!S_ISREG(outentry.attr.mode) || invalid_nodeid(outentry.nodeid) || S_ISREG 891 fs/fuse/dir.c if (fc->writeback_cache && S_ISREG(inode->i_mode)) { S_ISREG 938 fs/fuse/dir.c if (file && S_ISREG(inode->i_mode)) { S_ISREG 1165 fs/fuse/dir.c ((mask & MAY_EXEC) && S_ISREG(inode->i_mode))) { S_ISREG 1197 fs/fuse/dir.c } else if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) { S_ISREG 1503 fs/fuse/dir.c bool trust_local_cmtime = is_wb && S_ISREG(inode->i_mode); S_ISREG 1530 fs/fuse/dir.c if (WARN_ON(!S_ISREG(inode->i_mode))) S_ISREG 1536 fs/fuse/dir.c if (is_wb && S_ISREG(inode->i_mode) && S_ISREG 1597 fs/fuse/dir.c if (!is_wb || is_truncate || !S_ISREG(inode->i_mode)) S_ISREG 1611 fs/fuse/dir.c S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { S_ISREG 118 fs/fuse/inode.c if (S_ISREG(inode->i_mode) && !is_bad_inode(inode)) { S_ISREG 166 fs/fuse/inode.c if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) { S_ISREG 215 fs/fuse/inode.c if (!is_wb || !S_ISREG(inode->i_mode)) S_ISREG 219 fs/fuse/inode.c if (!is_wb && S_ISREG(inode->i_mode)) { S_ISREG 253 fs/fuse/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 300 fs/fuse/inode.c if (!fc->writeback_cache || !S_ISREG(attr->mode)) S_ISREG 2179 fs/gfs2/bmap.c BUG_ON(!S_ISREG(inode->i_mode)); S_ISREG 612 fs/gfs2/file.c if (S_ISREG(inode->i_mode)) { S_ISREG 650 fs/gfs2/file.c if (S_ISREG(ip->i_inode.i_mode)) { S_ISREG 267 fs/gfs2/glops.c int isreg = ip && S_ISREG(ip->i_inode.i_mode); S_ISREG 338 fs/gfs2/glops.c if (ip && S_ISREG(ip->i_inode.i_mode)) S_ISREG 412 fs/gfs2/glops.c if (S_ISREG(ip->i_inode.i_mode)) S_ISREG 82 fs/gfs2/inode.c if (S_ISREG(mode)) { S_ISREG 614 fs/gfs2/inode.c inode = gfs2_dir_search(dir, &dentry->d_name, !S_ISREG(mode) || excl); S_ISREG 625 fs/gfs2/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 864 fs/gfs2/inode.c if (file && S_ISREG(inode->i_mode)) S_ISREG 30 fs/hfs/attr.c if (!S_ISREG(inode->i_mode) || HFS_IS_RSRC(inode)) S_ISREG 76 fs/hfs/attr.c if (!S_ISREG(inode->i_mode) || HFS_IS_RSRC(inode)) S_ISREG 211 fs/hfs/inode.c } else if (S_ISREG(mode)) { S_ISREG 255 fs/hfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 97 fs/hfsplus/catalog.c if (S_ISREG(inode->i_mode)) S_ISREG 121 fs/hfsplus/dir.c if (S_ISREG(inode->i_mode)) S_ISREG 235 fs/hfsplus/dir.c if (S_ISREG(mode)) S_ISREG 313 fs/hfsplus/dir.c if (!S_ISREG(inode->i_mode)) S_ISREG 406 fs/hfsplus/inode.c } else if (S_ISREG(inode->i_mode)) { S_ISREG 437 fs/hfsplus/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 530 fs/hfsplus/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 270 fs/hfsplus/xattr.c if ((!S_ISREG(inode->i_mode) && S_ISREG 500 fs/hfsplus/xattr.c if ((!S_ISREG(inode->i_mode) && S_ISREG 686 fs/hfsplus/xattr.c if ((!S_ISREG(inode->i_mode) && S_ISREG 224 fs/hpfs/inode.c if (S_ISREG(i->i_mode)) { S_ISREG 768 fs/hugetlbfs/inode.c if (S_ISREG(mode) || S_ISLNK(mode)) { S_ISREG 1791 fs/inode.c if (unlikely(kill && !capable(CAP_FSETID) && S_ISREG(mode))) S_ISREG 1850 fs/inode.c if (IS_NOSEC(inode) || !S_ISREG(inode->i_mode)) S_ISREG 2293 fs/inode.c if ((fa->fsx_xflags & FS_XFLAG_EXTSIZE) && !S_ISREG(inode->i_mode)) S_ISREG 2301 fs/inode.c !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) S_ISREG 2309 fs/inode.c !(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) S_ISREG 1069 fs/io_uring.c if (S_ISREG(mode) && file->f_op != &io_uring_fops) S_ISREG 1087 fs/io_uring.c if (S_ISREG(file_inode(req->file)->i_mode)) S_ISREG 660 fs/ioctl.c if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) || S_ISREG 696 fs/ioctl.c if (S_ISREG(inode->i_mode)) S_ISREG 1463 fs/isofs/inode.c if (S_ISREG(inode->i_mode) && sbi->s_overriderockperm && S_ISREG 1468 fs/isofs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 59 fs/jfs/file.c if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE && S_ISREG 41 fs/jfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 536 fs/jfs/jfs_extent.c if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) { S_ISREG 3088 fs/jfs/jfs_imap.c } else if (S_ISREG(ip->i_mode) || S_ISLNK(ip->i_mode)) { S_ISREG 1998 fs/locks.c if (!S_ISREG(inode->i_mode)) S_ISREG 440 fs/minix/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 642 fs/minix/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))) S_ISREG 408 fs/namei.c if (sb_rdonly(sb) && (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) S_ISREG 949 fs/namei.c if (!S_ISREG(mode)) S_ISREG 1025 fs/namei.c (!sysctl_protected_regular && S_ISREG(inode->i_mode)) || S_ISREG 1034 fs/namei.c (sysctl_protected_regular >= 2 && S_ISREG(inode->i_mode))))) { S_ISREG 3328 fs/namei.c !S_ISREG(file_inode(file)->i_mode)) S_ISREG 1508 fs/nfs/dir.c if (S_ISREG(file->f_path.dentry->d_inode->i_mode)) S_ISREG 1663 fs/nfs/dir.c if (!S_ISREG(inode->i_mode)) S_ISREG 2480 fs/nfs/dir.c } else if (S_ISREG(umode)) { S_ISREG 253 fs/nfs/fscache.c if (!(nfss->fscache && S_ISREG(inode->i_mode))) S_ISREG 232 fs/nfs/inode.c if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { S_ISREG 468 fs/nfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 598 fs/nfs/inode.c BUG_ON(!S_ISREG(inode->i_mode)); S_ISREG 616 fs/nfs/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 795 fs/nfs/inode.c S_ISREG(inode->i_mode)) { S_ISREG 1134 fs/nfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 1220 fs/nfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 1340 fs/nfs/inode.c if (!S_ISREG(inode->i_mode)) S_ISREG 2049 fs/nfs/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) S_ISREG 180 fs/nfs/nfs4file.c if (!S_ISREG(inode->i_mode)) S_ISREG 472 fs/nfs/nfs4proc.c if (inode != NULL && S_ISREG(inode->i_mode)) S_ISREG 1520 fs/nfs/write.c if (unlikely(kill && S_ISREG(mode))) S_ISREG 365 fs/nfsd/export.c !S_ISREG(inode->i_mode)) S_ISREG 546 fs/nfsd/filecache.c if (!S_ISREG(inode->i_mode)) { S_ISREG 202 fs/nfsd/nfs4proc.c if (S_ISREG(mode)) S_ISREG 1051 fs/nfsd/nfs4proc.c if (!S_ISREG(file_inode((*src)->nf_file)->i_mode) || S_ISREG 1052 fs/nfsd/nfs4proc.c !S_ISREG(file_inode((*dst)->nf_file)->i_mode)) { S_ISREG 577 fs/nfsd/vfs.c if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 732 fs/nfsd/vfs.c if (S_ISREG((inode)->i_mode) && mandatory_lock(inode)) S_ISREG 1640 fs/nfsd/vfs.c if (inode && S_ISREG(inode->i_mode)) S_ISREG 1650 fs/nfsd/vfs.c if (inode && S_ISREG(inode->i_mode)) S_ISREG 2087 fs/nfsd/vfs.c if (err == -EACCES && S_ISREG(inode->i_mode) && S_ISREG 363 fs/nilfs2/inode.c if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { S_ISREG 456 fs/nilfs2/inode.c ii->i_dir_acl = S_ISREG(inode->i_mode) ? S_ISREG 462 fs/nilfs2/inode.c if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 493 fs/nilfs2/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 224 fs/nilfs2/nilfs.h else if (S_ISREG(mode)) S_ISREG 927 fs/ntfs/aops.c is_mft = (S_ISREG(vi->i_mode) && !vi->i_ino); S_ISREG 1147 fs/ntfs/inode.c if (S_ISREG(vi->i_mode) && (NInoCompressed(ni) || NInoSparse(ni))) S_ISREG 2267 fs/ntfs/mft.c if (!S_ISREG(mode) && !S_ISDIR(mode)) S_ISREG 351 fs/ocfs2/dlmfs/dlmfs.c if (S_ISREG(inode->i_mode)) { S_ISREG 3918 fs/ocfs2/dlmglue.c if (!S_ISREG(inode->i_mode)) S_ISREG 1154 fs/ocfs2/file.c size_change = S_ISREG(inode->i_mode) && attr->ia_valid & ATTR_SIZE; S_ISREG 2010 fs/ocfs2/file.c if (!S_ISREG(inode->i_mode)) S_ISREG 1000 fs/ocfs2/move_extents.c if ((!S_ISREG(inode->i_mode)) || !(filp->f_mode & FMODE_WRITE)) { S_ISREG 482 fs/ocfs2/ocfs2.h if (!S_ISREG(inode->i_mode)) S_ISREG 4381 fs/ocfs2/refcounttree.c if (!S_ISREG(inode->i_mode)) S_ISREG 122 fs/omfs/inode.c else if (S_ISREG(inode->i_mode)) S_ISREG 194 fs/omfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 79 fs/open.c if (!S_ISREG(inode->i_mode)) S_ISREG 177 fs/open.c if (!S_ISREG(inode->i_mode) || !(f.file->f_mode & FMODE_WRITE)) S_ISREG 298 fs/open.c if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) S_ISREG 404 fs/open.c if ((mode & MAY_EXEC) && S_ISREG(inode->i_mode)) { S_ISREG 757 fs/open.c if (unlikely(f->f_flags & FMODE_EXEC && !S_ISREG(inode->i_mode))) { S_ISREG 775 fs/open.c if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode)) S_ISREG 447 fs/overlayfs/copy_up.c if (S_ISREG(c->stat.mode) && !c->metacopy) { S_ISREG 690 fs/overlayfs/copy_up.c if (S_ISREG(c->stat.mode) && ofs->tmpfile) S_ISREG 728 fs/overlayfs/copy_up.c if (!S_ISREG(mode)) S_ISREG 251 fs/overlayfs/util.c if (WARN_ON(!S_ISREG(inode->i_mode))) S_ISREG 327 fs/overlayfs/util.c if (!S_ISREG(inode->i_mode)) S_ISREG 843 fs/overlayfs/util.c if (!S_ISREG(d_inode(dentry)->i_mode)) S_ISREG 526 fs/proc/generic.c if (WARN_ON_ONCE(!S_ISREG(mode))) S_ISREG 474 fs/proc/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 818 fs/proc/proc_sysctl.c if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) S_ISREG 313 fs/qnx4/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 579 fs/qnx6/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 2318 fs/quota/dquot.c if (!S_ISREG(inode->i_mode)) { S_ISREG 1963 fs/read_write.c if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) S_ISREG 2168 fs/read_write.c if (!S_ISREG(src->i_mode)) S_ISREG 1139 fs/reiserfs/bitmap.c if (S_ISREG(hint->inode->i_mode) && !IS_PRIVATE(hint->inode) S_ISREG 39 fs/reiserfs/file.c BUG_ON(!S_ISREG(inode->i_mode)); S_ISREG 162 fs/reiserfs/file.c BUG_ON(!S_ISREG(inode->i_mode)); S_ISREG 1357 fs/reiserfs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 33 fs/reiserfs/ioctl.c if (S_ISREG(inode->i_mode)) { S_ISREG 83 fs/reiserfs/ioctl.c S_ISREG(inode->i_mode)) { S_ISREG 1881 fs/reiserfs/stree.c (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) S_ISREG 908 fs/splice.c if (unlikely(!S_ISREG(i_mode) && !S_ISBLK(i_mode))) S_ISREG 282 fs/sync.c if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && S_ISREG 155 fs/sysv/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 375 fs/sysv/itree.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 399 fs/tracefs/inode.c BUG_ON(!S_ISREG(mode)); S_ISREG 1072 fs/ubifs/debug.c if (!S_ISREG(inode->i_mode)) S_ISREG 142 fs/ubifs/dir.c if (S_ISREG(mode)) S_ISREG 1606 fs/ubifs/dir.c if (S_ISREG(inode->i_mode)) { S_ISREG 1520 fs/ubifs/journal.c ubifs_assert(c, S_ISREG(inode->i_mode)); S_ISREG 77 fs/ubifs/super.c if (ui->xattr && !S_ISREG(inode->i_mode)) S_ISREG 3485 fs/ubifs/tnc.c if (!S_ISREG(inode->i_mode)) S_ISREG 882 fs/udf/inode.c if (S_ISREG(inode->i_mode)) S_ISREG 1231 fs/udf/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 1846 fs/udf/inode.c else if (S_ISREG(inode->i_mode)) S_ISREG 538 fs/ufs/inode.c if (S_ISREG(inode->i_mode)) { S_ISREG 857 fs/ufs/inode.c (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 1191 fs/ufs/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 341 fs/verity/enable.c if (!S_ISREG(inode->i_mode)) S_ISREG 127 fs/xattr.c if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) S_ISREG 840 fs/xfs/libxfs/xfs_bmap.c ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK)); S_ISREG 942 fs/xfs/libxfs/xfs_ialloc.c needspace = S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode); S_ISREG 389 fs/xfs/libxfs/xfs_inode_buf.c if (S_ISREG(be16_to_cpu(dip->di_mode))) S_ISREG 750 fs/xfs/libxfs/xfs_inode_buf.c if ((hint_flag || inherit_flag) && !(S_ISDIR(mode) || S_ISREG(mode))) S_ISREG 753 fs/xfs/libxfs/xfs_inode_buf.c if (hint_flag && !S_ISREG(mode)) S_ISREG 803 fs/xfs/libxfs/xfs_inode_buf.c if (hint_flag && !(S_ISDIR(mode) || S_ISREG(mode))) S_ISREG 46 fs/xfs/scrub/bmap.c if (S_ISREG(VFS_I(sc->ip)->i_mode) && S_ISREG 142 fs/xfs/scrub/inode.c !S_ISREG(mode)) S_ISREG 178 fs/xfs/scrub/inode.c if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) S_ISREG 182 fs/xfs/scrub/inode.c if ((flags2 & XFS_DIFLAG2_REFLINK) && !S_ISREG(mode)) S_ISREG 282 fs/xfs/scrub/inode.c if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) S_ISREG 286 fs/xfs/scrub/inode.c if (!S_ISREG(mode) && !S_ISDIR(mode)) S_ISREG 313 fs/xfs/scrub/inode.c if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) S_ISREG 583 fs/xfs/scrub/inode.c if (S_ISREG(VFS_I(sc->ip)->i_mode)) S_ISREG 742 fs/xfs/xfs_bmap_util.c if (!S_ISREG(VFS_I(ip)->i_mode)) S_ISREG 811 fs/xfs/xfs_file.c if (!S_ISREG(inode->i_mode)) S_ISREG 311 fs/xfs/xfs_filestream.c ASSERT(S_ISREG(VFS_I(ip)->i_mode)); S_ISREG 877 fs/xfs/xfs_inode.c } else if (S_ISREG(mode)) { S_ISREG 1600 fs/xfs/xfs_inode.c if (!S_ISREG(VFS_I(ip)->i_mode) || (VFS_I(ip)->i_mode == 0)) S_ISREG 1854 fs/xfs/xfs_inode.c if (S_ISREG(VFS_I(ip)->i_mode) && S_ISREG 2746 fs/xfs/xfs_inode.c ASSERT(ip->i_d.di_size == 0 || !S_ISREG(VFS_I(ip)->i_mode)); S_ISREG 3793 fs/xfs/xfs_inode.c if (S_ISREG(VFS_I(ip)->i_mode)) { S_ISREG 94 fs/xfs/xfs_inode.h if (S_ISREG(VFS_I(ip)->i_mode)) S_ISREG 86 fs/xfs/xfs_ioctl.c if (!S_ISREG(inode->i_mode) && S_ISREG 203 fs/xfs/xfs_ioctl.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { S_ISREG 246 fs/xfs/xfs_ioctl.c if (S_ISREG(inode->i_mode)) { S_ISREG 609 fs/xfs/xfs_ioctl.c if (!S_ISREG(inode->i_mode)) S_ISREG 1188 fs/xfs/xfs_ioctl.c } else if (S_ISREG(VFS_I(ip)->i_mode)) { S_ISREG 1316 fs/xfs/xfs_ioctl.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) S_ISREG 1434 fs/xfs/xfs_ioctl.c if (S_ISREG(VFS_I(ip)->i_mode) && ip->i_d.di_nextents && S_ISREG 840 fs/xfs/xfs_iops.c ASSERT(S_ISREG(inode->i_mode)); S_ISREG 1217 fs/xfs/xfs_iops.c if (!S_ISREG(VFS_I(ip)->i_mode) || xfs_is_reflink_inode(ip)) S_ISREG 3036 fs/xfs/xfs_log_recover.c if (unlikely(S_ISREG(ldip->di_mode))) { S_ISREG 2726 include/linux/fs.h if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISREG 2888 include/linux/fs.h if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 2895 include/linux/fs.h if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 2902 include/linux/fs.h if (!S_ISREG(file_inode(file)->i_mode)) S_ISREG 268 init/initramfs.c if (S_ISREG(mode) || !body_len) S_ISREG 329 init/initramfs.c if (S_ISREG(mode)) { S_ISREG 250 ipc/mqueue.c if (S_ISREG(mode)) { S_ISREG 213 kernel/acct.c if (!S_ISREG(file_inode(file)->i_mode)) { S_ISREG 9468 kernel/events/core.c !S_ISREG(d_inode(filter->path.dentry) S_ISREG 1831 kernel/sys.c if (!S_ISREG(inode->i_mode) || path_noexec(&exe.file->f_path)) S_ISREG 3058 mm/filemap.c if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) S_ISREG 1356 mm/mmap.c if (S_ISREG(inode->i_mode)) S_ISREG 595 mm/readahead.c !S_ISREG(file_inode(f.file)->i_mode)) S_ISREG 1028 mm/shmem.c if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { S_ISREG 3756 mm/shmem.c if (S_ISREG(inode->i_mode)) S_ISREG 2891 mm/swapfile.c } else if (S_ISREG(inode->i_mode)) { S_ISREG 2988 mm/swapfile.c if (swap_header->info.nr_badpages && S_ISREG(inode->i_mode)) S_ISREG 243 mm/truncate.c if (!S_ISREG(mapping->host->i_mode)) S_ISREG 142 scripts/dtc/dtc.c if (!S_ISREG(statbuf.st_mode)) S_ISREG 36 scripts/dtc/fstree.c if (S_ISREG(st.st_mode)) { S_ISREG 181 scripts/recordmcount.c if (!S_ISREG(sb.st_mode)) { S_ISREG 98 scripts/sortextable.c if (!S_ISREG(sb.st_mode)) { S_ISREG 295 security/integrity/evm/evm_main.c if (!evm_key_loaded() || !S_ISREG(inode->i_mode) || evm_fixmode) S_ISREG 462 security/integrity/ima/ima_appraise.c if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode) S_ISREG 497 security/integrity/ima/ima_appraise.c if (!(ima_policy_flag & IMA_APPRAISE) || !S_ISREG(inode->i_mode)) S_ISREG 182 security/integrity/ima/ima_main.c if (!ima_policy_flag || !S_ISREG(inode->i_mode)) S_ISREG 210 security/integrity/ima/ima_main.c if (!ima_policy_flag || !S_ISREG(inode->i_mode)) S_ISREG 961 tools/bpf/bpf_dbg.c if (!S_ISREG(sb.st_mode)) { S_ISREG 137 tools/bpf/bpf_jit_disasm.c if (ret < 0 || !S_ISREG(fi.st_mode)) S_ISREG 236 tools/io_uring/io_uring-bench.c } else if (S_ISREG(st.st_mode)) { S_ISREG 53 tools/io_uring/io_uring-cp.c if (S_ISREG(st.st_mode)) { S_ISREG 141 tools/lib/subcmd/help.c !S_ISREG(st.st_mode)) S_ISREG 394 tools/perf/builtin-help.c || !S_ISREG(st.st_mode)) { S_ISREG 99 tools/perf/util/data.c if (!S_ISREG(st.st_mode) || strncmp(dent->d_name, "data", 4)) S_ISREG 80 tools/perf/util/path.c return S_ISREG(st.st_mode); S_ISREG 1053 tools/vm/page-types.c if (S_ISREG(st->st_mode)) S_ISREG 1074 tools/vm/page-types.c if (S_ISREG(st.st_mode)) {