Lines Matching refs:copied
904 size_t copy, copied = 0; in kcm_sendmsg() local
1007 copied += copy; in kcm_sendmsg()
1055 KCM_STATS_ADD(kcm->stats.tx_bytes, copied); in kcm_sendmsg()
1058 return copied; in kcm_sendmsg()
1063 if (copied && sock->type == SOCK_SEQPACKET) { in kcm_sendmsg()
1122 int copied = 0; in kcm_recvmsg() local
1144 copied = len; in kcm_recvmsg()
1146 KCM_STATS_ADD(kcm->stats.rx_bytes, copied); in kcm_recvmsg()
1147 if (copied < stm->full_len) { in kcm_recvmsg()
1153 stm->offset += copied; in kcm_recvmsg()
1154 stm->full_len -= copied; in kcm_recvmsg()
1168 return copied ? : err; in kcm_recvmsg()
1180 ssize_t copied; in kcm_splice_read() local
1200 copied = skb_splice_bits(skb, sk, stm->offset, pipe, len, flags); in kcm_splice_read()
1201 if (copied < 0) { in kcm_splice_read()
1202 err = copied; in kcm_splice_read()
1206 KCM_STATS_ADD(kcm->stats.rx_bytes, copied); in kcm_splice_read()
1208 stm->offset += copied; in kcm_splice_read()
1209 stm->full_len -= copied; in kcm_splice_read()
1219 return copied; in kcm_splice_read()