Lines Matching refs:extent_op
487 if (update->extent_op) { in update_existing_head_ref()
488 if (!existing->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()
492 memcpy(&existing->extent_op->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()
495 existing->extent_op->update_key = true; in update_existing_head_ref()
497 if (update->extent_op->update_flags) { in update_existing_head_ref()
498 existing->extent_op->flags_to_set |= in update_existing_head_ref()
499 update->extent_op->flags_to_set; in update_existing_head_ref()
500 existing->extent_op->update_flags = true; in update_existing_head_ref()
502 btrfs_free_delayed_extent_op(update->extent_op); in update_existing_head_ref()
715 struct btrfs_delayed_extent_op *extent_op, in btrfs_add_delayed_tree_ref() argument
728 BUG_ON(extent_op && extent_op->is_data); in btrfs_add_delayed_tree_ref()
762 head_ref->extent_op = extent_op; in btrfs_add_delayed_tree_ref()
843 head_ref->extent_op = NULL; in btrfs_add_delayed_data_ref()
874 struct btrfs_delayed_extent_op *extent_op) in btrfs_add_delayed_extent_op() argument
884 BTRFS_UPDATE_DELAYED_HEAD, extent_op->is_data, in btrfs_add_delayed_extent_op()
886 head_ref->extent_op = extent_op; in btrfs_add_delayed_extent_op()