Lines Matching refs:extent_op
667 if (update->extent_op) { in update_existing_head_ref()
668 if (!existing->extent_op) { in update_existing_head_ref()
669 existing->extent_op = update->extent_op; in update_existing_head_ref()
671 if (update->extent_op->update_key) { in update_existing_head_ref()
672 memcpy(&existing->extent_op->key, in update_existing_head_ref()
673 &update->extent_op->key, in update_existing_head_ref()
674 sizeof(update->extent_op->key)); in update_existing_head_ref()
675 existing->extent_op->update_key = true; in update_existing_head_ref()
677 if (update->extent_op->update_flags) { in update_existing_head_ref()
678 existing->extent_op->flags_to_set |= in update_existing_head_ref()
679 update->extent_op->flags_to_set; in update_existing_head_ref()
680 existing->extent_op->update_flags = true; in update_existing_head_ref()
682 btrfs_free_delayed_extent_op(update->extent_op); in update_existing_head_ref()
892 struct btrfs_delayed_extent_op *extent_op) in btrfs_add_delayed_tree_ref() argument
912 BUG_ON(extent_op && extent_op->is_data); in btrfs_add_delayed_tree_ref()
949 head_ref->extent_op = extent_op; in btrfs_add_delayed_tree_ref()
1043 head_ref->extent_op = NULL; in btrfs_add_delayed_data_ref()
1078 struct btrfs_delayed_extent_op *extent_op) in btrfs_add_delayed_extent_op() argument
1088 BTRFS_UPDATE_DELAYED_HEAD, extent_op->is_data, in btrfs_add_delayed_extent_op()
1090 head_ref->extent_op = extent_op; in btrfs_add_delayed_extent_op()