Lines Matching refs:try_to_copy
975 struct sk_msg *msg_pl, size_t try_to_copy, in tls_sw_sendmsg_splice() argument
985 try_to_copy, 1, 0, &off); in tls_sw_sendmsg_splice()
999 try_to_copy -= part; in tls_sw_sendmsg_splice()
1000 } while (try_to_copy && !sk_msg_full(msg_pl)); in tls_sw_sendmsg_splice()
1016 size_t try_to_copy; in tls_sw_sendmsg_locked() local
1061 try_to_copy = msg_data_left(msg); in tls_sw_sendmsg_locked()
1063 if (try_to_copy >= record_room) { in tls_sw_sendmsg_locked()
1064 try_to_copy = record_room; in tls_sw_sendmsg_locked()
1068 required_size = msg_pl->sg.size + try_to_copy + in tls_sw_sendmsg_locked()
1084 try_to_copy -= required_size - msg_en->sg.size; in tls_sw_sendmsg_locked()
1088 if (try_to_copy && (msg->msg_flags & MSG_SPLICE_PAGES)) { in tls_sw_sendmsg_locked()
1090 try_to_copy, &copied); in tls_sw_sendmsg_locked()
1107 msg_pl, try_to_copy); in tls_sw_sendmsg_locked()
1112 copied += try_to_copy; in tls_sw_sendmsg_locked()
1130 copied -= try_to_copy; in tls_sw_sendmsg_locked()
1138 required_size = msg_pl->sg.size + try_to_copy; in tls_sw_sendmsg_locked()
1149 try_to_copy -= required_size - msg_pl->sg.size; in tls_sw_sendmsg_locked()
1155 if (try_to_copy) { in tls_sw_sendmsg_locked()
1157 msg_pl, try_to_copy); in tls_sw_sendmsg_locked()
1166 copied += try_to_copy; in tls_sw_sendmsg_locked()