Lines Matching defs:lrc

602 zil_noop_log_record(zilog_t *zilog, const lr_t *lrc, void *tx,
605 (void) zilog, (void) lrc, (void) tx, (void) first_txg;
627 zil_claim_write(zilog_t *zilog, const lr_t *lrc, void *tx, uint64_t first_txg)
629 lr_write_t *lr = (lr_write_t *)lrc;
632 ASSERT3U(lrc->lrc_reclen, >=, sizeof (*lr));
652 zil_claim_clone_range(zilog_t *zilog, const lr_t *lrc, void *tx,
655 const lr_clone_range_t *lr = (const lr_clone_range_t *)lrc;
660 ASSERT3U(lrc->lrc_reclen, >=, sizeof (*lr));
661 ASSERT3U(lrc->lrc_reclen, >=, offsetof(lr_clone_range_t,
708 zil_claim_log_record(zilog_t *zilog, const lr_t *lrc, void *tx,
712 switch (lrc->lrc_txtype) {
714 return (zil_claim_write(zilog, lrc, tx, first_txg));
716 return (zil_claim_clone_range(zilog, lrc, tx, first_txg));
734 zil_free_write(zilog_t *zilog, const lr_t *lrc, void *tx, uint64_t claim_txg)
736 lr_write_t *lr = (lr_write_t *)lrc;
739 ASSERT3U(lrc->lrc_reclen, >=, sizeof (*lr));
753 zil_free_clone_range(zilog_t *zilog, const lr_t *lrc, void *tx)
755 const lr_clone_range_t *lr = (const lr_clone_range_t *)lrc;
760 ASSERT3U(lrc->lrc_reclen, >=, sizeof (*lr));
761 ASSERT3U(lrc->lrc_reclen, >=, offsetof(lr_clone_range_t,
782 zil_free_log_record(zilog_t *zilog, const lr_t *lrc, void *tx,
790 switch (lrc->lrc_txtype) {
792 return (zil_free_write(zilog, lrc, tx, claim_txg));
794 return (zil_free_clone_range(zilog, lrc, tx));
2805 lr_t *lrc = &itx->itx_lr;
2806 if (lrc->lrc_txtype != TX_COMMIT)
2941 lr_t *lrc = &itx->itx_lr;
2942 uint64_t txg = lrc->lrc_txg;
2946 if (lrc->lrc_txtype == TX_COMMIT) {
3001 if (frozen || !synced || lrc->lrc_txtype == TX_COMMIT) {
3018 if (lrc->lrc_txtype == TX_COMMIT) {
3026 ASSERT3S(lrc->lrc_txtype, !=, TX_COMMIT);