/* Extract the startoff field from an in memory bmap extent record.  */
xfs_fileoff_t xfs_bmbt_get_startoff(xfs_bmbt_rec_host_t *r)
/* Extract the startoff field from an in memory bmap extent record.  */
xfs_fileoff_t xfs_bmbt_get_startoff(xfs_bmbt_rec_host_t *r)
{
	return ((xfs_fileoff_t)r->l0 &
		 xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9;
}