Home
last modified time | relevance | path

Searched refs:ZVOL_OBJ (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzvol.c242 error = dmu_object_info(os, ZVOL_OBJ, doi); in zvol_get_stats()
301 ZVOL_OBJ, volsize, DMU_OBJECT_END); in zvol_update_volsize()
348 if ((error = dmu_object_info(os, ZVOL_OBJ, doi)) || in zvol_set_volsize()
439 dmu_tx_hold_bonus(tx, ZVOL_OBJ); in zvol_set_volblocksize()
444 error = dmu_object_set_blocksize(zv->zv_objset, ZVOL_OBJ, in zvol_set_volblocksize()
510 dmu_tx_hold_write(tx, ZVOL_OBJ, offset, length); in zvol_replay_write()
515 dmu_write(os, ZVOL_OBJ, offset, length, data, tx); in zvol_replay_write()
606 lr->lr_foid = ZVOL_OBJ; in zvol_log_write()
638 lr->lr_foid = ZVOL_OBJ; in zvol_log_truncate()
775 error = dnode_hold(os, ZVOL_OBJ, zv, &zv->zv_dn); in zvol_setup_zv()
[all …]
H A Dzcp_get.c380 error = dmu_object_info(os, ZVOL_OBJ, &doi); in get_special_prop()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c674 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, in zvol_geom_bio_strategy()
683 error = dmu_read(os, ZVOL_OBJ, off, size, addr, in zvol_geom_bio_strategy()
692 dmu_write(os, ZVOL_OBJ, off, size, addr, tx); in zvol_geom_bio_strategy()
733 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_geom_bio_strategy()
838 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_cdev_write()
930 zil_async_to_sync(zv->zv_zilog, ZVOL_OBJ); in zvol_cdev_open()
1046 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_cdev_ioctl()
1076 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, in zvol_cdev_ioctl()
1081 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_cdev_ioctl()
1125 error = dmu_offset_next(zv->zv_objset, ZVOL_OBJ, hole, &noff); in zvol_cdev_ioctl()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzvol.h32 #define ZVOL_OBJ 1ULL macro
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c99 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_write()
157 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_write()
227 ZVOL_OBJ, start, size); in zvol_discard()
232 zil_commit(zv->zv_zilog, ZVOL_OBJ); in zvol_discard()
899 error = dmu_object_info(os, ZVOL_OBJ, doi); in zvol_os_create_minor()
963 dmu_prefetch(os, ZVOL_OBJ, 0, 0, len, ZIO_PRIORITY_SYNC_READ); in zvol_os_create_minor()
964 dmu_prefetch(os, ZVOL_OBJ, 0, volsize - len, len, in zvol_os_create_minor()