Lines Matching refs:i_mode
210 inode->i_mode = mode; in hfsplus_get_perms()
215 perms->mode = cpu_to_be32(inode->i_mode); in hfsplus_set_perms()
281 inode->i_mode = mode; in hfsplus_new_inode()
286 if (S_ISDIR(inode->i_mode)) { in hfsplus_new_inode()
292 } else if (S_ISREG(inode->i_mode)) { in hfsplus_new_inode()
297 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_new_inode()
314 if (S_ISDIR(inode->i_mode)) { in hfsplus_delete_inode()
320 if (S_ISREG(inode->i_mode)) { in hfsplus_delete_inode()
325 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_delete_inode()
397 if (S_ISREG(inode->i_mode)) { in hfsplus_cat_read_inode()
403 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_cat_read_inode()
407 init_special_inode(inode, inode->i_mode, in hfsplus_cat_read_inode()
441 if (S_ISDIR(inode->i_mode)) { in hfsplus_cat_write_inode()
466 if (S_ISREG(inode->i_mode)) in hfsplus_cat_write_inode()
468 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in hfsplus_cat_write_inode()