Home
last modified time | relevance | path

Searched refs:try_to_copy (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/net/tls/
Dtls_sw.c361 size_t try_to_copy, copied = 0; in tls_sw_sendmsg() local
390 try_to_copy = msg_data_left(msg); in tls_sw_sendmsg()
392 if (try_to_copy >= record_room) { in tls_sw_sendmsg()
393 try_to_copy = record_room; in tls_sw_sendmsg()
397 required_size = ctx->sg_plaintext_size + try_to_copy + in tls_sw_sendmsg()
412 try_to_copy -= required_size - ctx->sg_encrypted_size; in tls_sw_sendmsg()
417 try_to_copy, &ctx->sg_plaintext_num_elem, in tls_sw_sendmsg()
425 copied += try_to_copy; in tls_sw_sendmsg()
438 required_size = ctx->sg_plaintext_size + try_to_copy; in tls_sw_sendmsg()
449 try_to_copy -= required_size - ctx->sg_plaintext_size; in tls_sw_sendmsg()
[all …]