Lines Matching refs:i_mode
875 if (!S_ISDIR(inode->i_mode)) {
1263 inode->i_mode = S_IFDIR | sbi->s_dmode;
1265 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
1275 inode->i_mode = S_IFREG | sbi->s_fmode;
1282 inode->i_mode = S_IFREG | S_IRUGO | S_IXUGO;
1364 if (S_ISDIR(inode->i_mode) && sbi->s_overriderockperm &&
1366 inode->i_mode = S_IFDIR | sbi->s_dmode;
1367 if (S_ISREG(inode->i_mode) && sbi->s_overriderockperm &&
1369 inode->i_mode = S_IFREG | sbi->s_fmode;
1372 if (S_ISREG(inode->i_mode)) {
1384 } else if (S_ISDIR(inode->i_mode)) {
1387 } else if (S_ISLNK(inode->i_mode)) {
1391 init_special_inode(inode, inode->i_mode, inode->i_rdev);