Lines Matching refs:update
651 struct btrfs_delayed_ref_head *update) in update_existing_head_ref() argument
659 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref()
662 if (update->must_insert_reserved) { in update_existing_head_ref()
670 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref()
676 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
680 if (update->extent_op) { in update_existing_head_ref()
682 existing->extent_op = update->extent_op; in update_existing_head_ref()
684 if (update->extent_op->update_key) { in update_existing_head_ref()
686 &update->extent_op->key, in update_existing_head_ref()
687 sizeof(update->extent_op->key)); in update_existing_head_ref()
690 if (update->extent_op->update_flags) { in update_existing_head_ref()
692 update->extent_op->flags_to_set; in update_existing_head_ref()
695 btrfs_free_delayed_extent_op(update->extent_op); in update_existing_head_ref()
704 existing->ref_mod += update->ref_mod; in update_existing_head_ref()
705 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()