Lines Matching refs:i_mode
53 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in jffs2_do_setattr()
59 } else if (S_ISLNK(inode->i_mode)) { in jffs2_do_setattr()
80 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
89 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
112 ri->mode = cpu_to_jemode(inode->i_mode); in jffs2_do_setattr()
140 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
153 inode->i_mode = jemode_to_cpu(ri->mode); in jffs2_do_setattr()
204 rc = posix_acl_chmod(inode, inode->i_mode); in jffs2_setattr()
246 __func__, inode->i_ino, inode->i_mode); in jffs2_evict_inode()
280 inode->i_mode = jemode_to_cpu(latest_node.mode); in jffs2_iget()
292 switch (inode->i_mode & S_IFMT) { in jffs2_iget()
349 init_special_inode(inode, inode->i_mode, rdev); in jffs2_iget()
354 __func__, inode->i_mode, (unsigned long)inode->i_ino); in jffs2_iget()
385 iattr.ia_mode = inode->i_mode; in jffs2_dirty_inode()
448 if (dir_i->i_mode & S_ISGID) { in jffs2_new_inode()
474 inode->i_mode = jemode_to_cpu(ri->mode); in jffs2_new_inode()