tag | line | file | source code |
i_mode | 262 | arch/alpha/kernel/osf_sys.c | if (!S_ISBLK(inode->i_mode)) { |
i_mode | 976 | fs/binfmt_elf.c | if (!S_ISREG(inode->i_mode)) |
i_mode | 194 | fs/exec.c | if (!S_ISREG(inode->i_mode)) |
i_mode | 580 | fs/exec.c | if (!S_ISREG(bprm.inode->i_mode)) { /* must be regular file */ |
i_mode | 592 | fs/exec.c | i = bprm.inode->i_mode; |
i_mode | 608 | fs/exec.c | if (!(bprm.inode->i_mode & 0111) && fsuser()) { |
i_mode | 73 | fs/ext/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 86 | fs/ext/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 87 | fs/ext/file.c | printk("ext_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 208 | fs/ext/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 209 | fs/ext/file.c | printk("ext_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 286 | fs/ext/freelists.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
i_mode | 173 | fs/ext/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 174 | fs/ext/fsync.c | S_ISLNK(inode->i_mode))) |
i_mode | 360 | fs/ext/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 367 | fs/ext/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 373 | fs/ext/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 375 | fs/ext/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 377 | fs/ext/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 379 | fs/ext/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 381 | fs/ext/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 383 | fs/ext/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 398 | fs/ext/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 404 | fs/ext/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 159 | fs/ext/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 319 | fs/ext/namei.c | inode->i_mode = mode; |
i_mode | 357 | fs/ext/namei.c | inode->i_mode = mode; |
i_mode | 359 | fs/ext/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 361 | fs/ext/namei.c | else if (S_ISDIR(inode->i_mode)) { |
i_mode | 363 | fs/ext/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 364 | fs/ext/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 366 | fs/ext/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 368 | fs/ext/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 370 | fs/ext/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 372 | fs/ext/namei.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 443 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
i_mode | 444 | fs/ext/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 445 | fs/ext/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 539 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 547 | fs/ext/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 593 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 597 | fs/ext/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 633 | fs/ext/namei.c | inode->i_mode = S_IFLNK | 0777; |
i_mode | 681 | fs/ext/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 785 | fs/ext/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 801 | fs/ext/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
i_mode | 806 | fs/ext/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
i_mode | 810 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 62 | fs/ext/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 91 | fs/ext/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 227 | fs/ext/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 228 | fs/ext/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 28 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
i_mode | 109 | fs/ext2/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 99 | fs/ext2/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 101 | fs/ext2/file.c | inode->i_mode); |
i_mode | 257 | fs/ext2/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 259 | fs/ext2/file.c | inode->i_mode); |
i_mode | 170 | fs/ext2/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 171 | fs/ext2/fsync.c | S_ISLNK(inode->i_mode))) |
i_mode | 173 | fs/ext2/fsync.c | if (S_ISLNK(inode->i_mode) && !(inode->i_blocks)) |
i_mode | 243 | fs/ext2/ialloc.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 449 | fs/ext2/ialloc.c | inode->i_mode = mode; |
i_mode | 457 | fs/ext2/ialloc.c | else if (dir->i_mode & S_ISGID) { |
i_mode | 112 | fs/ext2/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 528 | fs/ext2/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 554 | fs/ext2/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 563 | fs/ext2/inode.c | else if (S_ISREG(inode->i_mode)) |
i_mode | 565 | fs/ext2/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 567 | fs/ext2/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 569 | fs/ext2/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 571 | fs/ext2/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 573 | fs/ext2/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 619 | fs/ext2/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 636 | fs/ext2/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 175 | fs/ext2/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 384 | fs/ext2/namei.c | inode->i_mode = mode; |
i_mode | 430 | fs/ext2/namei.c | inode->i_mode = mode; |
i_mode | 432 | fs/ext2/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 434 | fs/ext2/namei.c | else if (S_ISDIR(inode->i_mode)) { |
i_mode | 436 | fs/ext2/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 437 | fs/ext2/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 439 | fs/ext2/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 441 | fs/ext2/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 443 | fs/ext2/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 445 | fs/ext2/namei.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 520 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
i_mode | 521 | fs/ext2/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 522 | fs/ext2/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 634 | fs/ext2/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 640 | fs/ext2/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 706 | fs/ext2/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 717 | fs/ext2/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 764 | fs/ext2/namei.c | inode->i_mode = S_IFLNK | S_IRWXUGO; |
i_mode | 836 | fs/ext2/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 958 | fs/ext2/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 976 | fs/ext2/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
i_mode | 978 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
i_mode | 991 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
i_mode | 995 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 997 | fs/ext2/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
i_mode | 68 | fs/ext2/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 103 | fs/ext2/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 328 | fs/ext2/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 329 | fs/ext2/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 161 | fs/fcntl.c | if (S_ISSOCK (filp->f_inode->i_mode)) |
i_mode | 166 | fs/fcntl.c | if (S_ISSOCK (filp->f_inode->i_mode)) |
i_mode | 624 | fs/hpfs/hpfs_fs.c | inode->i_mode = 0; |
i_mode | 638 | fs/hpfs/hpfs_fs.c | inode->i_mode = s->s_hpfs_mode; |
i_mode | 653 | fs/hpfs/hpfs_fs.c | inode->i_mode |= S_IFDIR; |
i_mode | 655 | fs/hpfs/hpfs_fs.c | inode->i_mode |= S_IFREG; |
i_mode | 656 | fs/hpfs/hpfs_fs.c | inode->i_mode &= ~0111; |
i_mode | 674 | fs/hpfs/hpfs_fs.c | if (S_ISREG(inode->i_mode)) { |
i_mode | 689 | fs/hpfs/hpfs_fs.c | inode->i_mode = 0; |
i_mode | 871 | fs/hpfs/hpfs_fs.c | if (inode == 0 || !S_ISREG(inode->i_mode)) |
i_mode | 1114 | fs/hpfs/hpfs_fs.c | if (!S_ISDIR(dir->i_mode)) |
i_mode | 1164 | fs/hpfs/hpfs_fs.c | inode->i_mode &= ~0222; |
i_mode | 1361 | fs/hpfs/hpfs_fs.c | || !S_ISDIR(inode->i_mode)) |
i_mode | 206 | fs/inode.c | if (S_ISREG(file->f_inode->i_mode) && (file->f_mode & 2)) |
i_mode | 292 | fs/inode.c | inode->i_mode = attr->ia_mode; |
i_mode | 294 | fs/inode.c | inode->i_mode &= ~S_ISGID; |
i_mode | 382 | fs/inode.c | inode->i_ino, inode->i_mode); |
i_mode | 494 | fs/inode.c | inode->i_mode |= S_IFIFO | S_IRUSR | S_IWUSR; |
i_mode | 92 | fs/ioctl.c | if (filp->f_inode && S_ISREG(filp->f_inode->i_mode)) |
i_mode | 275 | fs/isofs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 137 | fs/isofs/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
i_mode | 138 | fs/isofs/file.c | printk("isofs_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 468 | fs/isofs/inode.c | inode->i_mode = S_IRUGO | S_IXUGO | S_IFDIR; |
i_mode | 475 | fs/isofs/inode.c | inode->i_mode = inode->i_sb->u.isofs_sb.s_mode; /* Everybody gets to read the file. */ |
i_mode | 477 | fs/isofs/inode.c | inode->i_mode |= S_IFREG; |
i_mode | 483 | fs/isofs/inode.c | inode->i_mode |= S_IXUGO; /* execute permission */ |
i_mode | 587 | fs/isofs/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 589 | fs/isofs/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 591 | fs/isofs/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 593 | fs/isofs/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 595 | fs/isofs/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 597 | fs/isofs/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 613 | fs/isofs/inode.c | inode->i_mode = S_IFREG; /*Regular file, no one gets to read*/ |
i_mode | 235 | fs/isofs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 299 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
i_mode | 378 | fs/isofs/rock.c | inode->i_mode = reloc->i_mode; |
i_mode | 64 | fs/isofs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 90 | fs/isofs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 199 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
i_mode | 70 | fs/minix/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_mode | 84 | fs/minix/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 85 | fs/minix/file.c | printk("minix_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 204 | fs/minix/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 205 | fs/minix/file.c | printk("minix_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 151 | fs/minix/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 152 | fs/minix/fsync.c | S_ISLNK(inode->i_mode))) |
i_mode | 417 | fs/minix/inode.c | inode->i_mode = 0; |
i_mode | 433 | fs/minix/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 440 | fs/minix/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 445 | fs/minix/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 447 | fs/minix/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 449 | fs/minix/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 451 | fs/minix/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 453 | fs/minix/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 455 | fs/minix/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 481 | fs/minix/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 487 | fs/minix/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 121 | fs/minix/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 232 | fs/minix/namei.c | inode->i_mode = mode; |
i_mode | 271 | fs/minix/namei.c | inode->i_mode = mode; |
i_mode | 273 | fs/minix/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 275 | fs/minix/namei.c | else if (S_ISDIR(inode->i_mode)) { |
i_mode | 277 | fs/minix/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 278 | fs/minix/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 280 | fs/minix/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 282 | fs/minix/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 284 | fs/minix/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 286 | fs/minix/namei.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 354 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
i_mode | 355 | fs/minix/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 356 | fs/minix/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 448 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 456 | fs/minix/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 506 | fs/minix/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 515 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 556 | fs/minix/namei.c | inode->i_mode = S_IFLNK | 0777; |
i_mode | 605 | fs/minix/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 706 | fs/minix/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 722 | fs/minix/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
i_mode | 724 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
i_mode | 737 | fs/minix/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
i_mode | 741 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 743 | fs/minix/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
i_mode | 60 | fs/minix/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 89 | fs/minix/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 174 | fs/minix/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 175 | fs/minix/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 75 | fs/msdos/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 247 | fs/msdos/fat.c | if (inode->i_ino == MSDOS_ROOT_INO || (S_ISDIR(inode->i_mode) && |
i_mode | 172 | fs/msdos/file.c | if (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode)) { |
i_mode | 173 | fs/msdos/file.c | printk("msdos_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 285 | fs/msdos/file.c | if (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode)) { |
i_mode | 286 | fs/msdos/file.c | printk("msdos_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 369 | fs/msdos/inode.c | inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_mode | 393 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,S_IRWXUGO & |
i_mode | 418 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,(IS_NOEXEC(inode) |
i_mode | 456 | fs/msdos/inode.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 464 | fs/msdos/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
i_mode | 496 | fs/msdos/inode.c | if (IS_NOEXEC(inode) && !S_ISDIR(inode->i_mode)) |
i_mode | 497 | fs/msdos/inode.c | inode->i_mode &= S_IFMT | S_IRUGO | S_IWUGO; |
i_mode | 499 | fs/msdos/inode.c | inode->i_mode |= S_IXUGO; |
i_mode | 501 | fs/msdos/inode.c | inode->i_mode = ((inode->i_mode & S_IFMT) | ((((inode->i_mode & S_IRWXU |
i_mode | 212 | fs/msdos/misc.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 483 | fs/msdos/misc.c | if (!S_ISDIR(dir->i_mode)) panic("Non-directory fed to m_p_i"); |
i_mode | 99 | fs/msdos/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_mode | 126 | fs/msdos/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 367 | fs/msdos/namei.c | if (!S_ISDIR(inode->i_mode)) goto rmdir_done; |
i_mode | 408 | fs/msdos/namei.c | if (!S_ISREG(inode->i_mode) && nospc){ |
i_mode | 458 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
i_mode | 466 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
i_mode | 536 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
i_mode | 563 | fs/msdos/namei.c | if (exists && S_ISDIR(new_inode->i_mode)) { |
i_mode | 582 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 101 | fs/namei.c | int mode = inode->i_mode; |
i_mode | 127 | fs/namei.c | if ((inode->i_count > 1) && S_ISREG(inode->i_mode)) /* shortcut */ |
i_mode | 389 | fs/namei.c | if (S_ISDIR(inode->i_mode) && (flag & 2)) { |
i_mode | 397 | fs/namei.c | if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { |
i_mode | 102 | fs/nfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
i_mode | 308 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 349 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 383 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 414 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 438 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 458 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 480 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 513 | fs/nfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 538 | fs/nfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
i_mode | 544 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
i_mode | 585 | fs/nfs/dir.c | was_empty = inode->i_mode == 0; |
i_mode | 586 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
i_mode | 592 | fs/nfs/dir.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 601 | fs/nfs/dir.c | if (S_ISREG(inode->i_mode)) |
i_mode | 603 | fs/nfs/dir.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 605 | fs/nfs/dir.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 607 | fs/nfs/dir.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 609 | fs/nfs/dir.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 611 | fs/nfs/dir.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 110 | fs/nfs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 112 | fs/nfs/file.c | inode->i_mode); |
i_mode | 203 | fs/nfs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 205 | fs/nfs/file.c | inode->i_mode); |
i_mode | 104 | fs/nfs/inode.c | if (!S_ISSOCK(filp->f_inode->i_mode)) { |
i_mode | 265 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
i_mode | 102 | fs/nfs/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_mode | 66 | fs/nfs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 104 | fs/nfs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 78 | fs/open.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 121 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
i_mode | 262 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 285 | fs/open.c | if (!S_ISDIR(inode->i_mode)) |
i_mode | 303 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 331 | fs/open.c | mode = inode->i_mode; |
i_mode | 332 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
i_mode | 357 | fs/open.c | mode = inode->i_mode; |
i_mode | 358 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
i_mode | 385 | fs/open.c | newattrs.ia_mode = inode->i_mode; |
i_mode | 393 | fs/open.c | if (user != inode->i_uid && (inode->i_mode & S_ISUID)) { |
i_mode | 400 | fs/open.c | if (group != inode->i_gid && (inode->i_mode & S_ISGID)) { |
i_mode | 429 | fs/open.c | newattrs.ia_mode = inode->i_mode; |
i_mode | 437 | fs/open.c | if (user != inode->i_uid && (inode->i_mode & S_ISUID)) { |
i_mode | 444 | fs/open.c | if (group != inode->i_gid && (inode->i_mode & S_ISGID)) { |
i_mode | 91 | fs/proc/base.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 130 | fs/proc/base.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 68 | fs/proc/fd.c | if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) { |
i_mode | 128 | fs/proc/fd.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 118 | fs/proc/inode.c | inode->i_mode = 0; |
i_mode | 135 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; |
i_mode | 147 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO | S_IWUSR; |
i_mode | 155 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO | S_IWUSR; |
i_mode | 163 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO; |
i_mode | 169 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IWUSR; |
i_mode | 177 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO | S_IXUGO; |
i_mode | 185 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; |
i_mode | 192 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO | S_IWUSR; |
i_mode | 200 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUSR; |
i_mode | 204 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; |
i_mode | 209 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; |
i_mode | 214 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUSR; |
i_mode | 220 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO | S_IWUSR; |
i_mode | 226 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO; |
i_mode | 241 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; |
i_mode | 246 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR; |
i_mode | 253 | fs/proc/inode.c | inode->i_mode = S_IFLNK | S_IRWXU; |
i_mode | 256 | fs/proc/inode.c | inode->i_mode = S_IFDIR | S_IRUSR | S_IXUSR; |
i_mode | 261 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUSR; |
i_mode | 267 | fs/proc/inode.c | inode->i_mode = S_IFREG | S_IRUGO; |
i_mode | 271 | fs/proc/inode.c | inode->i_mode = S_IFIFO | S_IRUGO; |
i_mode | 282 | fs/proc/inode.c | inode->i_mode = S_IFLNK; |
i_mode | 284 | fs/proc/inode.c | inode->i_mode |= S_IRUSR | S_IXUSR; |
i_mode | 286 | fs/proc/inode.c | inode->i_mode |= S_IWUSR | S_IXUSR; |
i_mode | 177 | fs/proc/link.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 194 | fs/proc/net.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 217 | fs/proc/net.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 97 | fs/proc/root.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 154 | fs/proc/root.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 144 | fs/proc/scsi.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 179 | fs/proc/scsi.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 144 | fs/read_write.c | if (written > 0 && !suser() && (inode->i_mode & (S_ISUID | S_ISGID))) { |
i_mode | 146 | fs/read_write.c | newattrs.ia_mode = inode->i_mode & ~(S_ISUID | S_ISGID); |
i_mode | 173 | fs/smbfs/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) { |
i_mode | 667 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 772 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 814 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 840 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 865 | fs/smbfs/dir.c | if (!dir || !S_ISDIR(dir->i_mode)) { |
i_mode | 892 | fs/smbfs/dir.c | if (!old_dir || !S_ISDIR(old_dir->i_mode)) { |
i_mode | 898 | fs/smbfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
i_mode | 82 | fs/smbfs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 84 | fs/smbfs/file.c | inode->i_mode); |
i_mode | 142 | fs/smbfs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 144 | fs/smbfs/file.c | inode->i_mode); |
i_mode | 98 | fs/smbfs/inode.c | inode->i_mode = SMB_SERVER(inode)->m.dir_mode; |
i_mode | 100 | fs/smbfs/inode.c | inode->i_mode = SMB_SERVER(inode)->m.file_mode; |
i_mode | 102 | fs/smbfs/inode.c | DDPRINTK("smb_read_inode: inode->i_mode = %u\n", inode->i_mode); |
i_mode | 120 | fs/smbfs/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 122 | fs/smbfs/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 147 | fs/smbfs/inode.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 207 | fs/smbfs/inode.c | if (!S_ISSOCK(filp->f_inode->i_mode)) { |
i_mode | 349 | fs/smbfs/inode.c | if (!S_ISREG(inode->i_mode)) |
i_mode | 113 | fs/smbfs/mmap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_mode | 87 | fs/smbfs/sock.c | || (!S_ISSOCK(inode->i_mode))) { |
i_mode | 135 | fs/smbfs/sock.c | || (!S_ISSOCK(inode->i_mode))) { |
i_mode | 25 | fs/stat.c | tmp.st_mode = inode->i_mode; |
i_mode | 47 | fs/stat.c | tmp.st_mode = inode->i_mode; |
i_mode | 386 | fs/super.c | if (S_ISBLK(inode->i_mode)) { |
i_mode | 444 | fs/super.c | if (!S_ISDIR(dir_i->i_mode)) { |
i_mode | 587 | fs/super.c | if (!S_ISBLK(inode->i_mode)) { |
i_mode | 77 | fs/sysv/dir.c | if (!inode || !(sb = inode->i_sb) || !S_ISDIR(inode->i_mode)) |
i_mode | 92 | fs/sysv/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 93 | fs/sysv/file.c | printk("sysv_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 215 | fs/sysv/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 216 | fs/sysv/file.c | printk("sysv_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 189 | fs/sysv/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 190 | fs/sysv/fsync.c | S_ISLNK(inode->i_mode))) |
i_mode | 138 | fs/sysv/ialloc.c | if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) |
i_mode | 159 | fs/sysv/ialloc.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
i_mode | 167 | fs/sysv/ialloc.c | inode->i_mode = 0; /* for sysv_write_inode() */ |
i_mode | 204 | fs/sysv/ialloc.c | if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) |
i_mode | 812 | fs/sysv/inode.c | inode->i_mode = 0; |
i_mode | 825 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
i_mode | 829 | fs/sysv/inode.c | inode->i_mode = mode; |
i_mode | 845 | fs/sysv/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 857 | fs/sysv/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 859 | fs/sysv/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 861 | fs/sysv/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 863 | fs/sysv/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 865 | fs/sysv/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 867 | fs/sysv/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 911 | fs/sysv/inode.c | mode = inode->i_mode; |
i_mode | 914 | fs/sysv/inode.c | raw_inode->i_mode = mode; |
i_mode | 929 | fs/sysv/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 117 | fs/sysv/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 225 | fs/sysv/namei.c | inode->i_mode = mode; |
i_mode | 264 | fs/sysv/namei.c | inode->i_mode = mode; |
i_mode | 266 | fs/sysv/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 268 | fs/sysv/namei.c | else if (S_ISDIR(inode->i_mode)) { |
i_mode | 270 | fs/sysv/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 271 | fs/sysv/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 273 | fs/sysv/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 275 | fs/sysv/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 277 | fs/sysv/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 279 | fs/sysv/namei.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 345 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
i_mode | 346 | fs/sysv/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 347 | fs/sysv/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 440 | fs/sysv/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 448 | fs/sysv/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 497 | fs/sysv/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 506 | fs/sysv/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 549 | fs/sysv/namei.c | inode->i_mode = S_IFLNK | 0777; |
i_mode | 600 | fs/sysv/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 700 | fs/sysv/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 716 | fs/sysv/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
i_mode | 718 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
i_mode | 731 | fs/sysv/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
i_mode | 735 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 737 | fs/sysv/namei.c | if (new_inode && !S_ISDIR(new_inode->i_mode)) |
i_mode | 66 | fs/sysv/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 96 | fs/sysv/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 277 | fs/sysv/truncate.c | if (S_ISLNK(inode->i_mode)) |
i_mode | 279 | fs/sysv/truncate.c | else if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) |
i_mode | 328 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_lockcreate(inode); |
i_mode | 348 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
i_mode | 408 | fs/umsdos/dir.c | if (S_ISDIR(inode->i_mode)) umsdos_unlockcreate(inode); |
i_mode | 559 | fs/umsdos/dir.c | PRINTK (("locate_path mode %x ",inode->i_mode)); |
i_mode | 560 | fs/umsdos/dir.c | if (!S_ISDIR(inode->i_mode)){ |
i_mode | 157 | fs/umsdos/inode.c | if (S_ISREG(inode->i_mode)){ |
i_mode | 163 | fs/umsdos/inode.c | }else if (S_ISDIR(inode->i_mode)){ |
i_mode | 167 | fs/umsdos/inode.c | }else if (S_ISLNK(inode->i_mode)){ |
i_mode | 169 | fs/umsdos/inode.c | }else if (S_ISCHR(inode->i_mode)){ |
i_mode | 171 | fs/umsdos/inode.c | }else if (S_ISBLK(inode->i_mode)){ |
i_mode | 173 | fs/umsdos/inode.c | }else if (S_ISFIFO(inode->i_mode)){ |
i_mode | 233 | fs/umsdos/inode.c | if (S_ISDIR(inode->i_mode) |
i_mode | 453 | fs/umsdos/inode.c | && S_ISDIR(pseudo->i_mode)){ |
i_mode | 459 | fs/umsdos/inode.c | && S_ISDIR(etc->i_mode)){ |
i_mode | 464 | fs/umsdos/inode.c | && S_ISREG(init->i_mode)) |
i_mode | 466 | fs/umsdos/inode.c | && S_ISREG(rc->i_mode))){ |
i_mode | 474 | fs/umsdos/inode.c | && S_ISDIR(sbin->i_mode)){ |
i_mode | 478 | fs/umsdos/inode.c | && S_ISREG(init->i_mode)){ |
i_mode | 280 | fs/umsdos/ioctl.c | data.stat.st_mode = inode->i_mode; |
i_mode | 224 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
i_mode | 338 | fs/umsdos/namei.c | if ( !(old_dir->i_mode & S_ISVTX) || fsuser() || |
i_mode | 345 | fs/umsdos/namei.c | !(new_dir->i_mode & S_ISVTX) || fsuser() || |
i_mode | 565 | fs/umsdos/namei.c | if (S_ISDIR(oldinode->i_mode)){ |
i_mode | 696 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
i_mode | 883 | fs/umsdos/namei.c | if ( !(dir->i_mode & S_ISVTX) || fsuser() || |
i_mode | 946 | fs/umsdos/namei.c | if ( !(dir->i_mode & S_ISVTX) || fsuser() || |
i_mode | 121 | fs/umsdos/rdir.c | }else if (S_ISDIR(inode->i_mode)){ |
i_mode | 74 | fs/umsdos/symlink.c | }else if (!S_ISLNK(inode->i_mode)){ |
i_mode | 107 | fs/umsdos/symlink.c | if (S_ISLNK(inode->i_mode)) { |
i_mode | 110 | fs/umsdos/symlink.c | PRINTK (("readlink %d %x bufsiz %d\n",ret,inode->i_mode,buflen)); |
i_mode | 330 | fs/xiafs/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
i_mode | 76 | fs/xiafs/dir.c | if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode)) |
i_mode | 87 | fs/xiafs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 205 | fs/xiafs/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 152 | fs/xiafs/fsync.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 153 | fs/xiafs/fsync.c | S_ISLNK(inode->i_mode))) |
i_mode | 386 | fs/xiafs/inode.c | inode->i_mode=0; |
i_mode | 400 | fs/xiafs/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 409 | fs/xiafs/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { |
i_mode | 420 | fs/xiafs/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 422 | fs/xiafs/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 424 | fs/xiafs/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 426 | fs/xiafs/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 428 | fs/xiafs/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 430 | fs/xiafs/inode.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 463 | fs/xiafs/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 471 | fs/xiafs/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 129 | fs/xiafs/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 264 | fs/xiafs/namei.c | inode->i_mode = mode; |
i_mode | 302 | fs/xiafs/namei.c | inode->i_mode = mode; |
i_mode | 304 | fs/xiafs/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 306 | fs/xiafs/namei.c | else if (S_ISDIR(inode->i_mode)) { |
i_mode | 308 | fs/xiafs/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 309 | fs/xiafs/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 311 | fs/xiafs/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 313 | fs/xiafs/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 315 | fs/xiafs/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 317 | fs/xiafs/namei.c | else if (S_ISFIFO(inode->i_mode)) |
i_mode | 385 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
i_mode | 386 | fs/xiafs/namei.c | if (dir->i_mode & S_ISGID) |
i_mode | 387 | fs/xiafs/namei.c | inode->i_mode |= S_ISGID; |
i_mode | 504 | fs/xiafs/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 512 | fs/xiafs/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 557 | fs/xiafs/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 566 | fs/xiafs/namei.c | if ((dir->i_mode & S_ISVTX) && !fsuser() && |
i_mode | 607 | fs/xiafs/namei.c | inode->i_mode = S_IFLNK | S_IRWXUGO; |
i_mode | 646 | fs/xiafs/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 737 | fs/xiafs/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 753 | fs/xiafs/namei.c | if (new_inode && S_ISDIR(new_inode->i_mode)) { |
i_mode | 758 | fs/xiafs/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
i_mode | 762 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 57 | fs/xiafs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 94 | fs/xiafs/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 187 | fs/xiafs/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 188 | fs/xiafs/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 221 | include/linux/ext2_fs.h | __u16 i_mode; /* File mode */ |
i_mode | 16 | include/linux/ext_fs.h | unsigned short i_mode; |
i_mode | 205 | include/linux/fs.h | umode_t i_mode; |
i_mode | 35 | include/linux/minix_fs.h | __u16 i_mode; |
i_mode | 51 | include/linux/minix_fs.h | __u16 i_mode; |
i_mode | 222 | include/linux/sysv_fs.h | unsigned short i_mode; |
i_mode | 22 | include/linux/xia_fs.h | mode_t i_mode; |
i_mode | 278 | mm/filemap.c | if (!inode->i_sb || !S_ISREG(inode->i_mode)) |
i_mode | 1006 | mm/swap.c | if (S_ISBLK(inode->i_mode) |
i_mode | 1109 | mm/swap.c | if (S_ISBLK(swap_inode->i_mode)) { |
i_mode | 1129 | mm/swap.c | } else if (!S_ISREG(swap_inode->i_mode)) |
i_mode | 240 | net/socket.c | inode->i_mode = S_IFSOCK; |