Lines Matching refs:el
105 } el[QUIC_ENC_LEVEL_NUM]; member
184 static int txp_el_ensure_iovec(struct txp_el *el, size_t num);
205 if (max_ppl > h->txp->el[enc_level].scratch_len) { in tx_helper_init()
208 scratch = OPENSSL_realloc(h->txp->el[enc_level].scratch, max_ppl); in tx_helper_init()
212 h->txp->el[enc_level].scratch = scratch; in tx_helper_init()
213 h->txp->el[enc_level].scratch_len = max_ppl; in tx_helper_init()
250 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_append_iovec() local
258 if (!txp_el_ensure_iovec(el, h->num_iovec + 1)) in tx_helper_append_iovec()
261 el->iovec[h->num_iovec].buf = buf; in tx_helper_append_iovec()
262 el->iovec[h->num_iovec].buf_len = buf_len; in tx_helper_append_iovec()
289 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_begin() local
297 data = (unsigned char *)el->scratch + h->scratch_bytes; in tx_helper_begin()
298 len = el->scratch_len - h->scratch_bytes; in tx_helper_begin()
508 OPENSSL_free(txp->el[enc_level].iovec); in ossl_quic_tx_packetiser_free()
509 OPENSSL_free(txp->el[enc_level].scratch); in ossl_quic_tx_packetiser_free()
2089 if (!txp_el_ensure_iovec(&txp->el[enc_level], h->num_iovec + 3)) in txp_generate_crypto_frames()
2335 if (!txp_el_ensure_iovec(&txp->el[enc_level], h->num_iovec + 3)) in txp_generate_stream_frames()
2907 txpkt.iovec = txp->el[enc_level].iovec; in txp_pkt_commit()
3053 static int txp_el_ensure_iovec(struct txp_el *el, size_t num) in txp_el_ensure_iovec() argument
3057 if (el->alloc_iovec >= num) in txp_el_ensure_iovec()
3060 num = el->alloc_iovec != 0 ? el->alloc_iovec * 2 : 8; in txp_el_ensure_iovec()
3062 iovec = OPENSSL_realloc(el->iovec, sizeof(OSSL_QTX_IOVEC) * num); in txp_el_ensure_iovec()
3066 el->iovec = iovec; in txp_el_ensure_iovec()
3067 el->alloc_iovec = num; in txp_el_ensure_iovec()