Searched refs:try_to_copy (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_sw.c | 975 struct sk_msg *msg_pl, size_t try_to_copy, in tls_sw_sendmsg_splice() 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() 1080 /* Adjust try_to_copy accordin in tls_sw_sendmsg_locked() 974 tls_sw_sendmsg_splice(struct sock *sk, struct msghdr *msg, struct sk_msg *msg_pl, size_t try_to_copy, ssize_t *copied) tls_sw_sendmsg_splice() argument [all...] |
/kernel/linux/linux-5.10/net/tls/ |
H A D | tls_sw.c | 931 size_t try_to_copy; in tls_sw_sendmsg() local 983 try_to_copy = msg_data_left(msg); in tls_sw_sendmsg() 985 if (try_to_copy >= record_room) { in tls_sw_sendmsg() 986 try_to_copy = record_room; in tls_sw_sendmsg() 990 required_size = msg_pl->sg.size + try_to_copy + in tls_sw_sendmsg() 1002 /* Adjust try_to_copy according to the amount that was in tls_sw_sendmsg() 1006 try_to_copy -= required_size - msg_en->sg.size; in tls_sw_sendmsg() 1014 msg_pl, try_to_copy); in tls_sw_sendmsg() 1019 copied += try_to_copy; in tls_sw_sendmsg() 1037 copied -= try_to_copy; in tls_sw_sendmsg() [all...] |
Completed in 5 milliseconds