Lines Matching refs:i_rddir_off
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()
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()
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()