Lines Matching refs:hpfs_inode
27 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_add_pos() local
31 if (hpfs_inode->i_rddir_off) in hpfs_add_pos()
32 for (; hpfs_inode->i_rddir_off[i]; i++) in hpfs_add_pos()
33 if (hpfs_inode->i_rddir_off[i] == pos) in hpfs_add_pos()
41 if (hpfs_inode->i_rddir_off) { in hpfs_add_pos()
42 memcpy(ppos, hpfs_inode->i_rddir_off, i * sizeof(loff_t)); in hpfs_add_pos()
43 kfree(hpfs_inode->i_rddir_off); in hpfs_add_pos()
45 hpfs_inode->i_rddir_off = ppos; in hpfs_add_pos()
47 hpfs_inode->i_rddir_off[i] = pos; in hpfs_add_pos()
48 hpfs_inode->i_rddir_off[i + 1] = NULL; in hpfs_add_pos()
54 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_del_pos() local
57 if (!hpfs_inode->i_rddir_off) goto not_f; in hpfs_del_pos()
58 for (i = hpfs_inode->i_rddir_off; *i; i++) if (*i == pos) goto fnd; in hpfs_del_pos()
64 if (j - 1 == hpfs_inode->i_rddir_off) { in hpfs_del_pos()
65 kfree(hpfs_inode->i_rddir_off); in hpfs_del_pos()
66 hpfs_inode->i_rddir_off = NULL; in hpfs_del_pos()
78 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in for_all_poss() local
81 if (!hpfs_inode->i_rddir_off) return; in for_all_poss()
82 for (i = hpfs_inode->i_rddir_off; *i; i++) (*f)(*i, p1, p2); in for_all_poss()
391 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_add_dirent() local
398 dno = hpfs_inode->i_dno; in hpfs_add_dirent()
520 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in delete_empty_dnode() local
569 hpfs_inode->i_dno = down; in delete_empty_dnode()