Lines Matching refs:i_mode
175 umode_t mode = inode->i_mode;
235 if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE)))
257 umode_t mode = inode->i_mode;
806 ((lookup_flags & LOOKUP_FOLLOW) || S_ISDIR(inode->i_mode));
1033 if (!S_ISDIR(dentry->d_inode->i_mode))
1266 if (!(dir->i_mode & S_ISVTX))
1313 if (!S_ISDIR(victim->d_inode->i_mode))
1317 } else if (S_ISDIR(victim->d_inode->i_mode))
1415 switch (inode->i_mode & S_IFMT) {
1535 if (special_file(inode->i_mode))
1719 if (S_ISDIR(path->dentry->d_inode->i_mode))
1823 if (!(nd.flags & LOOKUP_FOLLOW) && !S_ISDIR(inode->i_mode))
2317 S_ISDIR(dentry->d_inode->i_mode) ? -EISDIR : -ENOTDIR;
2426 if (S_ISDIR(inode->i_mode))
2585 int is_dir = S_ISDIR(old_dentry->d_inode->i_mode);
2666 if (!S_ISDIR(old_dentry->d_inode->i_mode)) {