Lines Matching refs:space_left

287     size_t space_left, len;  in tx_helper_begin()  local
300 space_left = tx_helper_get_space_left(h); in tx_helper_begin()
301 if (!ossl_assert(space_left <= len)) in tx_helper_begin()
307 if (!WPACKET_set_max_size(&h->txn.wpkt, space_left)) { in tx_helper_begin()
1917 static int try_len(size_t space_left, size_t orig_len, in try_len() argument
1926 if (orig_len == 0 && space_left >= *hdr_len) { in try_len()
1934 if (n + *hdr_len > space_left) in try_len()
1935 n = (space_left >= *hdr_len) ? space_left - *hdr_len : 0; in try_len()
1941 static int determine_len(size_t space_left, size_t orig_len, in determine_len() argument
1951 valid[0] = try_len(space_left, orig_len, base_hdr_len, in determine_len()
1954 valid[1] = try_len(space_left, orig_len, base_hdr_len, in determine_len()
1957 valid[2] = try_len(space_left, orig_len, base_hdr_len, in determine_len()
1960 valid[3] = try_len(space_left, orig_len, base_hdr_len, in determine_len()
1986 size_t space_left, in determine_crypto_len() argument
2006 return determine_len(space_left, orig_len, base_hdr_len, hlen, len); in determine_crypto_len()
2011 size_t space_left, in determine_stream_len() argument
2032 return determine_len(space_left, orig_len, base_hdr_len, hlen, len); in determine_stream_len()
2050 size_t i, space_left; in txp_generate_crypto_frames() local
2053 space_left = tx_helper_get_space_left(h); in txp_generate_crypto_frames()
2055 if (space_left < MIN_FRAME_SIZE_CRYPTO) in txp_generate_crypto_frames()
2073 if (!determine_crypto_len(h, &chdr, space_left, &hdr_bytes, in txp_generate_crypto_frames()
2202 size_t i, j, space_left; in txp_generate_stream_frames() local
2233 space_left = tx_helper_get_space_left(h); in txp_generate_stream_frames()
2241 if (space_left < MIN_FRAME_SIZE_STREAM) { in txp_generate_stream_frames()
2269 if (!determine_stream_len(h, shdr, space_left, in txp_generate_stream_frames()
2282 >= space_left); in txp_generate_stream_frames()
2302 if (!determine_stream_len(h, shdr, space_left, in txp_generate_stream_frames()