Lines Matching refs:offset_fsb

247 	xfs_fileoff_t		offset_fsb,
256 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got))
260 if (got.br_startoff >= offset_fsb + count_fsb)
267 xfs_trim_extent(&got, offset_fsb, count_fsb);
290 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset);
292 xfs_filblks_t count_fsb = end_fsb - offset_fsb;
298 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
316 xfs_fileoff_t offset_fsb = imap->br_startoff;
326 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap))
327 cmap->br_startoff = offset_fsb + count_fsb;
328 if (cmap->br_startoff > offset_fsb) {
341 xfs_trim_extent(cmap, offset_fsb, count_fsb);
353 xfs_fileoff_t offset_fsb = imap->br_startoff;
360 xfs_trim_extent(cmap, offset_fsb, count_fsb);
372 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
580 xfs_fileoff_t offset_fsb,
595 while (got.br_startoff + got.br_blockcount > offset_fsb) {
597 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb);
667 xfs_fileoff_t offset_fsb;
674 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
690 error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb,
711 * We aim to remap the range starting at @offset_fsb and ending at @end_fsb
721 xfs_fileoff_t *offset_fsb,
735 *offset_fsb = end_fsb;
766 if (!xfs_iext_lookup_extent(ip, ifp, *offset_fsb, &icur, &got) ||
768 *offset_fsb = end_fsb;
782 *offset_fsb = end_fsb;
787 xfs_trim_extent(&del, *offset_fsb, end_fsb - *offset_fsb);
847 *offset_fsb = del.br_startoff + del.br_blockcount;
865 xfs_fileoff_t offset_fsb;
871 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
906 while (end_fsb > offset_fsb && !error)
907 error = xfs_reflink_end_cow_extent(ip, &offset_fsb, end_fsb);