Lines Matching refs:txg
498 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_create() argument
548 zio->io_txg = txg; in zio_create()
708 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, in zio_write() argument
725 zio = zio_create(pio, spa, txg, bp, data, size, done, private, in zio_write()
748 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, in zio_rewrite() argument
754 zio = zio_create(pio, spa, txg, bp, data, size, done, private, in zio_rewrite()
781 zio_free(spa_t *spa, uint64_t txg, const blkptr_t *bp) in zio_free() argument
800 txg != spa->spa_syncing_txg || in zio_free()
802 bplist_append(&spa->spa_free_bplist[txg & TXG_MASK], bp); in zio_free()
804 VERIFY0(zio_wait(zio_free_sync(NULL, spa, txg, bp, 0))); in zio_free()
809 zio_free_sync(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_free_sync() argument
816 ASSERT(spa_syncing_txg(spa) == txg); in zio_free_sync()
833 zio = zio_create(pio, spa, txg, bp, NULL, BP_GET_PSIZE(bp), in zio_free_sync()
841 zio_claim(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_claim() argument
846 dprintf_bp(bp, "claiming in txg %llu", txg); in zio_claim()
864 ASSERT(txg == spa_first_txg(spa) || txg == 0); in zio_claim()
867 zio = zio_create(pio, spa, txg, bp, NULL, BP_GET_PSIZE(bp), in zio_claim()
1923 uint64_t txg = pio->io_txg; in zio_write_gang_block() local
1932 bp, gbh_copies, txg, pio == gio ? NULL : gio->io_bp, in zio_write_gang_block()
1953 zio = zio_rewrite(pio, spa, txg, bp, gbh, SPA_GANGBLOCKSIZE, NULL, NULL, in zio_write_gang_block()
1973 zio_nowait(zio_write(zio, spa, txg, &gbh->zg_blkptr[g], in zio_write_gang_block()
2288 uint64_t txg = zio->io_txg; in zio_ddt_write() local
2352 dio = zio_write(zio, spa, txg, bp, zio->io_orig_data, in zio_ddt_write()
2363 ddt_bp_fill(ddp, bp, txg); in zio_ddt_write()
2369 ASSERT(bp->blk_birth == txg); in zio_ddt_write()
2374 cio = zio_write(zio, spa, txg, bp, zio->io_orig_data, in zio_ddt_write()
2510 zio_alloc_zil(spa_t *spa, uint64_t txg, blkptr_t *new_bp, blkptr_t *old_bp, in zio_alloc_zil() argument
2515 ASSERT(txg > spa_syncing_txg(spa)); in zio_alloc_zil()
2524 new_bp, 1, txg, old_bp, in zio_alloc_zil()
2530 new_bp, 1, txg, old_bp, in zio_alloc_zil()
2554 zio_free_zil(spa_t *spa, uint64_t txg, blkptr_t *bp) in zio_free_zil() argument
2559 zio_free(spa, txg, bp); in zio_free_zil()