Lines Matching refs:update
461 struct btrfs_delayed_ref_head *update, in update_existing_head_ref() argument
466 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref()
469 if (update->must_insert_reserved) { in update_existing_head_ref()
477 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref()
483 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
487 if (update->extent_op) { in update_existing_head_ref()
489 existing->extent_op = update->extent_op; in update_existing_head_ref()
491 if (update->extent_op->update_key) { in update_existing_head_ref()
493 &update->extent_op->key, in update_existing_head_ref()
494 sizeof(update->extent_op->key)); in update_existing_head_ref()
497 if (update->extent_op->update_flags) { in update_existing_head_ref()
499 update->extent_op->flags_to_set; in update_existing_head_ref()
502 btrfs_free_delayed_extent_op(update->extent_op); in update_existing_head_ref()
513 existing->ref_mod += update->ref_mod; in update_existing_head_ref()
514 existing->total_ref_mod += update->ref_mod; in update_existing_head_ref()