Searched refs:current_ext (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_bmap.c5420 int current_ext, /* idx of gotp */ xfs_bmse_merge()
5442 * current_ext index are invalid once the extent has been removed via xfs_bmse_merge()
5446 xfs_iext_remove(ip, current_ext, 1, 0); xfs_bmse_merge()
5493 int *current_ext, xfs_bmse_shift_one()
5526 if (!*current_ext) { xfs_bmse_shift_one()
5535 adj_irecp = xfs_iext_get_ext(ifp, *current_ext - 1); xfs_bmse_shift_one()
5546 *current_ext, gotp, adj_irecp, xfs_bmse_shift_one()
5552 if (*current_ext >= (total_extents - 1)) xfs_bmse_shift_one()
5559 adj_irecp = xfs_iext_get_ext(ifp, *current_ext + 1); xfs_bmse_shift_one()
5579 (*current_ext)++; xfs_bmse_shift_one()
5581 (*current_ext)--; xfs_bmse_shift_one()
5629 xfs_extnum_t current_ext; xfs_bmap_shift_extents() local
5702 * henceforth iterate with current_ext as extent list changes are locked xfs_bmap_shift_extents()
5709 gotp = xfs_iext_bno_to_ext(ifp, *next_fsb, &current_ext); xfs_bmap_shift_extents()
5716 if ((direction == SHIFT_LEFT && current_ext >= stop_extent) || xfs_bmap_shift_extents()
5717 (direction == SHIFT_RIGHT && current_ext <= stop_extent)) { xfs_bmap_shift_extents()
5724 &current_ext, gotp, cur, &logflags, xfs_bmap_shift_extents()
5737 if (current_ext == stop_extent) { xfs_bmap_shift_extents()
5742 gotp = xfs_iext_get_ext(ifp, current_ext); xfs_bmap_shift_extents()
5763 * the first block of the current_ext. @current_ext is a target extent
5783 xfs_extnum_t current_ext; xfs_bmap_split_extent_at() local
5813 gotp = xfs_iext_bno_to_ext(ifp, split_fsb, &current_ext); xfs_bmap_split_extent_at()
5861 current_ext++; xfs_bmap_split_extent_at()
5862 xfs_iext_insert(ip, current_ext, 1, &new, 0); xfs_bmap_split_extent_at()
5416 xfs_bmse_merge( struct xfs_inode *ip, int whichfork, xfs_fileoff_t shift, int current_ext, struct xfs_bmbt_rec_host *gotp, struct xfs_bmbt_rec_host *leftp, struct xfs_btree_cur *cur, int *logflags) xfs_bmse_merge() argument
5489 xfs_bmse_shift_one( struct xfs_inode *ip, int whichfork, xfs_fileoff_t offset_shift_fsb, int *current_ext, struct xfs_bmbt_rec_host *gotp, struct xfs_btree_cur *cur, int *logflags, enum shift_direction direction) xfs_bmse_shift_one() argument

Completed in 87 milliseconds