Lines Matching refs:itx

1319 	itx_t *itx;  in ztest_log_create()  local
1324 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create()
1325 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_create()
1328 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_create()
1336 itx_t *itx; in ztest_log_remove() local
1341 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove()
1342 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_remove()
1345 itx->itx_oid = object; in ztest_log_remove()
1346 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_remove()
1352 itx_t *itx; in ztest_log_write() local
1361 itx = zil_itx_create(TX_WRITE, in ztest_log_write()
1366 ((lr_write_t *)&itx->itx_lr) + 1, DMU_READ_NO_PREFETCH) != 0) { in ztest_log_write()
1367 zil_itx_destroy(itx); in ztest_log_write()
1368 itx = zil_itx_create(TX_WRITE, sizeof (*lr)); in ztest_log_write()
1371 itx->itx_private = zd; in ztest_log_write()
1372 itx->itx_wr_state = write_state; in ztest_log_write()
1373 itx->itx_sync = (ztest_random(8) == 0); in ztest_log_write()
1374 itx->itx_sod += (write_state == WR_NEED_COPY ? lr->lr_length : 0); in ztest_log_write()
1376 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_write()
1379 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_write()
1385 itx_t *itx; in ztest_log_truncate() local
1390 itx = zil_itx_create(TX_TRUNCATE, sizeof (*lr)); in ztest_log_truncate()
1391 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_truncate()
1394 itx->itx_sync = B_FALSE; in ztest_log_truncate()
1395 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_truncate()
1401 itx_t *itx; in ztest_log_setattr() local
1406 itx = zil_itx_create(TX_SETATTR, sizeof (*lr)); in ztest_log_setattr()
1407 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_setattr()
1410 itx->itx_sync = B_FALSE; in ztest_log_setattr()
1411 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_setattr()