Home
last modified time | relevance | path

Searched refs:zv_objset (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c320 dmu_objset_incompatible_encryption_version(zv->zv_objset))) { in zvol_geom_open()
589 spa_t *spa = dmu_objset_spa(zv->zv_objset); in zvol_geom_bio_getattr()
595 dmu_objset_space(zv->zv_objset, &refd, &avail, in zvol_geom_bio_getattr()
600 dmu_objset_space(zv->zv_objset, &refd, &avail, in zvol_geom_bio_getattr()
715 os = zv->zv_objset; in zvol_geom_bio_strategy()
728 zv->zv_objset->os_sync == ZFS_SYNC_ALWAYS; in zvol_geom_bio_strategy()
738 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); in zvol_geom_bio_strategy()
745 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, in zvol_geom_bio_strategy()
890 (zv->zv_objset->os_sync == ZFS_SYNC_ALWAYS); in zvol_cdev_write()
900 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); in zvol_cdev_write()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c321 if (zv == NULL || zv->zv_objset == NULL) { in zvol_set_volsize()
332 zv->zv_objset = os; in zvol_set_volsize()
334 os = zv->zv_objset; in zvol_set_volsize()
354 zv->zv_objset = NULL; in zvol_set_volsize()
458 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); in zvol_replay_truncate()
466 error = dmu_free_long_range(zv->zv_objset, ZVOL_OBJ, offset, in zvol_replay_truncate()
482 objset_t *os = zv->zv_objset; in zvol_replay_write()
764 objset_t *os = zv->zv_objset; in zvol_setup_zv()
823 txg_wait_synced(dmu_objset_pool(zv->zv_objset), 0); in zvol_shutdown_zv()
824 (void) dmu_objset_evict_dbufs(zv->zv_objset); in zvol_shutdown_zv()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c276 io_is_fua(bio, rq) || zv->zv_objset->os_sync == ZFS_SYNC_ALWAYS; in zvol_write()
285 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); in zvol_write()
362 sync = io_is_fua(bio, rq) || zv->zv_objset->os_sync == ZFS_SYNC_ALWAYS; in zvol_discard()
387 tx = dmu_tx_create(zv->zv_objset); in zvol_discard()
395 error = dmu_free_long_range(zv->zv_objset, in zvol_discard()
581 zv->zv_zilog = zil_open(zv->zv_objset, in zvol_request_impl()
918 txg_wait_synced(dmu_objset_pool(zv->zv_objset), 0); in zvol_ioctl()
1660 zv->zv_objset = os; in zvol_os_create_minor()
1685 error = dataset_kstats_create(&zv->zv_kstat, zv->zv_objset); in zvol_os_create_minor()
1713 zv->zv_objset = NULL; in zvol_os_create_minor()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h42 objset_t *zv_objset; /* objset handle */ member