tag | line | file | source code |
i_mode | 85 | fs/exec.c | if (!S_ISREG(inode->i_mode)) |
i_mode | 183 | fs/exec.c | if (!inode->i_sb || !S_ISREG(inode->i_mode) || !permission(inode,MAY_READ)) { |
i_mode | 414 | fs/exec.c | if (!S_ISREG(inode->i_mode)) { /* must be regular file */ |
i_mode | 426 | fs/exec.c | i = inode->i_mode; |
i_mode | 446 | fs/exec.c | !((inode->i_mode & 0111) && suser())) { |
i_mode | 63 | fs/ext/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 87 | fs/ext/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
i_mode | 88 | fs/ext/file.c | printk("ext_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 171 | fs/ext/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 172 | fs/ext/file.c | printk("ext_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 355 | fs/ext/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 361 | fs/ext/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 367 | fs/ext/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 369 | fs/ext/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 371 | fs/ext/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 373 | fs/ext/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 375 | fs/ext/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 377 | fs/ext/inode.c | else if (S_ISFIFO(inode->i_mode)) { |
i_mode | 403 | fs/ext/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 409 | fs/ext/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 167 | fs/ext/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 323 | fs/ext/namei.c | inode->i_mode = mode; |
i_mode | 361 | fs/ext/namei.c | inode->i_mode = mode; |
i_mode | 363 | fs/ext/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 365 | fs/ext/namei.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 367 | fs/ext/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 369 | fs/ext/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 371 | fs/ext/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 373 | fs/ext/namei.c | else if (S_ISFIFO(inode->i_mode)) { |
i_mode | 453 | fs/ext/namei.c | inode->i_mode = I_DIRECTORY | (mode & 0777 & ~current->umask); |
i_mode | 546 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
i_mode | 553 | fs/ext/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 599 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && !suser() && |
i_mode | 603 | fs/ext/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 637 | fs/ext/namei.c | inode->i_mode = S_IFLNK | 0777; |
i_mode | 692 | fs/ext/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 796 | fs/ext/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 812 | fs/ext/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
i_mode | 816 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 59 | fs/ext/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 86 | fs/ext/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 166 | fs/ext/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 167 | fs/ext/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 116 | fs/inode.c | inode->i_ino,inode->i_mode); |
i_mode | 171 | fs/inode.c | inode_table[i].i_ino,inode_table[i].i_mode); |
i_mode | 21 | fs/ioctl.c | if (S_ISREG(filp->f_inode->i_mode) && cmd == BMAP_IOCTL && |
i_mode | 57 | fs/minix/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) |
i_mode | 87 | fs/minix/file.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) { |
i_mode | 88 | fs/minix/file.c | printk("minix_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 171 | fs/minix/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 172 | fs/minix/file.c | printk("minix_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 227 | fs/minix/inode.c | inode->i_mode = raw_inode->i_mode; |
i_mode | 233 | fs/minix/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 239 | fs/minix/inode.c | if (S_ISREG(inode->i_mode)) |
i_mode | 241 | fs/minix/inode.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 243 | fs/minix/inode.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 245 | fs/minix/inode.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 247 | fs/minix/inode.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 249 | fs/minix/inode.c | else if (S_ISFIFO(inode->i_mode)) { |
i_mode | 270 | fs/minix/inode.c | raw_inode->i_mode = inode->i_mode; |
i_mode | 276 | fs/minix/inode.c | if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) |
i_mode | 117 | fs/minix/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 220 | fs/minix/namei.c | inode->i_mode = mode; |
i_mode | 258 | fs/minix/namei.c | inode->i_mode = mode; |
i_mode | 260 | fs/minix/namei.c | if (S_ISREG(inode->i_mode)) |
i_mode | 262 | fs/minix/namei.c | else if (S_ISDIR(inode->i_mode)) |
i_mode | 264 | fs/minix/namei.c | else if (S_ISLNK(inode->i_mode)) |
i_mode | 266 | fs/minix/namei.c | else if (S_ISCHR(inode->i_mode)) |
i_mode | 268 | fs/minix/namei.c | else if (S_ISBLK(inode->i_mode)) |
i_mode | 270 | fs/minix/namei.c | else if (S_ISFIFO(inode->i_mode)) { |
i_mode | 341 | fs/minix/namei.c | inode->i_mode = I_DIRECTORY | (mode & 0777 & ~current->umask); |
i_mode | 422 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
i_mode | 429 | fs/minix/namei.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 473 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && !suser() && |
i_mode | 477 | fs/minix/namei.c | if (S_ISDIR(inode->i_mode)) |
i_mode | 509 | fs/minix/namei.c | inode->i_mode = S_IFLNK | 0777; |
i_mode | 564 | fs/minix/namei.c | if (S_ISDIR(oldinode->i_mode)) { |
i_mode | 664 | fs/minix/namei.c | if ((old_dir->i_mode & S_ISVTX) && |
i_mode | 680 | fs/minix/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
i_mode | 684 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 53 | fs/minix/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 80 | fs/minix/symlink.c | if (!S_ISLNK(inode->i_mode)) { |
i_mode | 124 | fs/minix/truncate.c | if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || |
i_mode | 125 | fs/minix/truncate.c | S_ISLNK(inode->i_mode))) |
i_mode | 75 | fs/msdos/dir.c | if (!inode || !S_ISDIR(inode->i_mode)) return -EBADF; |
i_mode | 233 | fs/msdos/fat.c | if (inode->i_ino == MSDOS_ROOT_INO || (S_ISDIR(inode->i_mode) && |
i_mode | 90 | fs/msdos/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 91 | fs/msdos/file.c | printk("msdos_file_read: mode = %07o\n",inode->i_mode); |
i_mode | 138 | fs/msdos/file.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 139 | fs/msdos/file.c | printk("msdos_file_write: mode = %07o\n",inode->i_mode); |
i_mode | 207 | fs/msdos/inode.c | inode->i_mode = (0777 & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
i_mode | 223 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,0777 & |
i_mode | 234 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,0666 & |
i_mode | 263 | fs/msdos/inode.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 271 | fs/msdos/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | inode->i_data[D_ATTRS]; |
i_mode | 94 | fs/msdos/misc.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 146 | fs/msdos/misc.c | if (S_ISDIR(inode->i_mode)) { |
i_mode | 344 | fs/msdos/misc.c | if (!S_ISDIR(dir->i_mode)) panic("Non-directory fed to m_p_i"); |
i_mode | 112 | fs/msdos/namei.c | if (!S_ISDIR(dir->i_mode)) { |
i_mode | 279 | fs/msdos/namei.c | if (!S_ISDIR(inode->i_mode)) goto rmdir_done; |
i_mode | 323 | fs/msdos/namei.c | if (!S_ISREG(inode->i_mode)) { |
i_mode | 361 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
i_mode | 428 | fs/msdos/namei.c | if (S_ISDIR(new_inode->i_mode)) { |
i_mode | 466 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
i_mode | 42 | fs/namei.c | int mode = inode->i_mode; |
i_mode | 246 | fs/namei.c | if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { |
i_mode | 257 | fs/namei.c | if ((S_ISDIR(inode->i_mode) && (flag & O_ACCMODE)) || |
i_mode | 71 | fs/open.c | if (S_ISDIR(inode->i_mode) || !permission(inode,MAY_WRITE)) { |
i_mode | 97 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
i_mode | 151 | fs/open.c | int res, i_mode; |
i_mode | 156 | fs/open.c | i_mode = res = inode->i_mode & 0777; |
i_mode | 171 | fs/open.c | (!(mode & 1) || (i_mode & 0111))) |
i_mode | 182 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 201 | fs/open.c | if (!S_ISDIR(inode->i_mode)) { |
i_mode | 227 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
i_mode | 246 | fs/open.c | inode->i_mode = (mode & 07777) | (inode->i_mode & ~07777); |
i_mode | 90 | fs/select.c | if (S_ISCHR(current->filp[i]->f_inode->i_mode)) |
i_mode | 92 | fs/select.c | if (S_ISFIFO(current->filp[i]->f_inode->i_mode)) |
i_mode | 94 | fs/select.c | if (S_ISSOCK(current->filp[i]->f_inode->i_mode)) |
i_mode | 23 | fs/stat.c | tmp.st_mode = inode->i_mode; |
i_mode | 28 | fs/stat.c | if( S_ISFIFO(inode->i_mode) ) |
i_mode | 46 | fs/stat.c | tmp.st_mode = inode->i_mode; |
i_mode | 51 | fs/stat.c | if( S_ISFIFO(inode->i_mode) ) |
i_mode | 184 | fs/super.c | if (!S_ISBLK(inode->i_mode)) { |
i_mode | 218 | fs/super.c | if (!S_ISDIR(dir_i->i_mode)) { |
i_mode | 270 | fs/super.c | if (!S_ISBLK(inode->i_mode)) |
i_mode | 28 | include/linux/ext_fs.h | unsigned short i_mode; |
i_mode | 117 | include/linux/fs.h | umode_t i_mode; |
i_mode | 19 | include/linux/minix_fs.h | unsigned short i_mode; |
i_mode | 170 | mm/mmap.c | if (S_ISCHR(inode->i_mode)) |
i_mode | 319 | mm/swap.c | if (S_ISBLK(swap_inode->i_mode)) { |
i_mode | 322 | mm/swap.c | } else if (S_ISREG(swap_inode->i_mode)) |
i_mode | 168 | net/socket.c | SOCK_INODE(sock)->i_mode = S_IFSOCK; |