Home
last modified time | relevance | path

Searched refs:txtype (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb_il.c80 if (txtype == TX_SYMLINK) { in zil_prt_rec_create()
83 } else if (txtype != TX_MKXATTR) { in zil_prt_rec_create()
111 zil_prt_rec_link(zilog_t *zilog, int txtype, const void *arg) in zil_prt_rec_link() argument
164 if (txtype == TX_WRITE2 || verbose < 5) in zil_prt_rec_write()
314 int txtype; in print_log_record() local
318 txtype = lr->lrc_txtype; in print_log_record()
320 ASSERT(txtype != 0 && (uint_t)txtype < TX_MAX_TYPE); in print_log_record()
325 zil_rec_info[txtype].zri_name, in print_log_record()
330 if (txtype && verbose >= 3) { in print_log_record()
332 zil_rec_info[txtype].zri_print(zilog, txtype, lr); in print_log_record()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_log.c332 if ((int)txtype == TX_CREATE_ATTR || (int)txtype == TX_MKDIR_ATTR || in zfs_log_create()
333 (int)txtype == TX_CREATE || (int)txtype == TX_MKDIR || in zfs_log_create()
334 (int)txtype == TX_MKXATTR) { in zfs_log_create()
344 itx = zil_itx_create(txtype, txsize); in zfs_log_create()
440 ASSERT((txtype & ~TX_CI) == TX_REMOVE); in zfs_log_remove()
677 itx = zil_itx_create(txtype, recsize); in zfs_log_setattr()
722 int txtype; in zfs_log_acl() local
733 if (txtype == TX_ACL) in zfs_log_acl()
743 itx = zil_itx_create(txtype, txsize); in zfs_log_acl()
747 if (txtype == TX_ACL) { in zfs_log_acl()
[all …]
H A Dzfs_replay.c304 uint64_t txtype; in zfs_replay_create_acl() local
309 txtype = (lr->lr_common.lrc_txtype & ~TX_CI); in zfs_replay_create_acl()
312 if (txtype == TX_CREATE_ACL_ATTR || in zfs_replay_create_acl()
313 txtype == TX_MKDIR_ACL_ATTR) { in zfs_replay_create_acl()
357 switch (txtype) { in zfs_replay_create_acl()
455 uint64_t txtype; in zfs_replay_create() local
460 txtype = (lr->lr_common.lrc_txtype & ~TX_CI); in zfs_replay_create()
463 if (txtype == TX_CREATE_ATTR || txtype == TX_MKDIR_ATTR) in zfs_replay_create()
512 switch (txtype) { in zfs_replay_create()
H A Dzil.c1785 zil_itx_create(uint64_t txtype, size_t lrsize) in zil_itx_create() argument
1794 itx->itx_lr.lrc_txtype = txtype; in zil_itx_create()
3504 uint64_t txtype = lr->lrc_txtype; in zil_replay_log_record() local
3516 txtype &= ~TX_CI; in zil_replay_log_record()
3518 if (txtype == 0 || txtype >= TX_MAX_TYPE) in zil_replay_log_record()
3525 if (TX_OOO(txtype)) { in zil_replay_log_record()
3540 if (txtype == TX_WRITE && reclen == sizeof (lr_write_t)) { in zil_replay_log_record()
3563 error = zr->zr_replay[txtype](zr->zr_arg, zr->zr_lr, zr->zr_byteswap); in zil_replay_log_record()
3573 error = zr->zr_replay[txtype](zr->zr_arg, zr->zr_lr, B_FALSE); in zil_replay_log_record()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_znode.h263 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
268 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
271 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
273 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
275 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
278 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
281 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype,
283 extern void zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype,
H A Dzil.h179 #define TX_OOO(txtype) \ argument
180 ((txtype) == TX_WRITE || \
181 (txtype) == TX_TRUNCATE || \
182 (txtype) == TX_SETATTR || \
183 (txtype) == TX_ACL_V0 || \
184 (txtype) == TX_ACL || \
185 (txtype) == TX_WRITE2)
492 extern itx_t *zil_itx_create(uint64_t txtype, size_t lrsize);
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vnops_os.c631 uint64_t txtype; in zfs_create() local
720 txtype |= TX_CI; in zfs_create()
948 uint64_t txtype; in zfs_remove() local
1121 txtype = TX_REMOVE; in zfs_remove()
1123 txtype |= TX_CI; in zfs_remove()
1181 uint64_t txtype; in zfs_mkdir() local
1321 txtype |= TX_CI; in zfs_mkdir()
1450 uint64_t txtype = TX_RMDIR; in zfs_rmdir() local
1452 txtype |= TX_CI; in zfs_rmdir()
3159 txtype |= TX_CI; in zfs_symlink()
[all …]
H A Dzio_crypt.c1394 uint64_t txtype, lr_len; in zio_crypt_init_uios_zil() local
1427 txtype = lr->lrc_txtype; in zio_crypt_init_uios_zil()
1430 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1435 if (txtype == TX_WRITE && lr_len != sizeof (lr_write_t)) in zio_crypt_init_uios_zil()
1479 txtype = lr->lrc_txtype; in zio_crypt_init_uios_zil()
1482 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1500 if (txtype == TX_WRITE) { in zio_crypt_init_uios_zil()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c1265 uint64_t txtype, lr_len; in zio_crypt_init_uios_zil() local
1295 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1298 txtype = lr->lrc_txtype; in zio_crypt_init_uios_zil()
1303 if (txtype == TX_WRITE && lr_len != sizeof (lr_write_t)) in zio_crypt_init_uios_zil()
1333 txtype = lr->lrc_txtype; in zio_crypt_init_uios_zil()
1336 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1351 if (txtype == TX_WRITE) { in zio_crypt_init_uios_zil()
H A Dzfs_vnops_os.c1036 uint64_t txtype; in zfs_create() local
1149 txtype = zfs_log_create_txtype(Z_FILE, vsecp, vap); in zfs_create()
1150 zfs_log_create(zilog, tx, txtype, dzp, zp, name, in zfs_create()
1199 uint64_t txtype; in zfs_remove_() local
1283 txtype = TX_REMOVE; in zfs_remove_()
1380 uint64_t txtype; in zfs_mkdir() local
1505 txtype = zfs_log_create_txtype(Z_DIR, NULL, vap); in zfs_mkdir()
1594 uint64_t txtype = TX_RMDIR; in zfs_rmdir_() local
1595 zfs_log_remove(zilog, tx, txtype, dzp, name, in zfs_rmdir_()
3506 uint64_t txtype = TX_SYMLINK; in zfs_symlink() local
[all …]