Lines Matching refs:zv_objset
330 if (zv == NULL || zv->zv_objset == NULL) {
341 zv->zv_objset = os;
343 os = zv->zv_objset;
363 zv->zv_objset = NULL;
438 tx = dmu_tx_create(zv->zv_objset);
444 error = dmu_object_set_blocksize(zv->zv_objset, ZVOL_OBJ,
476 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset);
484 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, offset,
500 objset_t *os = zv->zv_objset;
773 objset_t *os = zv->zv_objset;
808 * Shutdown every zv_objset related stuff except zv_objset itself.
832 txg_wait_synced(dmu_objset_pool(zv->zv_objset), 0);
833 (void) dmu_objset_evict_dbufs(zv->zv_objset);
888 VERIFY0(dmu_objset_hold(zv->zv_name, zv, &zv->zv_objset));
889 VERIFY3P(zv->zv_objset->os_dsl_dataset->ds_owner, ==, zv);
890 VERIFY(dsl_dataset_long_held(zv->zv_objset->os_dsl_dataset));
891 dmu_objset_rele(zv->zv_objset, zv);
949 zv->zv_objset = os;
955 zv->zv_objset = NULL;
972 dmu_objset_disown(zv->zv_objset, 1, zv);
973 zv->zv_objset = NULL;