Lines Matching full:txn
182 } txn; member
204 h->txn.data = NULL; in tx_helper_init()
205 h->txn.active = 0; in tx_helper_init()
223 if (h->txn.active) in tx_helper_cleanup()
293 if (!ossl_assert(!h->txn.active)) in tx_helper_begin()
306 if (!WPACKET_init_static_len(&h->txn.wpkt, data, len, 0)) in tx_helper_begin()
309 if (!WPACKET_set_max_size(&h->txn.wpkt, space_left)) { in tx_helper_begin()
310 WPACKET_cleanup(&h->txn.wpkt); in tx_helper_begin()
314 h->txn.data = data; in tx_helper_begin()
315 h->txn.active = 1; in tx_helper_begin()
316 return &h->txn.wpkt; in tx_helper_begin()
322 WPACKET_finish(&h->txn.wpkt); in tx_helper_end()
324 WPACKET_cleanup(&h->txn.wpkt); in tx_helper_end()
326 h->txn.active = 0; in tx_helper_end()
327 h->txn.data = NULL; in tx_helper_end()
333 if (!h->txn.active) in tx_helper_rollback()
344 if (!h->txn.active) in tx_helper_commit()
347 if (!WPACKET_get_total_written(&h->txn.wpkt, &l)) { in tx_helper_commit()
352 if (!tx_helper_append_iovec(h, h->txn.data, l)) { in tx_helper_commit()
362 if (!PACKET_buf_init(&pkt, h->txn.data, l) in tx_helper_commit()
374 h->txp->msg_callback(1, OSSL_QUIC1_VERSION, ctype, h->txn.data, l, in tx_helper_commit()