Lines Matching defs:new
405 struct xfs_bmbt_irec new = *got; /* struct copy */
414 * The new extent is a complete replacement for the existing
417 new.br_startblock = repl->fsbno;
418 xfs_iext_update_extent(ip, BMAP_COWFORK, icur, &new);
423 * The new extent can replace the beginning of the COW fork record.
424 * Move the left side of @got upwards, then insert the new record.
426 new.br_startoff += repl->len;
427 new.br_startblock += repl->len;
428 new.br_blockcount -= repl->len;
429 xfs_iext_update_extent(ip, BMAP_COWFORK, icur, &new);
431 new.br_startoff = got->br_startoff;
432 new.br_startblock = repl->fsbno;
433 new.br_blockcount = repl->len;
434 xfs_iext_insert(ip, icur, &new, BMAP_COWFORK);
439 * new space extent that isn't as problematic.
476 * Replace the old mapping with the new one, and commit the metadata