Lines Matching refs:ds2
2587 ds_clone_swapped_bookmark(dsl_dataset_t *ds1, dsl_dataset_t *ds2, in ds_clone_swapped_bookmark() argument
2591 scn_bookmark->zb_objset = ds2->ds_object; in ds_clone_swapped_bookmark()
2596 (u_longlong_t)ds2->ds_object); in ds_clone_swapped_bookmark()
2597 } else if (scn_bookmark->zb_objset == ds2->ds_object) { in ds_clone_swapped_bookmark()
2601 (u_longlong_t)ds2->ds_object, in ds_clone_swapped_bookmark()
2602 ds2->ds_dir->dd_pool->dp_spa->spa_name, in ds_clone_swapped_bookmark()
2613 dsl_scan_ds_clone_swapped(dsl_dataset_t *ds1, dsl_dataset_t *ds2, dmu_tx_t *tx) in dsl_scan_ds_clone_swapped() argument
2623 ds_clone_swapped_bookmark(ds1, ds2, &scn->scn_phys.scn_bookmark); in dsl_scan_ds_clone_swapped()
2624 ds_clone_swapped_bookmark(ds1, ds2, &scn->scn_phys_cached.scn_bookmark); in dsl_scan_ds_clone_swapped()
2630 ds2_queued = scan_ds_queue_contains(scn, ds2->ds_object, &mintxg2); in dsl_scan_ds_clone_swapped()
2635 ASSERT3U(mintxg1, ==, dsl_dataset_phys(ds2)->ds_prev_snap_txg); in dsl_scan_ds_clone_swapped()
2639 ASSERT3U(mintxg2, ==, dsl_dataset_phys(ds2)->ds_prev_snap_txg); in dsl_scan_ds_clone_swapped()
2652 scan_ds_queue_insert(scn, ds2->ds_object, mintxg1); in dsl_scan_ds_clone_swapped()
2654 scan_ds_queue_remove(scn, ds2->ds_object); in dsl_scan_ds_clone_swapped()
2668 scn->scn_phys.scn_queue_obj, ds2->ds_object, &mintxg2) == 0; in dsl_scan_ds_clone_swapped()
2673 ASSERT3U(mintxg1, ==, dsl_dataset_phys(ds2)->ds_prev_snap_txg); in dsl_scan_ds_clone_swapped()
2677 ASSERT3U(mintxg2, ==, dsl_dataset_phys(ds2)->ds_prev_snap_txg); in dsl_scan_ds_clone_swapped()
2691 scn->scn_phys.scn_queue_obj, ds2->ds_object, mintxg1, tx)); in dsl_scan_ds_clone_swapped()
2696 (u_longlong_t)ds2->ds_object); in dsl_scan_ds_clone_swapped()
2699 scn->scn_phys.scn_queue_obj, ds2->ds_object, tx)); in dsl_scan_ds_clone_swapped()
2704 (u_longlong_t)ds2->ds_object, in dsl_scan_ds_clone_swapped()