Lines Matching refs:txg
28 #include <sys/txg.h>
72 uint64_t txg = dmu_tx_get_txg(tx);
79 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK];
80 vd->vdev_initialize_offset[txg & TXG_MASK] = 0;
207 uint64_t txg = dmu_tx_get_txg(tx);
212 if (vd->vdev_initialize_offset[txg & TXG_MASK] == 0) {
216 /* This is the first write of this txg. */
238 vd->vdev_initialize_offset[txg & TXG_MASK] = start + size;
239 zio_nowait(zio_write_phys(spa->spa_txg_zio[txg & TXG_MASK], vd, start,
645 * txg since it's possible that a device might be trying to