Lines Matching refs:i_rddir_off
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()
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()
77 if (!hpfs_inode->i_rddir_off) return; in for_all_poss()
78 for (i = hpfs_inode->i_rddir_off; *i; i++) (*f)(*i, p1, p2); in for_all_poss()