tag | line | file | source code |
S_ISDIR | 72 | fs/ext/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 173 | fs/ext/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 377 | fs/ext/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 167 | fs/ext/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 368 | fs/ext/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 553 | fs/ext/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 603 | fs/ext/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 687 | fs/ext/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 807 | fs/ext/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 816 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 227 | fs/ext/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 101 | fs/ext2/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 173 | fs/ext2/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 267 | fs/ext2/ialloc.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 352 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
S_ISDIR | 467 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 483 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 565 | fs/ext2/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 180 | fs/ext2/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 434 | fs/ext2/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 638 | fs/ext2/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 709 | fs/ext2/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 841 | fs/ext2/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 974 | fs/ext2/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 976 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 993 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 995 | fs/ext2/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 333 | fs/ext2/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 1114 | fs/hpfs/hpfs_fs.c | if (!S_ISDIR(dir->i_mode)) |
S_ISDIR | 1339 | fs/hpfs/hpfs_fs.c | || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 81 | fs/isofs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 128 | fs/isofs/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
S_ISDIR | 486 | fs/isofs/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 223 | fs/isofs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 66 | fs/minix/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 147 | fs/minix/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 435 | fs/minix/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 121 | fs/minix/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 273 | fs/minix/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 453 | fs/minix/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 502 | fs/minix/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 600 | fs/minix/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 717 | fs/minix/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 719 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 736 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 738 | fs/minix/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 170 | fs/minix/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 65 | fs/msdos/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) return -EBADF; |
S_ISDIR | 244 | fs/msdos/fat.c | if (inode->i_ino == MSDOS_ROOT_INO || (S_ISDIR(inode->i_mode) && |
S_ISDIR | 404 | fs/msdos/inode.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 440 | fs/msdos/inode.c | if (IS_NOEXEC(inode) && !S_ISDIR(inode->i_mode)) |
S_ISDIR | 193 | fs/msdos/misc.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 460 | fs/msdos/misc.c | if (!S_ISDIR(dir->i_mode)) panic("Non-directory fed to m_p_i"); |
S_ISDIR | 115 | fs/msdos/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 217 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
S_ISDIR | 342 | fs/msdos/namei.c | if (!S_ISDIR(inode->i_mode)) goto rmdir_done; |
S_ISDIR | 416 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 424 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 493 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 520 | fs/msdos/namei.c | if (exists && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 539 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 332 | fs/namei.c | if (S_ISDIR(inode->i_mode) && (flag & 2)) { |
S_ISDIR | 421 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !suser())) |
S_ISDIR | 98 | fs/nfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
S_ISDIR | 243 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
S_ISDIR | 296 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 337 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 371 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 402 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 426 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 446 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 468 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 501 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 526 | fs/nfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
S_ISDIR | 532 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
S_ISDIR | 591 | fs/nfs/dir.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 76 | fs/open.c | if (S_ISDIR(inode->i_mode) || !permission(inode,MAY_WRITE)) { |
S_ISDIR | 103 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
S_ISDIR | 187 | fs/open.c | (S_ISDIR(i_mode) || !(mode & S_IXOTH) || (i_mode & S_IXUGO))) |
S_ISDIR | 200 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 222 | fs/open.c | if (!S_ISDIR(inode->i_mode)) |
S_ISDIR | 240 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 100 | fs/proc/base.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 139 | fs/proc/base.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 69 | fs/proc/fd.c | if (!pid || ino > 1 || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 133 | fs/proc/fd.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 119 | fs/proc/net.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 146 | fs/proc/net.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 84 | fs/proc/root.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 139 | fs/proc/root.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 323 | fs/super.c | if (!S_ISDIR(dir_i->i_mode)) { |
S_ISDIR | 74 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 188 | fs/sysv/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 701 | fs/sysv/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 119 | fs/sysv/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 276 | fs/sysv/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 457 | fs/sysv/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 506 | fs/sysv/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 608 | fs/sysv/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 725 | fs/sysv/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 727 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 744 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 746 | fs/sysv/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 489 | fs/sysv/truncate.c | else if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) |
S_ISDIR | 72 | fs/xiafs/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 148 | fs/xiafs/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 407 | fs/xiafs/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 125 | fs/xiafs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 302 | fs/xiafs/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 506 | fs/xiafs/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 551 | fs/xiafs/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 640 | fs/xiafs/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 747 | fs/xiafs/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 756 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 183 | fs/xiafs/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |