Lines Matching refs:oldsfp

519 	xfs_dir2_sf_hdr_t	*oldsfp;	/* original shortform dir */  in xfs_dir2_sf_addname_hard()  local
528 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_addname_hard()
529 memcpy(oldsfp, dp->i_df.if_data, old_isize); in xfs_dir2_sf_addname_hard()
536 oldsfep = xfs_dir2_sf_firstentry(oldsfp), in xfs_dir2_sf_addname_hard()
541 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep), in xfs_dir2_sf_addname_hard()
558 nbytes = (int)((char *)oldsfep - (char *)oldsfp); in xfs_dir2_sf_addname_hard()
559 memcpy(sfp, oldsfp, nbytes); in xfs_dir2_sf_addname_hard()
1137 struct xfs_dir2_sf_hdr *oldsfp = dp->i_df.if_data; in xfs_dir2_sf_toino4() local
1155 ASSERT(oldsfp->i8count == 1); in xfs_dir2_sf_toino4()
1156 memcpy(buf, oldsfp, oldsize); in xfs_dir2_sf_toino4()
1160 newsize = oldsize - (oldsfp->count + 1) * XFS_INO64_DIFF; in xfs_dir2_sf_toino4()
1166 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_toino4()
1171 sfp->count = oldsfp->count; in xfs_dir2_sf_toino4()
1173 xfs_dir2_sf_put_parent_ino(sfp, xfs_dir2_sf_get_parent_ino(oldsfp)); in xfs_dir2_sf_toino4()
1178 oldsfep = xfs_dir2_sf_firstentry(oldsfp); in xfs_dir2_sf_toino4()
1181 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep)) { in xfs_dir2_sf_toino4()
1186 xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep)); in xfs_dir2_sf_toino4()
1209 struct xfs_dir2_sf_hdr *oldsfp = dp->i_df.if_data; in xfs_dir2_sf_toino8() local
1227 ASSERT(oldsfp->i8count == 0); in xfs_dir2_sf_toino8()
1228 memcpy(buf, oldsfp, oldsize); in xfs_dir2_sf_toino8()
1232 newsize = oldsize + (oldsfp->count + 1) * XFS_INO64_DIFF; in xfs_dir2_sf_toino8()
1238 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_toino8()
1243 sfp->count = oldsfp->count; in xfs_dir2_sf_toino8()
1245 xfs_dir2_sf_put_parent_ino(sfp, xfs_dir2_sf_get_parent_ino(oldsfp)); in xfs_dir2_sf_toino8()
1250 oldsfep = xfs_dir2_sf_firstentry(oldsfp); in xfs_dir2_sf_toino8()
1253 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep)) { in xfs_dir2_sf_toino8()
1258 xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep)); in xfs_dir2_sf_toino8()