Lines Matching defs:del
585 struct xfs_bmbt_irec got, del;
596 del = got;
597 xfs_trim_extent(&del, offset_fsb, end_fsb - offset_fsb);
600 if (!del.br_blockcount) {
605 trace_xfs_reflink_cancel_cow(ip, &del);
607 if (isnullstartblock(del.br_startblock)) {
609 &icur, &got, &del);
612 } else if (del.br_state == XFS_EXT_UNWRITTEN || cancel_real) {
616 xfs_refcount_free_cow_extent(*tpp, del.br_startblock,
617 del.br_blockcount);
619 error = xfs_free_extent_later(*tpp, del.br_startblock,
620 del.br_blockcount, NULL,
631 xfs_bmap_del_extent_cow(ip, &icur, &got, &del);
635 del.br_blockcount);
725 struct xfs_bmbt_irec got, del, data;
776 * deletion; from now on @del represents the mapping that we're
786 del = got;
787 xfs_trim_extent(&del, *offset_fsb, end_fsb - *offset_fsb);
791 error = xfs_bmapi_read(ip, del.br_startoff, del.br_blockcount, &data,
797 data.br_blockcount = min(data.br_blockcount, del.br_blockcount);
798 del.br_blockcount = data.br_blockcount;
800 trace_xfs_reflink_cow_remap_from(ip, &del);
829 xfs_refcount_free_cow_extent(tp, del.br_startblock, del.br_blockcount);
832 xfs_bmap_map_extent(tp, ip, &del);
836 (long)del.br_blockcount);
839 xfs_bmap_del_extent_cow(ip, &icur, &got, &del);
847 *offset_fsb = del.br_startoff + del.br_blockcount;