Lines Matching refs:update
20 * delayed back reference update tracking. For subvolume trees
646 * helper function to update the accounting in the head ref
647 * existing and update must have the same bytenr
651 struct btrfs_delayed_ref_head *update)
659 BUG_ON(existing->is_data != update->is_data);
662 if (update->must_insert_reserved) {
670 existing->must_insert_reserved = update->must_insert_reserved;
673 * update the num_bytes so we make sure the accounting
676 existing->num_bytes = update->num_bytes;
680 if (update->extent_op) {
682 existing->extent_op = update->extent_op;
684 if (update->extent_op->update_key) {
686 &update->extent_op->key,
687 sizeof(update->extent_op->key));
690 if (update->extent_op->update_flags) {
692 update->extent_op->flags_to_set;
695 btrfs_free_delayed_extent_op(update->extent_op);
699 * update the reference mod on the head to reflect this new operation,
704 existing->ref_mod += update->ref_mod;
705 existing->total_ref_mod += update->ref_mod;
771 * BTRFS_ADD_DELAYED_EXTENT means that we need to update the reserved
1003 * Need to update the delayed_refs_rsv with any changes we may have
1097 * Need to update the delayed_refs_rsv with any changes we may have
1139 * Need to update the delayed_refs_rsv with any changes we may have