S_ISDIR 60 fs/9p/vfs_inode.c if (S_ISDIR(mode)) S_ISDIR 161 fs/adfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 296 fs/adfs/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 79 fs/afs/callback.c if (S_ISDIR(vnode->vfs_inode.i_mode)) S_ISDIR 687 fs/afs/fsclient.c *bp++ = htonl(S_ISDIR(mode) ? FSMAKEDIR : FSCREATEFILE); S_ISDIR 91 fs/afs/security.c if (S_ISDIR(vnode->vfs_inode.i_mode)) { S_ISDIR 235 fs/afs/security.c ASSERT(S_ISDIR(auth_vnode->vfs_inode.i_mode)); S_ISDIR 319 fs/afs/security.c mask, access, S_ISDIR(inode->i_mode) ? "dir" : "file"); S_ISDIR 321 fs/afs/security.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 79 fs/autofs/dirhash.c if (!S_ISDIR(dentry->d_inode->i_mode)||!d_mountpoint(dentry)) { S_ISDIR 127 fs/autofs/root.c if (S_ISDIR(dentry->d_inode->i_mode) && !d_mountpoint(dentry)) { S_ISDIR 176 fs/autofs/root.c if (S_ISDIR(dentry->d_inode->i_mode) && !d_mountpoint(dentry)) { S_ISDIR 463 fs/autofs4/inode.c if (S_ISDIR(inf->mode)) { S_ISDIR 297 fs/autofs4/root.c if (S_ISDIR(dentry->d_inode->i_mode) && S_ISDIR 398 fs/befs/linuxvfs.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 231 fs/bfs/dir.c if (S_ISDIR(old_inode->i_mode)) S_ISDIR 5173 fs/cifs/cifssmb.c else if (S_ISDIR(mode)) S_ISDIR 1848 fs/cifs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 294 fs/cifs/readdir.c } else if (S_ISDIR(tmp_inode->i_mode)) { S_ISDIR 426 fs/cifs/readdir.c } else if (S_ISDIR(tmp_inode->i_mode)) { S_ISDIR 106 fs/coda/cache.c if ( !inode || !S_ISDIR(inode->i_mode)) S_ISDIR 34 fs/coda/cnode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 157 fs/coda/coda_linux.c if ( S_ISDIR(mode) ) { S_ISDIR 410 fs/coda/dir.c if ( S_ISDIR(new_dentry->d_inode->i_mode) ) { S_ISDIR 208 fs/coda/file.c if (!(S_ISREG(coda_inode->i_mode) || S_ISDIR(coda_inode->i_mode) || S_ISDIR 183 fs/configfs/inode.c if (S_ISDIR(mode) || S_ISLNK(mode)) S_ISDIR 79 fs/cramfs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 277 fs/cramfs/inode.c if (!S_ISDIR(super.root.mode)) { S_ISDIR 301 fs/dcache.c if (dentry->d_inode && S_ISDIR(dentry->d_inode->i_mode)) { S_ISDIR 357 fs/dcache.c if (S_ISDIR(inode->i_mode) || !d_unhashed(alias)) { S_ISDIR 1198 fs/dcache.c if (inode && S_ISDIR(inode->i_mode)) { S_ISDIR 1284 fs/dcache.c if (!S_ISDIR(inode->i_mode)) { S_ISDIR 1525 fs/dcache.c isdir = S_ISDIR(dentry->d_inode->i_mode); S_ISDIR 1829 fs/dcache.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 488 fs/debugfs/inode.c old_dentry->d_name.name, S_ISDIR(old_dentry->d_inode->i_mode), S_ISDIR 47 fs/dnotify.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 80 fs/dnotify.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 214 fs/ecryptfs/file.c if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) { S_ISDIR 179 fs/ecryptfs/inode.c if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) { S_ISDIR 327 fs/ecryptfs/inode.c if (S_ISDIR(lower_inode->i_mode)) { S_ISDIR 863 fs/ecryptfs/inode.c if (S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 188 fs/ecryptfs/main.c else if (S_ISDIR(lower_inode->i_mode)) S_ISDIR 190 fs/ecryptfs/main.c if (S_ISDIR(lower_inode->i_mode)) S_ISDIR 259 fs/exportfs/expfs.c if (!dir || !S_ISDIR(dir->i_mode)) S_ISDIR 327 fs/exportfs/expfs.c if (connectable && !S_ISDIR(inode->i_mode)) { S_ISDIR 374 fs/exportfs/expfs.c if (S_ISDIR(result->d_inode->i_mode)) { S_ISDIR 250 fs/ext2/acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 327 fs/ext2/acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 129 fs/ext2/ialloc.c is_directory = S_ISDIR(inode->i_mode); S_ISDIR 460 fs/ext2/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 536 fs/ext2/ialloc.c if (S_ISDIR(mode)) S_ISDIR 541 fs/ext2/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 558 fs/ext2/ialloc.c if (S_ISDIR(mode)) S_ISDIR 572 fs/ext2/ialloc.c if (!S_ISDIR(mode)) S_ISDIR 489 fs/ext2/inode.c if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) S_ISDIR 1017 fs/ext2/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 1281 fs/ext2/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 53 fs/ext2/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 306 fs/ext2/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 1050 fs/ext2/super.c if (!S_ISDIR(root->i_mode) || !root->i_blocks || !root->i_size) { S_ISDIR 254 fs/ext3/acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 332 fs/ext3/acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 131 fs/ext3/ialloc.c is_directory = S_ISDIR(inode->i_mode); S_ISDIR 447 fs/ext3/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 529 fs/ext3/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 538 fs/ext3/ialloc.c if (S_ISDIR(mode)) S_ISDIR 547 fs/ext3/ialloc.c if (S_ISDIR(mode)) S_ISDIR 566 fs/ext3/ialloc.c if (!S_ISDIR(mode)) S_ISDIR 2287 fs/ext3/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 2809 fs/ext3/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 56 fs/ext3/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 1928 fs/ext3/namei.c J_ASSERT ((S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 2299 fs/ext3/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 1903 fs/ext3/super.c if (!S_ISDIR(root->i_mode) || !root->i_blocks || !root->i_size) { S_ISDIR 254 fs/ext4/acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 332 fs/ext4/acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 571 fs/ext4/balloc.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode) || S_ISDIR 1924 fs/ext4/extents.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) S_ISDIR 3022 fs/ext4/extents.c if (S_ISDIR(inode->i_mode)) S_ISDIR 203 fs/ext4/ialloc.c is_directory = S_ISDIR(inode->i_mode); S_ISDIR 618 fs/ext4/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 767 fs/ext4/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 777 fs/ext4/ialloc.c if (S_ISDIR(mode)) S_ISDIR 793 fs/ext4/ialloc.c if (S_ISDIR(mode)) S_ISDIR 818 fs/ext4/ialloc.c if (!S_ISDIR(mode)) S_ISDIR 852 fs/ext4/ialloc.c if (S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode)) { S_ISDIR 3624 fs/ext4/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 4142 fs/ext4/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 51 fs/ext4/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 1694 fs/ext4/namei.c if (S_ISDIR(inode->i_mode) && inode->i_nlink == 0) S_ISDIR 1959 fs/ext4/namei.c J_ASSERT((S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 2333 fs/ext4/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 2419 fs/ext4/super.c if (!S_ISDIR(root->i_mode) || !root->i_blocks || !root->i_size) { S_ISDIR 42 fs/fat/file.c int err, is_dir = S_ISDIR(inode->i_mode); S_ISDIR 587 fs/fat/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 119 fs/fat/misc.c if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) { S_ISDIR 320 fs/freevxfs/vxfs_inode.c } else if (S_ISDIR(ip->i_mode)) { S_ISDIR 233 fs/fuse/dir.c return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || S_ISDIR 338 fs/fuse/dir.c if (inode && S_ISDIR(inode->i_mode)) { S_ISDIR 526 fs/fuse/dir.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 196 fs/fuse/inode.c } else if (S_ISDIR(inode->i_mode)) S_ISDIR 621 fs/fuse/inode.c bool encode_parent = connectable && !S_ISDIR(inode->i_mode); S_ISDIR 108 fs/generic_acl.c if (!S_ISDIR(inode->i_mode)) { S_ISDIR 143 fs/generic_acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 81 fs/gfs2/acl.c if (!access && !S_ISDIR(ip->i_inode.i_mode)) S_ISDIR 232 fs/gfs2/acl.c if (S_ISDIR(ip->i_inode.i_mode)) { S_ISDIR 145 fs/gfs2/inode.c } else if (S_ISDIR(mode)) { S_ISDIR 695 fs/gfs2/inode.c if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) S_ISDIR 706 fs/gfs2/inode.c if (S_ISDIR(*mode)) S_ISDIR 715 fs/gfs2/inode.c if (S_ISDIR(*mode)) S_ISDIR 796 fs/gfs2/inode.c } else if (S_ISDIR(mode)) { S_ISDIR 802 fs/gfs2/inode.c di->di_payload_format = cpu_to_be32(S_ISDIR(mode) ? GFS2_FORMAT_DE : 0); S_ISDIR 1271 fs/gfs2/inode.c str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && S_ISDIR 39 fs/gfs2/inode.h return S_ISDIR(ip->i_inode.i_mode); S_ISDIR 89 fs/gfs2/ops_dentry.c if (inode && S_ISDIR(inode->i_mode)) { S_ISDIR 105 fs/gfs2/ops_export.c if (!S_ISDIR(dir->i_mode) || !inode) S_ISDIR 162 fs/gfs2/ops_file.c if (!S_ISDIR(inode->i_mode) && ip->i_di.di_flags & GFS2_DIF_JDATA) S_ISDIR 284 fs/gfs2/ops_file.c if (!S_ISDIR(inode->i_mode)) { S_ISDIR 156 fs/gfs2/ops_inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 679 fs/gfs2/ops_inode.c if (S_ISDIR(ip->i_inode.i_mode)) { S_ISDIR 728 fs/gfs2/ops_inode.c if (S_ISDIR(nip->i_inode.i_mode)) { S_ISDIR 765 fs/gfs2/ops_inode.c if (S_ISDIR(ip->i_inode.i_mode) && S_ISDIR 819 fs/gfs2/ops_inode.c if (S_ISDIR(nip->i_inode.i_mode)) S_ISDIR 499 fs/gfs2/ops_super.c if (S_ISDIR(inode->i_mode) && S_ISDIR 41 fs/hfs/catalog.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 98 fs/hfs/catalog.c entry_size = hfs_cat_build_thread(sb, &entry, S_ISDIR(inode->i_mode) ? S_ISDIR 165 fs/hfs/inode.c if (S_ISDIR(mode)) { S_ISDIR 207 fs/hfs/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 420 fs/hfs/inode.c if (S_ISDIR(main_inode->i_mode)) { S_ISDIR 580 fs/hfs/inode.c ((S_ISDIR(inode->i_mode) && S_ISDIR 592 fs/hfs/inode.c attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; S_ISDIR 89 fs/hfsplus/catalog.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 189 fs/hfsplus/catalog.c entry_size = hfsplus_fill_cat_thread(sb, &entry, S_ISDIR(inode->i_mode) ? S_ISDIR 327 fs/hfsplus/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 356 fs/hfsplus/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 489 fs/hfsplus/inode.c if (S_ISDIR(main_inode->i_mode)) { S_ISDIR 83 fs/hostfs/hostfs_user.c if (S_ISDIR(buf.st_mode)) S_ISDIR 908 fs/hpfs/dnode.c if (!S_ISDIR(inode->i_mode)) hpfs_error(inode->i_sb, "map_dirent: not a directory\n"); S_ISDIR 163 fs/hpfs/inode.c if ((i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0 : 0111)) S_ISDIR 164 fs/hpfs/inode.c | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG)) S_ISDIR 165 fs/hpfs/inode.c && i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0222 : 0333)) S_ISDIR 166 fs/hpfs/inode.c | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { S_ISDIR 230 fs/hpfs/inode.c } else if (S_ISDIR(i->i_mode)) { S_ISDIR 244 fs/hpfs/inode.c if (S_ISDIR(i->i_mode)) { S_ISDIR 576 fs/hpfs/namei.c if (new_inode && S_ISDIR(new_inode->i_mode)) { S_ISDIR 637 fs/hpfs/namei.c if (S_ISDIR(i->i_mode)) { S_ISDIR 675 fs/hppfs/hppfs.c if (S_ISDIR(dentry->d_inode->i_mode)) { S_ISDIR 551 fs/hugetlbfs/inode.c if (S_ISDIR(mode)) S_ISDIR 1202 fs/inode.c if ((inode->i_sb->s_flags & MS_NODIRATIME) && S_ISDIR(inode->i_mode)) S_ISDIR 1207 fs/inode.c if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) S_ISDIR 1283 fs/inode.c if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) S_ISDIR 451 fs/ioctl.c if (S_ISDIR(filp->f_path.dentry->d_inode->i_mode) || S_ISDIR 60 fs/isofs/export.c if (!S_ISDIR(child_inode->i_mode)) { S_ISDIR 158 fs/isofs/export.c if (connectable && !S_ISDIR(inode->i_mode)) { S_ISDIR 863 fs/isofs/inode.c if (!S_ISDIR(inode->i_mode)) { S_ISDIR 1364 fs/isofs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 281 fs/jffs2/acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 341 fs/jffs2/acl.c if (S_ISDIR(*i_mode)) S_ISDIR 275 fs/jffs2/dir.c if (S_ISDIR(old_dentry->d_inode->i_mode)) S_ISDIR 799 fs/jffs2/dir.c if (S_ISDIR(new_dentry->d_inode->i_mode)) { S_ISDIR 839 fs/jffs2/dir.c if (S_ISDIR(new_dentry->d_inode->i_mode)) S_ISDIR 849 fs/jffs2/dir.c if (S_ISDIR(old_dentry->d_inode->i_mode) && !victim_f) S_ISDIR 863 fs/jffs2/dir.c if (f->inocache && !S_ISDIR(old_dentry->d_inode->i_mode)) S_ISDIR 875 fs/jffs2/dir.c if (S_ISDIR(old_dentry->d_inode->i_mode)) S_ISDIR 447 fs/jffs2/fs.c if (S_ISDIR(mode)) S_ISDIR 621 fs/jffs2/write.c if (S_ISDIR(OFNI_EDONI_2SFFJ(dead_f)->i_mode)) { S_ISDIR 100 fs/jfs/acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 163 fs/jfs/acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 55 fs/jfs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 85 fs/jfs/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 688 fs/jfs/jfs_imap.c if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { S_ISDIR 3070 fs/jfs/jfs_imap.c if (S_ISDIR(ip->i_mode)) { S_ISDIR 3117 fs/jfs/jfs_imap.c if (S_ISDIR(ip->i_mode)) { S_ISDIR 87 fs/jfs/jfs_inode.c rc = diAlloc(parent, S_ISDIR(mode), inode); S_ISDIR 99 fs/jfs/jfs_inode.c if (S_ISDIR(mode)) S_ISDIR 126 fs/jfs/jfs_inode.c if (S_ISDIR(mode)) { S_ISDIR 606 fs/jfs/jfs_txnmgr.c if (S_ISDIR(ip->i_mode) && (type & tlckXTREE) && S_ISDIR 728 fs/jfs/jfs_txnmgr.c if (S_ISDIR(ip->i_mode)) S_ISDIR 1019 fs/jfs/jfs_txnmgr.c if (S_ISDIR(ip->i_mode)) S_ISDIR 1727 fs/jfs/jfs_txnmgr.c if (S_ISDIR(ip->i_mode)) S_ISDIR 1912 fs/jfs/jfs_txnmgr.c if (((tblk->xflag & COMMIT_PWMAP) || S_ISDIR(ip->i_mode)) S_ISDIR 975 fs/jfs/jfs_xtree.c if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && S_ISDIR 3350 fs/jfs/jfs_xtree.c if (S_ISDIR(ip->i_mode)) S_ISDIR 3579 fs/jfs/jfs_xtree.c if (S_ISDIR(ip->i_mode) && (teof == 0)) S_ISDIR 3938 fs/jfs/jfs_xtree.c if (S_ISDIR(ip->i_mode) && !newsize) S_ISDIR 1119 fs/jfs/namei.c if (S_ISDIR(old_ip->i_mode)) { S_ISDIR 1165 fs/jfs/namei.c if (S_ISDIR(new_ip->i_mode)) { S_ISDIR 1173 fs/jfs/namei.c if (!S_ISDIR(old_ip->i_mode) && new_ip) S_ISDIR 1216 fs/jfs/namei.c if (S_ISDIR(old_ip->i_mode)) S_ISDIR 1231 fs/jfs/namei.c if (S_ISDIR(old_ip->i_mode)) { S_ISDIR 1316 fs/jfs/namei.c if (new_ip && !S_ISDIR(new_ip->i_mode)) S_ISDIR 311 fs/libfs.c int they_are_dirs = S_ISDIR(old_dentry->d_inode->i_mode); S_ISDIR 398 fs/minix/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 606 fs/minix/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))) S_ISDIR 204 fs/minix/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 464 fs/msdos/namei.c is_dir = S_ISDIR(old_inode->i_mode); S_ISDIR 216 fs/namei.c (inode->i_mode & S_IXUGO) || S_ISDIR(inode->i_mode)) S_ISDIR 223 fs/namei.c if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE))) S_ISDIR 241 fs/namei.c (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) S_ISDIR 468 fs/namei.c if (S_ISDIR(inode->i_mode) && capable(CAP_DAC_OVERRIDE)) S_ISDIR 471 fs/namei.c if (S_ISDIR(inode->i_mode) && capable(CAP_DAC_READ_SEARCH)) S_ISDIR 1078 fs/namei.c if (!S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 1413 fs/namei.c if (!S_ISDIR(victim->d_inode->i_mode)) S_ISDIR 1417 fs/namei.c } else if (S_ISDIR(victim->d_inode->i_mode)) S_ISDIR 1537 fs/namei.c if (S_ISDIR(inode->i_mode) && (acc_mode & MAY_WRITE)) S_ISDIR 1783 fs/namei.c if (path.dentry->d_inode && S_ISDIR(path.dentry->d_inode->i_mode)) S_ISDIR 2001 fs/namei.c if (S_ISDIR(mode)) S_ISDIR 2296 fs/namei.c S_ISDIR(dentry->d_inode->i_mode) ? -EISDIR : -ENOTDIR; S_ISDIR 2402 fs/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 2586 fs/namei.c int is_dir = S_ISDIR(old_dentry->d_inode->i_mode); S_ISDIR 2668 fs/namei.c if (!S_ISDIR(old_dentry->d_inode->i_mode)) { S_ISDIR 1403 fs/namespace.c if (S_ISDIR(path->dentry->d_inode->i_mode) != S_ISDIR 1404 fs/namespace.c S_ISDIR(mnt->mnt_root->d_inode->i_mode)) S_ISDIR 1611 fs/namespace.c if (S_ISDIR(nd->path.dentry->d_inode->i_mode) != S_ISDIR 1612 fs/namespace.c S_ISDIR(old_nd.path.dentry->d_inode->i_mode)) S_ISDIR 262 fs/ncpfs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 289 fs/ncpfs/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 887 fs/ncpfs/inode.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 730 fs/nfs/dir.c S_ISDIR(inode->i_mode))) S_ISDIR 823 fs/nfs/dir.c if (inode && S_ISDIR(inode->i_mode)) { S_ISDIR 879 fs/nfs/dir.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1594 fs/nfs/dir.c if (S_ISDIR(new_inode->i_mode)) { S_ISDIR 1596 fs/nfs/dir.c if (!S_ISDIR(old_inode->i_mode)) S_ISDIR 146 fs/nfs/inode.c if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) S_ISDIR 287 fs/nfs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 535 fs/nfs/inode.c ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) S_ISDIR 721 fs/nfs/inode.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 794 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 871 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 880 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 998 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1067 fs/nfs/inode.c if (S_ISDIR(inode->i_mode) && S_ISDIR 1090 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1100 fs/nfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1163 fs/nfs/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) S_ISDIR 34 fs/nfs/nfs3acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 225 fs/nfs/nfs3acl.c if (S_ISDIR(inode->i_mode)) S_ISDIR 318 fs/nfs/nfs3acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 356 fs/nfs/nfs3acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 412 fs/nfs/nfs3acl.c error = nfs3_proc_setacls(inode, acl, S_ISDIR(inode->i_mode) ? S_ISDIR 201 fs/nfs/nfs3proc.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 1770 fs/nfs/nfs4proc.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 369 fs/nfsd/export.c if (!S_ISDIR(inode->i_mode) && S_ISDIR 611 fs/nfsd/nfs4proc.c (S_ISDIR(cstate->save_fh.fh_dentry->d_inode->i_mode) && S_ISDIR 612 fs/nfsd/nfs4proc.c S_ISDIR(cstate->current_fh.fh_dentry->d_inode->i_mode))) S_ISDIR 3293 fs/nfsd/nfs4state.c if (S_ISDIR(nd.path.dentry->d_inode->i_mode)) { S_ISDIR 241 fs/nfsd/nfsfh.c if (S_ISDIR(dentry->d_inode->i_mode) && S_ISDIR 376 fs/nfsd/nfsfh.c if (S_ISDIR(dentry->d_inode->i_mode) || S_ISDIR 471 fs/nfsd/vfs.c if (S_ISDIR(inode->i_mode)) S_ISDIR 484 fs/nfsd/vfs.c if (S_ISDIR(inode->i_mode)) S_ISDIR 532 fs/nfsd/vfs.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 618 fs/nfsd/vfs.c else if (S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 1253 fs/nfsd/vfs.c if (!S_ISREG(type) && !S_ISDIR(type) && !special_file(type)) { S_ISDIR 2100 fs/nfsd/vfs.c if (!S_ISDIR(inode->i_mode) && type == ACL_TYPE_DEFAULT) S_ISDIR 948 fs/ntfs/aops.c BUG_ON(!(is_mft || S_ISDIR(vi->i_mode) || S_ISDIR 98 fs/ntfs/dir.c BUG_ON(!S_ISDIR(VFS_I(dir_ni)->i_mode)); S_ISDIR 1537 fs/ntfs/dir.c BUG_ON(!S_ISDIR(vi->i_mode)); S_ISDIR 2231 fs/ntfs/file.c BUG_ON(S_ISDIR(vi->i_mode)); S_ISDIR 779 fs/ntfs/inode.c if (S_ISDIR(vi->i_mode)) { S_ISDIR 2376 fs/ntfs/inode.c BUG_ON(S_ISDIR(vi->i_mode)); S_ISDIR 2272 fs/ntfs/mft.c if (!S_ISREG(mode) && !S_ISDIR(mode)) S_ISDIR 2574 fs/ntfs/mft.c if (S_ISDIR(mode)) S_ISDIR 2658 fs/ntfs/mft.c if (S_ISDIR(mode)) { S_ISDIR 83 fs/ocfs2/dcache.c S_ISDIR(inode->i_mode)); S_ISDIR 116 fs/ocfs2/dlm/dlmfs.c if (S_ISDIR(inode->i_mode)) S_ISDIR 164 fs/ocfs2/dlm/dlmfs.c if (S_ISDIR(inode->i_mode)) S_ISDIR 410 fs/ocfs2/dlm/dlmfs.c if (S_ISDIR(mode)) S_ISDIR 168 fs/ocfs2/export.c if (connectable && !S_ISDIR(inode->i_mode)) { S_ISDIR 206 fs/ocfs2/file.c ((inode->i_sb->s_flags & MS_NODIRATIME) && S_ISDIR(inode->i_mode))) S_ISDIR 221 fs/ocfs2/file.c ((vfsmnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) S_ISDIR 1654 fs/ocfs2/file.c if (S_ISDIR(inode->i_mode)) S_ISDIR 67 fs/ocfs2/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 219 fs/ocfs2/namei.c if (S_ISDIR(mode) && (dir->i_nlink >= OCFS2_LINK_MAX)) { S_ISDIR 254 fs/ocfs2/namei.c if (S_ISDIR(mode) && !ocfs2_supports_inline_data(osb)) { S_ISDIR 280 fs/ocfs2/namei.c if (S_ISDIR(mode)) { S_ISDIR 392 fs/ocfs2/namei.c if (S_ISDIR(mode)) S_ISDIR 427 fs/ocfs2/namei.c if (S_ISDIR(mode)) S_ISDIR 449 fs/ocfs2/namei.c if (S_ISDIR(mode) && ocfs2_supports_inline_data(osb)) { S_ISDIR 548 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 674 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 748 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 809 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 821 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 827 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 986 fs/ocfs2/namei.c if (old_dir != new_dir && S_ISDIR(old_inode->i_mode)) { S_ISDIR 1037 fs/ocfs2/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 1153 fs/ocfs2/namei.c if (S_ISDIR(new_inode->i_mode) || (new_inode->i_nlink == 1)) { S_ISDIR 1191 fs/ocfs2/namei.c if (S_ISDIR(new_inode->i_mode)) { S_ISDIR 1205 fs/ocfs2/namei.c if (S_ISDIR(new_inode->i_mode) || S_ISDIR 1225 fs/ocfs2/namei.c if (S_ISDIR(new_inode->i_mode)) S_ISDIR 1773 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1860 fs/ocfs2/namei.c if (S_ISDIR(inode->i_mode)) S_ISDIR 398 fs/omfs/dir.c is_dir = S_ISDIR(old_inode->i_mode); S_ISDIR 113 fs/omfs/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 243 fs/open.c if (S_ISDIR(inode->i_mode)) S_ISDIR 402 fs/open.c if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) S_ISDIR 546 fs/open.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 667 fs/open.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 144 fs/proc/base.c if (S_ISDIR(entries[i].mode)) S_ISDIR 1942 fs/proc/base.c if (S_ISDIR(inode->i_mode)) S_ISDIR 2339 fs/proc/base.c if (S_ISDIR(inode->i_mode)) S_ISDIR 530 fs/proc/generic.c if (S_ISDIR(dp->mode)) { S_ISDIR 672 fs/proc/generic.c if (S_ISDIR(mode)) { S_ISDIR 702 fs/proc/generic.c if (S_ISDIR(mode)) { S_ISDIR 804 fs/proc/generic.c if (S_ISDIR(de->mode)) S_ISDIR 156 fs/qnx4/fsync.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 521 fs/qnx4/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 24 fs/qnx4/truncate.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 29 fs/qnx4/truncate.c if (!(S_ISDIR(inode->i_mode))) { S_ISDIR 101 fs/ramfs/inode.c if (S_ISDIR(mode)) S_ISDIR 1057 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) S_ISDIR 1078 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { S_ISDIR 1093 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { S_ISDIR 1208 fs/reiserfs/inode.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) S_ISDIR 1228 fs/reiserfs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 1808 fs/reiserfs/inode.c inode->i_nlink = (S_ISDIR(mode) ? 2 : 1); S_ISDIR 1878 fs/reiserfs/inode.c if (old_format_only(sb) || S_ISDIR(mode) || S_ISLNK(mode)) S_ISDIR 1904 fs/reiserfs/inode.c if (S_ISDIR(mode)) { S_ISDIR 552 fs/reiserfs/namei.c if (!S_ISDIR(inode->i_mode) && visible) S_ISDIR 593 fs/reiserfs/namei.c if (S_ISDIR(mode)) S_ISDIR 1278 fs/reiserfs/namei.c if (S_ISDIR(old_inode_mode)) { S_ISDIR 1378 fs/reiserfs/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 1422 fs/reiserfs/namei.c if (S_ISDIR(old_inode_mode)) S_ISDIR 1429 fs/reiserfs/namei.c if (S_ISDIR(old_inode_mode)) { S_ISDIR 1447 fs/reiserfs/namei.c RFALSE(S_ISDIR(old_inode_mode) && S_ISDIR 1471 fs/reiserfs/namei.c if (S_ISDIR(new_dentry_inode->i_mode)) { S_ISDIR 1480 fs/reiserfs/namei.c if (S_ISDIR(old_inode_mode)) { S_ISDIR 1779 fs/reiserfs/stree.c (S_ISREG(p_s_inode->i_mode) || S_ISDIR(p_s_inode->i_mode) S_ISDIR 1783 fs/reiserfs/stree.c if (S_ISDIR(p_s_inode->i_mode)) { S_ISDIR 253 fs/reiserfs/super.c if (truncate && S_ISDIR(inode->i_mode)) { S_ISDIR 360 fs/reiserfs/super.c if (S_ISDIR(inode->i_mode)) S_ISDIR 651 fs/reiserfs/xattr.c if (S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 792 fs/reiserfs/xattr.c if (!S_ISDIR(xafile->d_inode->i_mode)) S_ISDIR 277 fs/reiserfs/xattr_acl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 356 fs/reiserfs/xattr_acl.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 137 fs/smbfs/inode.c } else if (S_ISDIR(result->i_mode)) { S_ISDIR 218 fs/smbfs/inode.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 282 fs/smbfs/inode.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 566 fs/smbfs/proc.c if (S_ISDIR(mode)) S_ISDIR 2140 fs/smbfs/proc.c (S_ISDIR(fattr->f_mode)) ) S_ISDIR 2143 fs/smbfs/proc.c !(S_ISDIR(fattr->f_mode)) ) S_ISDIR 229 fs/sync.c if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && S_ISDIR 165 fs/sysv/ialloc.c if (S_ISDIR(mode)) S_ISDIR 158 fs/sysv/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 374 fs/sysv/itree.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 229 fs/sysv/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 851 fs/ubifs/debug.c if (!S_ISDIR(dir->i_mode)) S_ISDIR 1562 fs/ubifs/debug.c if (S_ISDIR(fscki->mode)) { S_ISDIR 1871 fs/ubifs/debug.c if (S_ISDIR(fscki->mode)) { S_ISDIR 64 fs/ubifs/dir.c if (!S_ISDIR(dir->i_mode)) S_ISDIR 72 fs/ubifs/dir.c if (!S_ISDIR(mode)) S_ISDIR 110 fs/ubifs/dir.c if (S_ISDIR(mode)) S_ISDIR 999 fs/ubifs/dir.c int is_dir = S_ISDIR(old_inode->i_mode); S_ISDIR 169 fs/ubifs/ioctl.c if (!S_ISDIR(inode->i_mode)) S_ISDIR 48 fs/udf/ialloc.c if (S_ISDIR(inode->i_mode)) S_ISDIR 117 fs/udf/ialloc.c if (S_ISDIR(mode)) S_ISDIR 132 fs/udf/ialloc.c if (S_ISDIR(mode)) S_ISDIR 1019 fs/udf/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 1453 fs/udf/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1554 fs/udf/inode.c if (S_ISDIR(inode->i_mode)) S_ISDIR 1136 fs/udf/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 1350 fs/udf/namei.c if (connectable && !S_ISDIR(inode->i_mode)) { S_ISDIR 96 fs/ufs/ialloc.c is_directory = S_ISDIR(inode->i_mode); S_ISDIR 292 fs/ufs/ialloc.c if (S_ISDIR(mode)) { S_ISDIR 310 fs/ufs/ialloc.c if (S_ISDIR(mode)) S_ISDIR 604 fs/ufs/inode.c } else if (S_ISDIR(inode->i_mode)) { S_ISDIR 288 fs/ufs/namei.c if (S_ISDIR(old_inode->i_mode)) { S_ISDIR 461 fs/ufs/truncate.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 884 fs/vfat/namei.c is_dir = S_ISDIR(old_inode->i_mode); S_ISDIR 59 fs/xattr.c if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) S_ISDIR 61 fs/xattr.c if (S_ISDIR(inode->i_mode) && (inode->i_mode & S_ISVTX) && S_ISDIR 68 fs/xfs/linux-2.6/xfs_export.c if (S_ISDIR(inode->i_mode) || !connectable) S_ISDIR 201 fs/xfs/linux-2.6/xfs_ioctl.c if (!S_ISDIR(parinode->i_mode)) S_ISDIR 277 fs/xfs/linux-2.6/xfs_ioctl.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { S_ISDIR 304 fs/xfs/linux-2.6/xfs_ioctl.c if ( S_ISDIR(inode->i_mode) && (permflag & FMODE_WRITE)) { S_ISDIR 636 fs/xfs/linux-2.6/xfs_iops.c if (S_ISDIR(inode->i_mode)) S_ISDIR 75 fs/xfs/xfs_acl.c if (!S_ISDIR(vp->i_mode)) S_ISDIR 365 fs/xfs/xfs_acl.c if (kind == _ACL_TYPE_DEFAULT && !S_ISDIR(vp->i_mode)) S_ISDIR 694 fs/xfs/xfs_acl.c if (S_ISDIR(vp->i_mode)) S_ISDIR 411 fs/xfs/xfs_ialloc.c needspace = S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode); S_ISDIR 414 fs/xfs/xfs_ialloc.c if (S_ISDIR(mode)) S_ISDIR 69 fs/xfs/xfs_vnodeops.c if (S_ISDIR(ip->i_d.di_mode) && ip->i_d.di_nextents > 0) { S_ISDIR 226 fs/xfs/xfs_vnodeops.c if ((iattr->ia_mode & S_ISVTX) && !S_ISDIR(ip->i_d.di_mode)) S_ISDIR 300 fs/xfs/xfs_vnodeops.c if (S_ISDIR(ip->i_d.di_mode)) { S_ISDIR 1896 fs/xfs/xfs_vnodeops.c int is_dir = S_ISDIR(ip->i_d.di_mode); S_ISDIR 2102 fs/xfs/xfs_vnodeops.c ASSERT(!S_ISDIR(sip->i_d.di_mode)); S_ISDIR 1816 include/linux/fs.h if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISDIR 144 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 160 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 176 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 194 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 209 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 258 include/linux/fsnotify.h if (S_ISDIR(inode->i_mode)) S_ISDIR 291 include/linux/msdos_fs.h (S_ISDIR(inode->i_mode) ? ATTR_DIR : ATTR_NONE) | S_ISDIR 247 include/linux/nfs_fs.h return S_ISDIR(inode->i_mode) ? nfss->acdirmin : nfss->acregmin; S_ISDIR 253 include/linux/nfs_fs.h return S_ISDIR(inode->i_mode) ? nfss->acdirmax : nfss->acregmax; S_ISDIR 277 include/linux/nfs_fs.h if (S_ISDIR(inode->i_mode)) S_ISDIR 243 init/initramfs.c if (S_ISDIR(st.st_mode)) S_ISDIR 277 init/initramfs.c } else if (S_ISDIR(mode)) { S_ISDIR 166 ipc/mqueue.c } else if (S_ISDIR(mode)) { S_ISDIR 239 ipc/mqueue.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 601 kernel/cgroup.c if (S_ISDIR(inode->i_mode)) { S_ISDIR 1589 kernel/cgroup.c if (!S_ISDIR(old_dentry->d_inode->i_mode)) S_ISDIR 1631 kernel/cgroup.c if (S_ISDIR(mode)) { S_ISDIR 1781 mm/shmem.c if (S_ISDIR(mode)) S_ISDIR 1839 mm/shmem.c if (inode->i_nlink > 1 && !S_ISDIR(inode->i_mode)) S_ISDIR 1868 mm/shmem.c int they_are_dirs = S_ISDIR(inode->i_mode); S_ISDIR 560 net/sunrpc/rpc_pipe.c else if (S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 597 net/sunrpc/rpc_pipe.c if (S_ISDIR(mode)) S_ISDIR 410 scripts/kconfig/confdata.c if (!stat(name, &st) && S_ISDIR(st.st_mode)) { S_ISDIR 304 security/inode.c if (S_ISDIR(dentry->d_inode->i_mode)) S_ISDIR 1605 security/selinux/hooks.c old_is_dir = S_ISDIR(old_dentry->d_inode->i_mode); S_ISDIR 1635 security/selinux/hooks.c new_is_dir = S_ISDIR(new_dentry->d_inode->i_mode); S_ISDIR 1709 security/selinux/hooks.c else if (S_ISDIR(mode)) S_ISDIR 966 sound/core/info.c if (!S_ISDIR(entry->mode))