xfs_refcount_still_have_space
while (*aglen > 0 && xfs_refcount_still_have_space(cur)) {
if (*aglen == 0 || !xfs_refcount_still_have_space(cur))