ZVOL_OBJ
error = dmu_object_info(os, ZVOL_OBJ, &doi);
lr->lr_foid = ZVOL_OBJ;
error = dmu_read(os, ZVOL_OBJ, off, size, addr,
dmu_tx_hold_write(tx, ZVOL_OBJ, off, size);
dmu_write(os, ZVOL_OBJ, off, size, addr, tx);
zil_commit(zv->zv_zilog, ZVOL_OBJ);
error = dmu_read_uio(zv->zv_objset, ZVOL_OBJ, uio, bytes);
zil_commit(zv->zv_zilog, ZVOL_OBJ);
lr->lr_foid = ZVOL_OBJ;
zil_commit(zv->zv_zilog, ZVOL_OBJ);
zil_commit(zv->zv_zilog, ZVOL_OBJ);
ZVOL_OBJ, start, length);
zil_commit(zv->zv_zilog, ZVOL_OBJ);
error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, 0,
dmu_tx_hold_bonus(tx, ZVOL_OBJ);
os, ZVOL_OBJ, SPA_OLD_MAXBLOCKSIZE, 0, tx);
(void) dmu_free_long_range(os, ZVOL_OBJ, 0, DMU_OBJECT_END);
dmu_tx_hold_bonus(tx, ZVOL_OBJ);
if (dmu_object_set_blocksize(os, ZVOL_OBJ, vbs, 0, tx) == 0)
error = dmu_object_info(os, ZVOL_OBJ, &doi);
zb->zb_object != ZVOL_OBJ || zb->zb_level != 0)
error = dmu_object_claim(os, ZVOL_OBJ, DMU_OT_ZVOL, volblocksize,
return (dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, offset, length));
dmu_tx_hold_write(tx, ZVOL_OBJ, offset, length);
dmu_write(os, ZVOL_OBJ, offset, length, data, tx);
error = dmu_object_info(os, ZVOL_OBJ, &doi);
error = dnode_hold(os, ZVOL_OBJ, zvol_tag, &zv->zv_dn);
dmu_tx_hold_write(tx, ZVOL_OBJ, off, bytes);
(void) dmu_free_long_range(os, ZVOL_OBJ, 0, off);
dmu_prealloc(os, ZVOL_OBJ, off, bytes, tx);
ZVOL_OBJ, volsize, DMU_OBJECT_END);
if ((error = dmu_object_info(os, ZVOL_OBJ, &doi)) != 0 ||
dmu_tx_hold_write(tx, ZVOL_OBJ, offset, (int)len);
zil_commit(sl->sl_zvol_zil_hdl, ZVOL_OBJ);
dmu_tx_hold_write(tx, ZVOL_OBJ, offset, (int)uio->uio_resid);
zil_commit(sl->sl_zvol_zil_hdl, ZVOL_OBJ);