tag | line | file | source code |
S_ISDIR | 73 | 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 | 391 | fs/ext/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 161 | fs/ext/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 365 | fs/ext/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 555 | fs/ext/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 605 | fs/ext/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 690 | fs/ext/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 810 | fs/ext/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 819 | 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 | 109 | fs/ext2/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 170 | fs/ext2/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 243 | fs/ext2/ialloc.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 328 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
S_ISDIR | 443 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 459 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
S_ISDIR | 565 | fs/ext2/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 175 | 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 | 640 | fs/ext2/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 706 | fs/ext2/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 836 | fs/ext2/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 976 | fs/ext2/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 978 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 995 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 997 | fs/ext2/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 339 | fs/ext2/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 1129 | fs/hpfs/hpfs_fs.c | if (!S_ISDIR(dir->i_mode)) |
S_ISDIR | 1376 | fs/hpfs/hpfs_fs.c | || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 275 | fs/isofs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 137 | fs/isofs/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
S_ISDIR | 589 | fs/isofs/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 235 | 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 | 151 | fs/minix/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 450 | 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 | 275 | fs/minix/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 457 | fs/minix/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 507 | fs/minix/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 607 | fs/minix/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 724 | fs/minix/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 726 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 743 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 745 | fs/minix/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 177 | fs/minix/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 75 | fs/msdos/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 252 | fs/msdos/fat.c | if (inode->i_ino == MSDOS_ROOT_INO || (S_ISDIR(inode->i_mode) && |
S_ISDIR | 459 | fs/msdos/inode.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 499 | fs/msdos/inode.c | if (IS_NOEXEC(inode) && !S_ISDIR(inode->i_mode)) |
S_ISDIR | 214 | fs/msdos/misc.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 485 | fs/msdos/misc.c | if (!S_ISDIR(dir->i_mode)) panic("Non-directory fed to m_p_i"); |
S_ISDIR | 128 | fs/msdos/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 241 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
S_ISDIR | 369 | fs/msdos/namei.c | if (!S_ISDIR(inode->i_mode)) goto rmdir_done; |
S_ISDIR | 461 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 469 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 539 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
S_ISDIR | 566 | fs/msdos/namei.c | if (exists && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 585 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 389 | fs/namei.c | if (S_ISDIR(inode->i_mode) && (flag & 2)) { |
S_ISDIR | 479 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
S_ISDIR | 103 | fs/nfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
S_ISDIR | 287 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
S_ISDIR | 340 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 381 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 415 | 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 | 470 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 490 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 512 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 545 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 570 | fs/nfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
S_ISDIR | 576 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
S_ISDIR | 635 | fs/nfs/dir.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 73 | fs/open.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 116 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
S_ISDIR | 257 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 280 | fs/open.c | if (!S_ISDIR(inode->i_mode)) |
S_ISDIR | 298 | fs/open.c | if (!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 | 128 | fs/proc/fd.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 140 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
S_ISDIR | 153 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
S_ISDIR | 325 | fs/proc/root.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 434 | fs/proc/root.c | if (!inode || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 174 | fs/smbfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
S_ISDIR | 673 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 775 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 817 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 843 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 868 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
S_ISDIR | 895 | fs/smbfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
S_ISDIR | 901 | fs/smbfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
S_ISDIR | 121 | fs/smbfs/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 146 | fs/smbfs/inode.c | if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 476 | fs/super.c | if (!S_ISDIR(dir_i->i_mode)) { |
S_ISDIR | 78 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 189 | fs/sysv/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
S_ISDIR | 863 | fs/sysv/inode.c | else if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 117 | fs/sysv/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 268 | fs/sysv/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 449 | fs/sysv/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 498 | fs/sysv/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 602 | fs/sysv/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 718 | fs/sysv/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 720 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
S_ISDIR | 737 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 739 | fs/sysv/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
S_ISDIR | 279 | fs/sysv/truncate.c | else if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) |
S_ISDIR | 328 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_lockcreate(inode); |
S_ISDIR | 399 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
S_ISDIR | 408 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_unlockcreate(inode); |
S_ISDIR | 560 | fs/umsdos/dir.c | if (!S_ISDIR(inode->i_mode)){ |
S_ISDIR | 699 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
S_ISDIR | 423 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
S_ISDIR | 424 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
S_ISDIR | 487 | 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 | 453 | fs/umsdos/inode.c | && S_ISDIR(pseudo->i_mode)){ |
S_ISDIR | 459 | fs/umsdos/inode.c | && S_ISDIR(etc->i_mode)){ |
S_ISDIR | 474 | fs/umsdos/inode.c | && S_ISDIR(sbin->i_mode)){ |
S_ISDIR | 241 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
S_ISDIR | 364 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
S_ISDIR | 368 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
S_ISDIR | 564 | fs/umsdos/namei.c | if (S_ISDIR(oldinode->i_mode)){ |
S_ISDIR | 121 | fs/umsdos/rdir.c | }else if (S_ISDIR(inode->i_mode)){ |
S_ISDIR | 76 | fs/xiafs/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
S_ISDIR | 152 | 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 | 129 | fs/xiafs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
S_ISDIR | 306 | fs/xiafs/namei.c | else if (S_ISDIR(inode->i_mode)) { |
S_ISDIR | 512 | fs/xiafs/namei.c | if (!S_ISDIR(inode->i_mode)) { |
S_ISDIR | 557 | fs/xiafs/namei.c | if (S_ISDIR(inode->i_mode)) |
S_ISDIR | 646 | fs/xiafs/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
S_ISDIR | 753 | fs/xiafs/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
S_ISDIR | 762 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
S_ISDIR | 187 | fs/xiafs/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |