Lines Matching defs:shift
5583 * Determine whether an extent shift can be accomplished by a merge with the
5584 * extent that precedes the target hole of the shift.
5589 struct xfs_bmbt_irec *got, /* current extent to shift */
5590 xfs_fileoff_t shift) /* shift fsb */
5594 startoff = got->br_startoff - shift;
5610 * A bmap extent shift adjusts the file offset of an extent to fill a preceding
5611 * hole in the file. If an extent shift would result in the extent being fully
5613 * the preceding extent rather than do the shift.
5615 * This function assumes the caller has verified a shift-by-merge is possible
5623 xfs_fileoff_t shift, /* shift fsb */
5625 struct xfs_bmbt_irec *got, /* extent to shift */
5640 ASSERT(xfs_bmse_can_merge(left, got, shift));
5834 xfs_fileoff_t shift)
5848 ((got.br_startoff + shift) & BMBT_STARTOFF_MASK) < got.br_startoff)
5924 * Unlike a left shift (which involves a hole punch), a right
5925 * shift does not modify extent neighbors in any way. We should