Lines Matching refs:data

41  * block, write the data to the new block, and if that succeeds we map the
63 * D: --RRRRRRSSSRRRRRRRR--- (data fork)
79 * to disturb the mapping in the data fork until we're sure that the write
81 * mapping from the data fork and moving the new mapping from the CoW fork to
82 * the data fork. This will be discussed shortly.
96 * CoW remapping must be done after the data block write completes,
97 * because we don't want to destroy the old data fork map until we're sure
101 * unmap the corresponding range in the data fork, map the new range into
102 * the data fork, and remove the extent from the CoW fork. Because of
365 * data and need the conversion, but for buffered writes we're done.
546 * CoW fork does not have an extent and data extent is shared.
555 * There may or may not be a data fork mapping.
709 * Remap part of the CoW fork into the data fork.
712 * into the data fork; this function will remap what it can (at the end of the
725 struct xfs_bmbt_irec got, del, data;
747 * the lead transaction is the refcountbt record deletion; the data
773 * Only remap real extents that contain data. With AIO, speculative
789 /* Grab the corresponding mapping in the data fork. */
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;
801 trace_xfs_reflink_cow_remap_to(ip, &data);
803 if (xfs_bmap_is_real_extent(&data)) {
808 xfs_bmap_unmap_extent(tp, ip, &data);
809 xfs_refcount_decrease_extent(tp, &data);
811 -data.br_blockcount);
812 } else if (data.br_startblock == DELAYSTARTBLOCK) {
821 error = xfs_bunmapi(NULL, ip, data.br_startoff,
822 data.br_blockcount, 0, 1, &done);
831 /* Map the new blocks into the data fork. */
834 /* Charge this new data fork mapping to the on-disk quota. */
857 * Remap parts of a file's data fork after a successful CoW.
1458 * of the destination file, then we can expose stale data from beyond the source
1470 * stale data in the destination file. Hence we reject these clone attempts with
1499 /* Don't share DAX file data with non-DAX file. */