Lines Matching refs:oldsfp

524 	xfs_dir2_sf_hdr_t	*oldsfp;	/* original shortform dir */  in xfs_dir2_sf_addname_hard()  local
534 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_addname_hard()
535 memcpy(oldsfp, sfp, old_isize); in xfs_dir2_sf_addname_hard()
542 oldsfep = xfs_dir2_sf_firstentry(oldsfp), in xfs_dir2_sf_addname_hard()
547 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep), in xfs_dir2_sf_addname_hard()
567 nbytes = (int)((char *)oldsfep - (char *)oldsfp); in xfs_dir2_sf_addname_hard()
568 memcpy(sfp, oldsfp, nbytes); in xfs_dir2_sf_addname_hard()
1164 xfs_dir2_sf_hdr_t *oldsfp; /* old sf directory */ in xfs_dir2_sf_toino4() local
1178 oldsfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_toino4()
1179 ASSERT(oldsfp->i8count == 1); in xfs_dir2_sf_toino4()
1180 memcpy(buf, oldsfp, oldsize); in xfs_dir2_sf_toino4()
1184 newsize = oldsize - (oldsfp->count + 1) * XFS_INO64_DIFF; in xfs_dir2_sf_toino4()
1190 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_toino4()
1195 sfp->count = oldsfp->count; in xfs_dir2_sf_toino4()
1197 xfs_dir2_sf_put_parent_ino(sfp, xfs_dir2_sf_get_parent_ino(oldsfp)); in xfs_dir2_sf_toino4()
1202 oldsfep = xfs_dir2_sf_firstentry(oldsfp); in xfs_dir2_sf_toino4()
1205 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep)) { in xfs_dir2_sf_toino4()
1210 xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep)); in xfs_dir2_sf_toino4()
1237 xfs_dir2_sf_hdr_t *oldsfp; /* old sf directory */ in xfs_dir2_sf_toino8() local
1251 oldsfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_toino8()
1252 ASSERT(oldsfp->i8count == 0); in xfs_dir2_sf_toino8()
1253 memcpy(buf, oldsfp, oldsize); in xfs_dir2_sf_toino8()
1257 newsize = oldsize + (oldsfp->count + 1) * XFS_INO64_DIFF; in xfs_dir2_sf_toino8()
1263 oldsfp = (xfs_dir2_sf_hdr_t *)buf; in xfs_dir2_sf_toino8()
1268 sfp->count = oldsfp->count; in xfs_dir2_sf_toino8()
1270 xfs_dir2_sf_put_parent_ino(sfp, xfs_dir2_sf_get_parent_ino(oldsfp)); in xfs_dir2_sf_toino8()
1275 oldsfep = xfs_dir2_sf_firstentry(oldsfp); in xfs_dir2_sf_toino8()
1278 oldsfep = xfs_dir2_sf_nextentry(mp, oldsfp, oldsfep)) { in xfs_dir2_sf_toino8()
1283 xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep)); in xfs_dir2_sf_toino8()