xfs_dir2_data_unusedsize
if (offset > end - xfs_dir2_data_unusedsize(1))
reclen = xfs_dir2_data_unusedsize(