Lines Matching refs:hpfs_inode

15 	struct hpfs_inode_info *hpfs_inode = hpfs_i(i);  in hpfs_init_inode()  local
23 hpfs_inode->i_dno = 0; in hpfs_init_inode()
24 hpfs_inode->i_n_secs = 0; in hpfs_init_inode()
25 hpfs_inode->i_file_sec = 0; in hpfs_init_inode()
26 hpfs_inode->i_disk_sec = 0; in hpfs_init_inode()
27 hpfs_inode->i_dpos = 0; in hpfs_init_inode()
28 hpfs_inode->i_dsubdno = 0; in hpfs_init_inode()
29 hpfs_inode->i_ea_mode = 0; in hpfs_init_inode()
30 hpfs_inode->i_ea_uid = 0; in hpfs_init_inode()
31 hpfs_inode->i_ea_gid = 0; in hpfs_init_inode()
32 hpfs_inode->i_ea_size = 0; in hpfs_init_inode()
34 hpfs_inode->i_rddir_off = NULL; in hpfs_init_inode()
35 hpfs_inode->i_dirty = 0; in hpfs_init_inode()
47 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_read_inode() local
64 hpfs_inode->i_ea_uid = 1; in hpfs_read_inode()
71 hpfs_inode->i_ea_gid = 1; in hpfs_read_inode()
91 hpfs_inode->i_ea_mode = 1; in hpfs_read_inode()
118 hpfs_inode->i_parent_dir = le32_to_cpu(fnode->up); in hpfs_read_inode()
119 hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_read_inode()
122 if (hpfs_map_fnode(sb, hpfs_inode->i_parent_dir, &bh0)) brelse(bh0); in hpfs_read_inode()
125 hpfs_count_dnodes(i->i_sb, hpfs_inode->i_dno, &n_dnodes, &n_subdirs, NULL); in hpfs_read_inode()
131 if (!hpfs_inode->i_ea_mode) i->i_mode &= ~0111; in hpfs_read_inode()
145 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode_ea() local
152 if ((i->i_uid != hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea()
155 hpfs_inode->i_ea_uid = 1; in hpfs_write_inode_ea()
157 if ((i->i_gid != hpfs_sb(i->i_sb)->sb_gid) || hpfs_inode->i_ea_gid) { in hpfs_write_inode_ea()
160 hpfs_inode->i_ea_gid = 1; in hpfs_write_inode_ea()
166 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { in hpfs_write_inode_ea()
170 hpfs_inode->i_ea_mode = 1; in hpfs_write_inode_ea()
181 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode() local
184 if (hpfs_inode->i_rddir_off && !atomic_read(&i->i_count)) { in hpfs_write_inode()
185 if (*hpfs_inode->i_rddir_off) printk("HPFS: write_inode: some position still there\n"); in hpfs_write_inode()
186 kfree(hpfs_inode->i_rddir_off); in hpfs_write_inode()
187 hpfs_inode->i_rddir_off = NULL; in hpfs_write_inode()
192 parent = iget_locked(i->i_sb, hpfs_inode->i_parent_dir); in hpfs_write_inode()
194 hpfs_inode->i_dirty = 0; in hpfs_write_inode()
207 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_write_inode_nolock() local
233 de->ea_size = cpu_to_le32(hpfs_inode->i_ea_size); in hpfs_write_inode_nolock()
238 if ((de = map_dirent(i, hpfs_inode->i_dno, "\001\001", 2, NULL, &qbh))) { in hpfs_write_inode_nolock()
293 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_write_if_changed() local
295 if (hpfs_inode->i_dirty) in hpfs_write_if_changed()