Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dzfs_log.c244 itx_t *itx; in zfs_log_create() local
283 itx = zil_itx_create(txtype, txsize); in zfs_log_create()
285 lr = (lr_create_t *)&itx->itx_lr; in zfs_log_create()
321 lracl = (lr_acl_create_t *)&itx->itx_lr; in zfs_log_create()
345 zil_itx_assign(zilog, itx, tx); in zfs_log_create()
355 itx_t *itx; in zfs_log_remove() local
362 itx = zil_itx_create(txtype, sizeof (*lr) + namesize); in zfs_log_remove()
363 lr = (lr_remove_t *)&itx->itx_lr; in zfs_log_remove()
367 itx->itx_oid = foid; in zfs_log_remove()
369 zil_itx_assign(zilog, itx, tx); in zfs_log_remove()
[all …]
Dzil.c1086 zil_lwb_commit(zilog_t *zilog, itx_t *itx, lwb_t *lwb) in zil_lwb_commit() argument
1088 lr_t *lrcb, *lrc = &itx->itx_lr; /* common log record */ in zil_lwb_commit()
1101 if (lrc->lrc_txtype == TX_WRITE && itx->itx_wr_state == WR_NEED_COPY) in zil_lwb_commit()
1140 if (itx->itx_wr_state != WR_COPIED) { in zil_lwb_commit()
1144 if (itx->itx_wr_state == WR_NEED_COPY) { in zil_lwb_commit()
1152 ASSERT(itx->itx_wr_state == WR_INDIRECT); in zil_lwb_commit()
1156 itx->itx_private, lrwb, dbuf, lwb->lwb_zio); in zil_lwb_commit()
1193 itx_t *itx; in zil_itx_create() local
1197 itx = kmem_alloc(offsetof(itx_t, itx_lr) + lrsize, KM_SLEEP); in zil_itx_create()
1198 itx->itx_lr.lrc_txtype = txtype; in zil_itx_create()
[all …]
Dzvol.c1390 itx_t *itx; local
1400 itx = zil_itx_create(TX_WRITE, sizeof (*lr) +
1402 lr = (lr_write_t *)&itx->itx_lr;
1405 zil_itx_destroy(itx);
1406 itx = zil_itx_create(TX_WRITE, sizeof (*lr));
1407 lr = (lr_write_t *)&itx->itx_lr;
1411 itx->itx_wr_state = wr_state;
1418 itx->itx_private = zv;
1421 itx->itx_sync = B_FALSE;
1423 zil_itx_assign(zilog, itx, tx);
[all …]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
Dzil.h367 typedef struct itx { struct
404 extern void zil_itx_destroy(itx_t *itx);
405 extern void zil_itx_assign(zilog_t *zilog, itx_t *itx, dmu_tx_t *tx);
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/ztest/
Dztest.c1328 itx_t *itx; in ztest_log_create() local
1333 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create()
1334 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_create()
1337 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_create()
1345 itx_t *itx; in ztest_log_remove() local
1350 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove()
1351 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_remove()
1354 itx->itx_oid = object; in ztest_log_remove()
1355 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_remove()
1361 itx_t *itx; in ztest_log_write() local
[all …]