Lines Matching full:credit

459  * This function marks the provided QUIC TX packetiser as having its credit
471 * Adds unvalidated credit to a QUIC TX packetiser.
473 * This function increases the unvalidated credit of the provided QUIC TX
474 * packetiser. If the current unvalidated credit is not `SIZE_MAX`, the
475 * function adds three times the specified `credit` value, ensuring it does
477 * would cause an overflow, the unvalidated credit is capped at
478 * `SIZE_MAX - 1`. If the current unvalidated credit is already `SIZE_MAX`,
482 * @param credit The amount of credit to add, multiplied by 3.
485 size_t credit) in ossl_quic_tx_packetiser_add_unvalidated_credit() argument
488 if ((SIZE_MAX - txp->unvalidated_credit) > (credit * 3)) in ossl_quic_tx_packetiser_add_unvalidated_credit()
489 txp->unvalidated_credit += credit * 3; in ossl_quic_tx_packetiser_add_unvalidated_credit()
498 * Consumes unvalidated credit from a QUIC TX packetiser.
500 * This function decreases the unvalidated credit of the specified
501 * QUIC TX packetiser by the given `credit` value. If the unvalidated credit
503 * an unlimited credit state.
506 * @param credit The amount of credit to consume.
509 size_t credit) in ossl_quic_tx_packetiser_consume_unvalidated_credit() argument
512 if (txp->unvalidated_credit < credit) in ossl_quic_tx_packetiser_consume_unvalidated_credit()
515 txp->unvalidated_credit -= credit; in ossl_quic_tx_packetiser_consume_unvalidated_credit()
520 * Checks if the QUIC TX packetiser has sufficient unvalidated credit.
522 * This function determines whether the unvalidated credit of the specified
523 * QUIC TX packetiser exceeds the required credit value (`req_credit`).
524 * If the unvalidated credit is greater than `req_credit`, the function
528 * @param req_credit The required credit value to compare against.
530 * @return 1 if the unvalidated credit exceeds `req_credit`, 0 otherwise.
2465 /* Log new TXFC credit which was consumed. */ in txp_generate_stream_frames()
2581 * flow control credit, make sure we account for that. in txp_generate_stream_related()