Lines Matching refs:i_sb

16 	struct super_block *sb = i->i_sb;  in hpfs_init_inode()
48 struct super_block *sb = i->i_sb; in hpfs_read_inode()
62 if (hpfs_sb(i->i_sb)->sb_eas) { in hpfs_read_inode()
63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode()
70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode()
77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode()
89 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode()
99 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode()
128 hpfs_count_dnodes(i->i_sb, hpfs_inode->i_dno, &n_dnodes, &n_subdirs, NULL); in hpfs_read_inode()
153 } else*/ if (hpfs_sb(i->i_sb)->sb_eas >= 2) { in hpfs_write_inode_ea()
155 if (!uid_eq(i->i_uid, hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea()
160 if (!gid_eq(i->i_gid, hpfs_sb(i->i_sb)->sb_gid) || hpfs_inode->i_ea_gid) { in hpfs_write_inode_ea()
166 if ((i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0 : 0111)) in hpfs_write_inode_ea()
168 && i->i_mode != ((hpfs_sb(i->i_sb)->sb_mode & ~(S_ISDIR(i->i_mode) ? 0222 : 0333)) in hpfs_write_inode_ea()
186 if (i->i_ino == hpfs_sb(i->i_sb)->sb_root) return; in hpfs_write_inode()
196 parent = iget_locked(i->i_sb, hpfs_inode->i_parent_dir); in hpfs_write_inode()
216 if (i->i_ino == hpfs_sb(i->i_sb)->sb_root) return; in hpfs_write_inode_nolock()
217 if (!(fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) return; in hpfs_write_inode_nolock()
218 if (i->i_ino != hpfs_sb(i->i_sb)->sb_root && i->i_nlink) { in hpfs_write_inode_nolock()
219 if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) { in hpfs_write_inode_nolock()
233 de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec)); in hpfs_write_inode_nolock()
234 de->read_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_atime.tv_sec)); in hpfs_write_inode_nolock()
235 de->creation_date = cpu_to_le32(gmt_to_local(i->i_sb, inode_get_ctime(i).tv_sec)); in hpfs_write_inode_nolock()
243 de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec)); in hpfs_write_inode_nolock()
244 de->read_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_atime.tv_sec)); in hpfs_write_inode_nolock()
245 de->creation_date = cpu_to_le32(gmt_to_local(i->i_sb, inode_get_ctime(i).tv_sec)); in hpfs_write_inode_nolock()
252 hpfs_error(i->i_sb, in hpfs_write_inode_nolock()
266 hpfs_lock(inode->i_sb); in hpfs_setattr()
267 if (inode->i_ino == hpfs_sb(inode->i_sb)->sb_root) in hpfs_setattr()
297 hpfs_unlock(inode->i_sb); in hpfs_setattr()
314 hpfs_lock(inode->i_sb); in hpfs_evict_inode()
315 hpfs_remove_fnode(inode->i_sb, inode->i_ino); in hpfs_evict_inode()
316 hpfs_unlock(inode->i_sb); in hpfs_evict_inode()