Lines Matching refs:ZVOL_OBJ

221 	error = dmu_object_info(os, ZVOL_OBJ, &doi);
266 zb->zb_object != ZVOL_OBJ || zb->zb_level != 0)
358 error = dmu_object_claim(os, ZVOL_OBJ, DMU_OT_ZVOL, volblocksize,
385 return (dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, offset, length));
417 dmu_tx_hold_write(tx, ZVOL_OBJ, offset, length);
422 dmu_write(os, ZVOL_OBJ, offset, length, data, tx);
555 error = dmu_object_info(os, ZVOL_OBJ, &doi);
643 error = dmu_bonus_hold(os, ZVOL_OBJ, zvol_tag, &zv->zv_dbuf);
705 dmu_tx_hold_write(tx, ZVOL_OBJ, off, bytes);
709 (void) dmu_free_long_range(os, ZVOL_OBJ, 0, off);
712 dmu_prealloc(os, ZVOL_OBJ, off, bytes, tx);
745 ZVOL_OBJ, volsize, DMU_OBJECT_END);
859 if ((error = dmu_object_info(os, ZVOL_OBJ, &doi)) != 0 ||
991 uint64_t object = ZVOL_OBJ;
1099 ZVOL_OBJ, off, len, lr + 1, DMU_READ_NO_PREFETCH) != 0) {
1109 lr->lr_foid = ZVOL_OBJ;
1293 error = dmu_read(os, ZVOL_OBJ, off, size, addr,
1297 dmu_tx_hold_write(tx, ZVOL_OBJ, off, size);
1302 dmu_write(os, ZVOL_OBJ, off, size, addr, tx);
1323 zil_commit(zv->zv_zilog, ZVOL_OBJ);
1413 error = dmu_read_uio(zv->zv_objset, ZVOL_OBJ, uio, bytes);
1464 dmu_tx_hold_write(tx, ZVOL_OBJ, off, bytes);
1480 zil_commit(zv->zv_zilog, ZVOL_OBJ);
1629 lr->lr_foid = ZVOL_OBJ;
1721 zil_commit(zv->zv_zilog, ZVOL_OBJ);
1750 zil_commit(zv->zv_zilog, ZVOL_OBJ);
1814 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ,
1832 zil_commit(zv->zv_zilog, ZVOL_OBJ);
1903 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, 0,
1958 dmu_tx_hold_bonus(tx, ZVOL_OBJ);
1996 os, ZVOL_OBJ, SPA_OLD_MAXBLOCKSIZE, 0, tx);
2155 (void) dmu_free_long_range(os, ZVOL_OBJ, 0, DMU_OBJECT_END);
2159 dmu_tx_hold_bonus(tx, ZVOL_OBJ);
2165 if (dmu_object_set_blocksize(os, ZVOL_OBJ, vbs, 0, tx) == 0)