Lines Matching refs:hpfs_inode

17 	struct hpfs_inode_info *hpfs_inode = hpfs_i(i);  in hpfs_init_inode()  local
25 hpfs_inode->i_dno = 0; in hpfs_init_inode()
26 hpfs_inode->i_n_secs = 0; in hpfs_init_inode()
27 hpfs_inode->i_file_sec = 0; in hpfs_init_inode()
28 hpfs_inode->i_disk_sec = 0; in hpfs_init_inode()
29 hpfs_inode->i_dpos = 0; in hpfs_init_inode()
30 hpfs_inode->i_dsubdno = 0; in hpfs_init_inode()
31 hpfs_inode->i_ea_mode = 0; in hpfs_init_inode()
32 hpfs_inode->i_ea_uid = 0; in hpfs_init_inode()
33 hpfs_inode->i_ea_gid = 0; in hpfs_init_inode()
34 hpfs_inode->i_ea_size = 0; in hpfs_init_inode()
36 hpfs_inode->i_rddir_off = NULL; in hpfs_init_inode()
37 hpfs_inode->i_dirty = 0; in hpfs_init_inode()
49 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_read_inode() local
66 hpfs_inode->i_ea_uid = 1; in hpfs_read_inode()
73 hpfs_inode->i_ea_gid = 1; in hpfs_read_inode()
94 hpfs_inode->i_ea_mode = 1; in hpfs_read_inode()
121 hpfs_inode->i_parent_dir = le32_to_cpu(fnode->up); in hpfs_read_inode()
122 hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_read_inode()
125 if (hpfs_map_fnode(sb, hpfs_inode->i_parent_dir, &bh0)) brelse(bh0); in hpfs_read_inode()
128 hpfs_count_dnodes(i->i_sb, hpfs_inode->i_dno, &n_dnodes, &n_subdirs, NULL); in hpfs_read_inode()
134 if (!hpfs_inode->i_ea_mode) i->i_mode &= ~0111; in hpfs_read_inode()
148 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode_ea() local
155 if (!uid_eq(i->i_uid, hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea()
158 hpfs_inode->i_ea_uid = 1; 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()
163 hpfs_inode->i_ea_gid = 1; in hpfs_write_inode_ea()
169 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { in hpfs_write_inode_ea()
173 hpfs_inode->i_ea_mode = 1; in hpfs_write_inode_ea()
184 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode() local
187 if (hpfs_inode->i_rddir_off && !atomic_read(&i->i_count)) { in hpfs_write_inode()
188 if (*hpfs_inode->i_rddir_off) in hpfs_write_inode()
190 kfree(hpfs_inode->i_rddir_off); in hpfs_write_inode()
191 hpfs_inode->i_rddir_off = NULL; in hpfs_write_inode()
196 parent = iget_locked(i->i_sb, hpfs_inode->i_parent_dir); in hpfs_write_inode()
198 hpfs_inode->i_dirty = 0; in hpfs_write_inode()
211 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode_nolock() local
237 de->ea_size = cpu_to_le32(hpfs_inode->i_ea_size); in hpfs_write_inode_nolock()
242 if ((de = map_dirent(i, hpfs_inode->i_dno, "\001\001", 2, NULL, &qbh))) { in hpfs_write_inode_nolock()
302 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_write_if_changed() local
304 if (hpfs_inode->i_dirty) in hpfs_write_if_changed()