Lines Matching refs:txn
180 } txn; member
202 h->txn.data = NULL; in tx_helper_init()
203 h->txn.active = 0; in tx_helper_init()
221 if (h->txn.active) in tx_helper_cleanup()
291 if (!ossl_assert(!h->txn.active)) in tx_helper_begin()
304 if (!WPACKET_init_static_len(&h->txn.wpkt, data, len, 0)) in tx_helper_begin()
307 if (!WPACKET_set_max_size(&h->txn.wpkt, space_left)) { in tx_helper_begin()
308 WPACKET_cleanup(&h->txn.wpkt); in tx_helper_begin()
312 h->txn.data = data; in tx_helper_begin()
313 h->txn.active = 1; in tx_helper_begin()
314 return &h->txn.wpkt; in tx_helper_begin()
320 WPACKET_finish(&h->txn.wpkt); in tx_helper_end()
322 WPACKET_cleanup(&h->txn.wpkt); in tx_helper_end()
324 h->txn.active = 0; in tx_helper_end()
325 h->txn.data = NULL; in tx_helper_end()
331 if (!h->txn.active) in tx_helper_rollback()
342 if (!h->txn.active) in tx_helper_commit()
345 if (!WPACKET_get_total_written(&h->txn.wpkt, &l)) { in tx_helper_commit()
350 if (!tx_helper_append_iovec(h, h->txn.data, l)) { in tx_helper_commit()
360 if (!PACKET_buf_init(&pkt, h->txn.data, l) in tx_helper_commit()
372 h->txp->msg_callback(1, OSSL_QUIC1_VERSION, ctype, h->txn.data, l, in tx_helper_commit()