Lines Matching refs:i_mode
155 inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777);
173 * Don't set the sticky bit in i_mode, unless we want the VFS
177 fi->orig_i_mode = inode->i_mode;
179 inode->i_mode &= ~S_ISVTX;
201 if (S_ISREG(inode->i_mode) && oldsize != attr->size) {
209 inode->i_mode = attr->mode & S_IFMT;
211 if (S_ISREG(inode->i_mode)) {
214 } else if (S_ISDIR(inode->i_mode))
216 else if (S_ISLNK(inode->i_mode))
218 else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) ||
219 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) {
221 init_special_inode(inode, inode->i_mode,
262 } else if ((inode->i_mode ^ attr->mode) & S_IFMT) {
638 bool encode_parent = connectable && !S_ISDIR(inode->i_mode);