Lines Matching refs:copied
908 size_t copy, copied = 0; in kcm_sendmsg() local
1011 copied += copy; in kcm_sendmsg()
1059 KCM_STATS_ADD(kcm->stats.tx_bytes, copied); in kcm_sendmsg()
1062 return copied; in kcm_sendmsg()
1071 if (copied) in kcm_sendmsg()
1098 int copied = 0; in kcm_recvmsg() local
1116 copied = len; in kcm_recvmsg()
1118 KCM_STATS_ADD(kcm->stats.rx_bytes, copied); in kcm_recvmsg()
1119 if (copied < stm->full_len) { in kcm_recvmsg()
1125 stm->offset += copied; in kcm_recvmsg()
1126 stm->full_len -= copied; in kcm_recvmsg()
1137 return copied ? : err; in kcm_recvmsg()
1149 ssize_t copied; in kcm_splice_read() local
1165 copied = skb_splice_bits(skb, sk, stm->offset, pipe, len, flags); in kcm_splice_read()
1166 if (copied < 0) { in kcm_splice_read()
1167 err = copied; in kcm_splice_read()
1171 KCM_STATS_ADD(kcm->stats.rx_bytes, copied); in kcm_splice_read()
1173 stm->offset += copied; in kcm_splice_read()
1174 stm->full_len -= copied; in kcm_splice_read()
1183 return copied; in kcm_splice_read()