Lines Matching refs:offset_fsb

244 	xfs_fileoff_t		offset_fsb,
253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got))
257 if (got.br_startoff >= offset_fsb + count_fsb)
264 xfs_trim_extent(&got, offset_fsb, count_fsb);
287 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset);
289 xfs_filblks_t count_fsb = end_fsb - offset_fsb;
295 error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
313 xfs_fileoff_t offset_fsb = imap->br_startoff;
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap))
324 cmap->br_startoff = offset_fsb + count_fsb;
325 if (cmap->br_startoff > offset_fsb) {
338 xfs_trim_extent(cmap, offset_fsb, count_fsb);
354 xfs_fileoff_t offset_fsb = imap->br_startoff;
428 xfs_trim_extent(cmap, offset_fsb, count_fsb);
437 return xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
460 xfs_fileoff_t offset_fsb,
475 while (got.br_startoff + got.br_blockcount > offset_fsb) {
477 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb);
545 xfs_fileoff_t offset_fsb;
552 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
568 error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb,
589 * We aim to remap the range starting at @offset_fsb and ending at @end_fsb
599 xfs_fileoff_t offset_fsb,
613 *end_fsb = offset_fsb;
637 got.br_startoff + got.br_blockcount <= offset_fsb) {
638 *end_fsb = offset_fsb;
649 xfs_trim_extent(&del, offset_fsb, *end_fsb - offset_fsb);
710 xfs_fileoff_t offset_fsb;
716 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset);
751 while (end_fsb > offset_fsb && !error)
752 error = xfs_reflink_end_cow_extent(ip, offset_fsb, &end_fsb);