Lines Matching refs:icur
247 struct xfs_iext_cursor icur; in xfs_reflink_convert_cow_locked() local
253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
270 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
274 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
315 struct xfs_iext_cursor icur; in xfs_find_trim_cow_extent() local
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent()
454 struct xfs_iext_cursor icur; in xfs_reflink_cancel_cow_blocks() local
459 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
469 xfs_iext_prev(ifp, &icur); in xfs_reflink_cancel_cow_blocks()
477 &icur, &got, &del); in xfs_reflink_cancel_cow_blocks()
496 xfs_bmap_del_extent_cow(ip, &icur, &got, &del); in xfs_reflink_cancel_cow_blocks()
505 xfs_iext_prev(ifp, &icur); in xfs_reflink_cancel_cow_blocks()
508 if (!xfs_iext_get_extent(ifp, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
590 struct xfs_iext_cursor icur; in xfs_reflink_end_cow_extent() local
628 if (!xfs_iext_lookup_extent_before(ip, ifp, end_fsb, &icur, &got) || in xfs_reflink_end_cow_extent()
676 xfs_bmap_del_extent_cow(ip, &icur, &got, &del); in xfs_reflink_end_cow_extent()
1393 struct xfs_iext_cursor icur; in xfs_reflink_inode_has_shared_extents() local
1403 found = xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got); in xfs_reflink_inode_has_shared_extents()
1422 found = xfs_iext_next_extent(ifp, &icur, &got); in xfs_reflink_inode_has_shared_extents()