Home
last modified time | relevance | path

Searched refs:oldsfp (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_dir2_sf.c519 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()
[all …]
Dxfs_dir2_block.c1100 struct xfs_dir2_sf_hdr *oldsfp = ifp->if_data; in xfs_dir2_sf_to_block() local
1111 ASSERT(oldsfp != NULL); in xfs_dir2_sf_to_block()
1112 ASSERT(dp->i_disk_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block()
1120 memcpy(sfp, oldsfp, ifp->if_bytes); in xfs_dir2_sf_to_block()