Lines Matching defs:update
23 * delayed back reference update tracking. For subvolume trees
635 * helper function to update the accounting in the head ref
636 * existing and update must have the same bytenr
640 struct btrfs_delayed_ref_head *update)
647 BUG_ON(existing->is_data != update->is_data);
650 if (update->must_insert_reserved) {
658 existing->must_insert_reserved = update->must_insert_reserved;
661 * update the num_bytes so we make sure the accounting
664 existing->num_bytes = update->num_bytes;
668 if (update->extent_op) {
670 existing->extent_op = update->extent_op;
672 if (update->extent_op->update_key) {
674 &update->extent_op->key,
675 sizeof(update->extent_op->key));
678 if (update->extent_op->update_flags) {
680 update->extent_op->flags_to_set;
683 btrfs_free_delayed_extent_op(update->extent_op);
687 * update the reference mod on the head to reflect this new operation,
692 existing->ref_mod += update->ref_mod;
693 existing->total_ref_mod += update->ref_mod;
742 * BTRFS_ADD_DELAYED_EXTENT means that we need to update the
966 * Need to update the delayed_refs_rsv with any changes we may have
1058 * Need to update the delayed_refs_rsv with any changes we may have
1099 * Need to update the delayed_refs_rsv with any changes we may have