Lines Matching refs:hpfs_inode
26 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_add_pos() local
30 if (hpfs_inode->i_rddir_off) in hpfs_add_pos()
31 for (; hpfs_inode->i_rddir_off[i]; i++) in hpfs_add_pos()
32 if (hpfs_inode->i_rddir_off[i] == pos) return; in hpfs_add_pos()
38 if (hpfs_inode->i_rddir_off) { in hpfs_add_pos()
39 memcpy(ppos, hpfs_inode->i_rddir_off, i * sizeof(loff_t)); in hpfs_add_pos()
40 kfree(hpfs_inode->i_rddir_off); in hpfs_add_pos()
42 hpfs_inode->i_rddir_off = ppos; in hpfs_add_pos()
44 hpfs_inode->i_rddir_off[i] = pos; in hpfs_add_pos()
45 hpfs_inode->i_rddir_off[i + 1] = NULL; in hpfs_add_pos()
50 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_del_pos() local
53 if (!hpfs_inode->i_rddir_off) goto not_f; in hpfs_del_pos()
54 for (i = hpfs_inode->i_rddir_off; *i; i++) if (*i == pos) goto fnd; in hpfs_del_pos()
60 if (j - 1 == hpfs_inode->i_rddir_off) { in hpfs_del_pos()
61 kfree(hpfs_inode->i_rddir_off); in hpfs_del_pos()
62 hpfs_inode->i_rddir_off = NULL; in hpfs_del_pos()
73 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in for_all_poss() local
76 if (!hpfs_inode->i_rddir_off) return; in for_all_poss()
77 for (i = hpfs_inode->i_rddir_off; *i; i++) (*f)(*i, p1, p2); in for_all_poss()
380 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_add_dirent() local
387 dno = hpfs_inode->i_dno; in hpfs_add_dirent()
510 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in delete_empty_dnode() local
558 hpfs_inode->i_dno = down; in delete_empty_dnode()