Lines Matching refs:try_to_copy
995 struct sk_msg *msg_pl, size_t try_to_copy, in tls_sw_sendmsg_splice() argument
1005 try_to_copy, 1, 0, &off); in tls_sw_sendmsg_splice()
1019 try_to_copy -= part; in tls_sw_sendmsg_splice()
1020 } while (try_to_copy && !sk_msg_full(msg_pl)); in tls_sw_sendmsg_splice()
1036 size_t try_to_copy; in tls_sw_sendmsg_locked() local
1081 try_to_copy = msg_data_left(msg); in tls_sw_sendmsg_locked()
1083 if (try_to_copy >= record_room) { in tls_sw_sendmsg_locked()
1084 try_to_copy = record_room; in tls_sw_sendmsg_locked()
1088 required_size = msg_pl->sg.size + try_to_copy + in tls_sw_sendmsg_locked()
1104 try_to_copy -= required_size - msg_en->sg.size; in tls_sw_sendmsg_locked()
1108 if (try_to_copy && (msg->msg_flags & MSG_SPLICE_PAGES)) { in tls_sw_sendmsg_locked()
1110 try_to_copy, &copied); in tls_sw_sendmsg_locked()
1127 msg_pl, try_to_copy); in tls_sw_sendmsg_locked()
1132 copied += try_to_copy; in tls_sw_sendmsg_locked()
1154 copied -= try_to_copy; in tls_sw_sendmsg_locked()
1162 required_size = msg_pl->sg.size + try_to_copy; in tls_sw_sendmsg_locked()
1173 try_to_copy -= required_size - msg_pl->sg.size; in tls_sw_sendmsg_locked()
1179 if (try_to_copy) { in tls_sw_sendmsg_locked()
1181 msg_pl, try_to_copy); in tls_sw_sendmsg_locked()
1190 copied += try_to_copy; in tls_sw_sendmsg_locked()