Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_inode_fork.c948 int ext_diff) /* number of extents to add */ in xfs_iext_add() argument
956 byte_diff = ext_diff * sizeof(xfs_bmbt_rec_t); in xfs_iext_add()
963 if (nextents + ext_diff <= XFS_INLINE_EXTS) { in xfs_iext_add()
965 memmove(&ifp->if_u2.if_inline_ext[idx + ext_diff], in xfs_iext_add()
979 else if (nextents + ext_diff <= XFS_LINEAR_EXTS) { in xfs_iext_add()
982 memmove(&ifp->if_u1.if_extents[idx + ext_diff], in xfs_iext_add()
994 ASSERT(nextents + ext_diff > XFS_LINEAR_EXTS); in xfs_iext_add()
1003 if (erp && erp->er_extcount + ext_diff <= XFS_LINEAR_EXTS) { in xfs_iext_add()
1005 memmove(&erp->er_extbuf[page_idx + ext_diff], in xfs_iext_add()
1011 erp->er_extcount += ext_diff; in xfs_iext_add()
[all …]