Lines Matching refs:current_ext
5420 int current_ext, /* idx of gotp */ in xfs_bmse_merge() argument
5446 xfs_iext_remove(ip, current_ext, 1, 0); in xfs_bmse_merge()
5493 int *current_ext, in xfs_bmse_shift_one() argument
5526 if (!*current_ext) { in xfs_bmse_shift_one()
5535 adj_irecp = xfs_iext_get_ext(ifp, *current_ext - 1); in xfs_bmse_shift_one()
5546 *current_ext, gotp, adj_irecp, in xfs_bmse_shift_one()
5552 if (*current_ext >= (total_extents - 1)) in xfs_bmse_shift_one()
5559 adj_irecp = xfs_iext_get_ext(ifp, *current_ext + 1); in xfs_bmse_shift_one()
5579 (*current_ext)++; in xfs_bmse_shift_one()
5581 (*current_ext)--; in xfs_bmse_shift_one()
5629 xfs_extnum_t current_ext; in xfs_bmap_shift_extents() local
5709 gotp = xfs_iext_bno_to_ext(ifp, *next_fsb, ¤t_ext); in xfs_bmap_shift_extents()
5716 if ((direction == SHIFT_LEFT && current_ext >= stop_extent) || in xfs_bmap_shift_extents()
5717 (direction == SHIFT_RIGHT && current_ext <= stop_extent)) { in xfs_bmap_shift_extents()
5724 ¤t_ext, gotp, cur, &logflags, in xfs_bmap_shift_extents()
5737 if (current_ext == stop_extent) { in xfs_bmap_shift_extents()
5742 gotp = xfs_iext_get_ext(ifp, current_ext); in xfs_bmap_shift_extents()
5783 xfs_extnum_t current_ext; in xfs_bmap_split_extent_at() local
5813 gotp = xfs_iext_bno_to_ext(ifp, split_fsb, ¤t_ext); in xfs_bmap_split_extent_at()
5861 current_ext++; in xfs_bmap_split_extent_at()
5862 xfs_iext_insert(ip, current_ext, 1, &new, 0); in xfs_bmap_split_extent_at()