Lines Matching refs:current_ext
5459 int current_ext, /* idx of gotp */ in xfs_bmse_merge() argument
5485 xfs_iext_remove(ip, current_ext, 1, 0); in xfs_bmse_merge()
5532 int *current_ext, in xfs_bmse_shift_one() argument
5565 if (!*current_ext) { in xfs_bmse_shift_one()
5574 adj_irecp = xfs_iext_get_ext(ifp, *current_ext - 1); in xfs_bmse_shift_one()
5585 *current_ext, gotp, adj_irecp, in xfs_bmse_shift_one()
5591 if (*current_ext >= (total_extents - 1)) in xfs_bmse_shift_one()
5598 adj_irecp = xfs_iext_get_ext(ifp, *current_ext + 1); in xfs_bmse_shift_one()
5618 (*current_ext)++; in xfs_bmse_shift_one()
5620 (*current_ext)--; in xfs_bmse_shift_one()
5668 xfs_extnum_t current_ext; in xfs_bmap_shift_extents() local
5748 gotp = xfs_iext_bno_to_ext(ifp, *next_fsb, ¤t_ext); in xfs_bmap_shift_extents()
5755 if ((direction == SHIFT_LEFT && current_ext >= stop_extent) || in xfs_bmap_shift_extents()
5756 (direction == SHIFT_RIGHT && current_ext <= stop_extent)) { in xfs_bmap_shift_extents()
5763 ¤t_ext, gotp, cur, &logflags, in xfs_bmap_shift_extents()
5776 if (current_ext == stop_extent) { in xfs_bmap_shift_extents()
5781 gotp = xfs_iext_get_ext(ifp, current_ext); in xfs_bmap_shift_extents()
5822 xfs_extnum_t current_ext; in xfs_bmap_split_extent_at() local
5852 gotp = xfs_iext_bno_to_ext(ifp, split_fsb, ¤t_ext); in xfs_bmap_split_extent_at()
5900 current_ext++; in xfs_bmap_split_extent_at()
5901 xfs_iext_insert(ip, current_ext, 1, &new, 0); in xfs_bmap_split_extent_at()