tag | line | file | source code |
S_ISDIR | 77 | 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 | 159 | fs/ext/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 360 | fs/ext/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 546 | fs/ext/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 596 | fs/ext/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 680 | fs/ext/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 800 | fs/ext/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 809 | 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 | 110 | 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 | 242 | fs/ext2/ialloc.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 327 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
S_ISDIR | 442 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 458 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 559 | fs/ext2/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 172 | fs/ext2/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 431 | fs/ext2/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 632 | fs/ext2/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 698 | fs/ext2/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 828 | fs/ext2/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 968 | fs/ext2/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 970 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 987 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 989 | fs/ext2/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 324 | fs/ext2/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 1117 | fs/hpfs/hpfs_fs.c | if (!S_ISDIR(dir->i_mode)) |
S_ISDIR | 1342 | fs/hpfs/hpfs_fs.c | || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 80 | fs/isofs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 133 | fs/isofs/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
S_ISDIR | 543 | fs/isofs/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 232 | fs/isofs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 70 | 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 | 446 | fs/minix/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 117 | fs/minix/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 270 | fs/minix/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 451 | fs/minix/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 501 | 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 | 73 | fs/msdos/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) return -EBADF; |
S_ISDIR | 243 | fs/msdos/fat.c | if (inode->i_ino == MSDOS_ROOT_INO || (S_ISDIR(inode->i_mode) && |
S_ISDIR | 451 | fs/msdos/inode.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 491 | fs/msdos/inode.c | if (IS_NOEXEC(inode) && !S_ISDIR(inode->i_mode)) |
S_ISDIR | 184 | fs/msdos/misc.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 455 | fs/msdos/misc.c | if (!S_ISDIR(dir->i_mode)) panic("Non-directory fed to m_p_i"); |
S_ISDIR | 122 | fs/msdos/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 235 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
S_ISDIR | 363 | fs/msdos/namei.c | if (!S_ISDIR(inode->i_mode)) goto rmdir_done; |
S_ISDIR | 454 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 462 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 532 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 559 | fs/msdos/namei.c | if (exists && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 578 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 394 | fs/namei.c | if (S_ISDIR(inode->i_mode) && (flag & 2)) { |
S_ISDIR | 484 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
S_ISDIR | 101 | fs/nfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
S_ISDIR | 246 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
S_ISDIR | 299 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 340 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 374 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 405 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 429 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 449 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 471 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 504 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 529 | fs/nfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
S_ISDIR | 535 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
S_ISDIR | 594 | fs/nfs/dir.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 77 | fs/open.c | if (S_ISDIR(inode->i_mode) || !permission(inode,MAY_WRITE)) { |
S_ISDIR | 116 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
S_ISDIR | 210 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 232 | fs/open.c | if (!S_ISDIR(inode->i_mode)) |
S_ISDIR | 250 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 91 | fs/proc/base.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 130 | fs/proc/base.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 68 | fs/proc/fd.c | if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 124 | fs/proc/fd.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 160 | fs/proc/net.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 183 | fs/proc/net.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 91 | fs/proc/root.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 146 | fs/proc/root.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 443 | fs/super.c | if (!S_ISDIR(dir_i->i_mode)) { |
S_ISDIR | 77 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 185 | fs/sysv/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 865 | fs/sysv/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 113 | fs/sysv/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 263 | fs/sysv/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 443 | fs/sysv/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 492 | fs/sysv/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 595 | fs/sysv/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 711 | fs/sysv/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 713 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 730 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 732 | fs/sysv/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 275 | fs/sysv/truncate.c | else if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) |
S_ISDIR | 282 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_lockcreate(inode); |
S_ISDIR | 317 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
S_ISDIR | 326 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_unlockcreate(inode); |
S_ISDIR | 438 | fs/umsdos/dir.c | if (!S_ISDIR(inode->i_mode)){ |
S_ISDIR | 577 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
S_ISDIR | 431 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
S_ISDIR | 432 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
S_ISDIR | 495 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
S_ISDIR | 163 | fs/umsdos/inode.c | }else if (S_ISDIR(inode->i_mode)){ |
S_ISDIR | 233 | fs/umsdos/inode.c | if (S_ISDIR(inode->i_mode) |
S_ISDIR | 451 | fs/umsdos/inode.c | && S_ISDIR(pseudo->i_mode)){ |
S_ISDIR | 456 | fs/umsdos/inode.c | && S_ISDIR(etc->i_mode)){ |
S_ISDIR | 180 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
S_ISDIR | 350 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
S_ISDIR | 354 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
S_ISDIR | 540 | fs/umsdos/namei.c | if (S_ISDIR(oldinode->i_mode)){ |
S_ISDIR | 97 | fs/umsdos/rdir.c | }else if (S_ISDIR(inode->i_mode)){ |
S_ISDIR | 75 | 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 | 423 | 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 | 507 | fs/xiafs/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 552 | fs/xiafs/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 641 | fs/xiafs/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 748 | fs/xiafs/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 757 | 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) || |