Lines Matching refs:update
636 struct btrfs_delayed_ref_head *update) in update_existing_head_ref() argument
643 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref()
653 existing->owning_root = update->owning_root; in update_existing_head_ref()
655 if (update->must_insert_reserved) { in update_existing_head_ref()
663 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref()
664 existing->owning_root = update->owning_root; in update_existing_head_ref()
670 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
674 if (update->extent_op) { in update_existing_head_ref()
676 existing->extent_op = update->extent_op; in update_existing_head_ref()
678 if (update->extent_op->update_key) { in update_existing_head_ref()
680 &update->extent_op->key, in update_existing_head_ref()
681 sizeof(update->extent_op->key)); in update_existing_head_ref()
684 if (update->extent_op->update_flags) { in update_existing_head_ref()
686 update->extent_op->flags_to_set; in update_existing_head_ref()
689 btrfs_free_delayed_extent_op(update->extent_op); in update_existing_head_ref()
698 existing->ref_mod += update->ref_mod; in update_existing_head_ref()
699 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()