Searched refs:existing_ref (Results 1 – 1 of 1) sorted by relevance
461 struct btrfs_delayed_ref_head *existing_ref; in update_existing_head_ref() local465 existing_ref = btrfs_delayed_node_to_head(existing); in update_existing_head_ref()467 BUG_ON(existing_ref->is_data != ref->is_data); in update_existing_head_ref()469 spin_lock(&existing_ref->lock); in update_existing_head_ref()478 existing_ref->must_insert_reserved = ref->must_insert_reserved; in update_existing_head_ref()489 if (!existing_ref->extent_op) { in update_existing_head_ref()490 existing_ref->extent_op = ref->extent_op; in update_existing_head_ref()493 memcpy(&existing_ref->extent_op->key, in update_existing_head_ref()496 existing_ref->extent_op->update_key = 1; in update_existing_head_ref()499 existing_ref->extent_op->flags_to_set |= in update_existing_head_ref()[all …]