• Home
  • Raw
  • Download

Lines Matching refs:copied

797 			       ssize_t *copied, int flags)  in bpf_exec_tx_verdict()  argument
814 *copied -= sk_msg_free(sk, msg); in bpf_exec_tx_verdict()
843 *copied -= sk_msg_free(sk, msg); in bpf_exec_tx_verdict()
862 *copied -= sk_msg_free_nocharge(sk, &msg_redir); in bpf_exec_tx_verdict()
877 *copied -= (send + delta); in bpf_exec_tx_verdict()
911 size_t copied; in tls_sw_push_pending_record() local
917 copied = msg_pl->sg.size; in tls_sw_push_pending_record()
918 if (!copied) in tls_sw_push_pending_record()
922 &copied, flags); in tls_sw_push_pending_record()
936 ssize_t copied = 0; in tls_sw_sendmsg() local
1023 copied += try_to_copy; in tls_sw_sendmsg()
1027 record_type, &copied, in tls_sw_sendmsg()
1041 copied -= try_to_copy; in tls_sw_sendmsg()
1077 copied += try_to_copy; in tls_sw_sendmsg()
1080 record_type, &copied, in tls_sw_sendmsg()
1133 copied = 0; in tls_sw_sendmsg()
1148 return copied > 0 ? copied : ret; in tls_sw_sendmsg()
1162 ssize_t copied = 0; in tls_sw_do_sendpage() local
1224 copied += copy; in tls_sw_do_sendpage()
1229 record_type, &copied, flags); in tls_sw_do_sendpage()
1266 return copied > 0 ? copied : ret; in tls_sw_do_sendpage()
1359 ssize_t copied, use; in tls_setup_from_iter() local
1369 copied = iov_iter_get_pages(from, pages, in tls_setup_from_iter()
1372 if (copied <= 0) { in tls_setup_from_iter()
1377 iov_iter_advance(from, copied); in tls_setup_from_iter()
1379 length -= copied; in tls_setup_from_iter()
1380 size += copied; in tls_setup_from_iter()
1381 while (copied) { in tls_setup_from_iter()
1382 use = min_t(int, copied, PAGE_SIZE - offset); in tls_setup_from_iter()
1390 copied -= use; in tls_setup_from_iter()
1655 ssize_t copied = 0; in process_rx_list() local
1712 copied = copied + chunk; in process_rx_list()
1743 return copied; in process_rx_list()
1763 ssize_t copied = 0; in tls_sw_recvmsg() local
1788 copied = err; in tls_sw_recvmsg()
1789 if (len <= copied || (copied && control != TLS_RECORD_TYPE_DATA)) in tls_sw_recvmsg()
1793 len = len - copied; in tls_sw_recvmsg()
1798 while (len && (decrypted + copied < target || ctx->recv_pkt)) { in tls_sw_recvmsg()
1957 copied = 0; in tls_sw_recvmsg()
1972 err = process_rx_list(ctx, msg, &control, &cmsg, copied, in tls_sw_recvmsg()
1979 copied = 0; in tls_sw_recvmsg()
1984 copied += decrypted; in tls_sw_recvmsg()
1990 return copied ? : err; in tls_sw_recvmsg()
2002 ssize_t copied = 0; in tls_sw_splice_read() local
2031 copied = skb_splice_bits(skb, sk, rxm->offset, pipe, chunk, flags); in tls_sw_splice_read()
2032 if (copied < 0) in tls_sw_splice_read()
2036 tls_sw_advance_skb(sk, skb, copied); in tls_sw_splice_read()
2040 return copied ? : err; in tls_sw_splice_read()