Lines Matching refs:itx

1949 	itx_t *itx;  in ztest_log_create()  local
1954 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create()
1955 memcpy(&itx->itx_lr + 1, &lr->lr_create.lr_common + 1, in ztest_log_create()
1958 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_create()
1966 itx_t *itx; in ztest_log_remove() local
1971 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove()
1972 memcpy(&itx->itx_lr + 1, &lr->lr_common + 1, in ztest_log_remove()
1975 itx->itx_oid = object; in ztest_log_remove()
1976 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_remove()
1982 itx_t *itx; in ztest_log_write() local
1991 itx = zil_itx_create(TX_WRITE, in ztest_log_write()
1996 ((lr_write_t *)&itx->itx_lr) + 1, DMU_READ_NO_PREFETCH | in ztest_log_write()
1998 zil_itx_destroy(itx, 0); in ztest_log_write()
1999 itx = zil_itx_create(TX_WRITE, sizeof (*lr)); in ztest_log_write()
2002 itx->itx_private = zd; in ztest_log_write()
2003 itx->itx_wr_state = write_state; in ztest_log_write()
2004 itx->itx_sync = (ztest_random(8) == 0); in ztest_log_write()
2006 memcpy(&itx->itx_lr + 1, &lr->lr_common + 1, in ztest_log_write()
2009 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_write()
2015 itx_t *itx; in ztest_log_truncate() local
2020 itx = zil_itx_create(TX_TRUNCATE, sizeof (*lr)); in ztest_log_truncate()
2021 memcpy(&itx->itx_lr + 1, &lr->lr_common + 1, in ztest_log_truncate()
2024 itx->itx_sync = B_FALSE; in ztest_log_truncate()
2025 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_truncate()
2031 itx_t *itx; in ztest_log_setattr() local
2036 itx = zil_itx_create(TX_SETATTR, sizeof (*lr)); in ztest_log_setattr()
2037 memcpy(&itx->itx_lr + 1, &lr->lr_common + 1, in ztest_log_setattr()
2040 itx->itx_sync = B_FALSE; in ztest_log_setattr()
2041 zil_itx_assign(zd->zd_zilog, itx, tx); in ztest_log_setattr()