Lines Matching refs:copied
257 size_t copied; in bt_sock_recvmsg() local
278 copied = skb->len; in bt_sock_recvmsg()
279 if (len < copied) { in bt_sock_recvmsg()
281 copied = len; in bt_sock_recvmsg()
285 err = skb_copy_datagram_msg(skb, 0, msg, copied); in bt_sock_recvmsg()
302 copied = skblen; in bt_sock_recvmsg()
304 return err ? : copied; in bt_sock_recvmsg()
342 size_t target, copied = 0; in bt_sock_stream_recvmsg() local
361 if (copied >= target) in bt_sock_stream_recvmsg()
386 if (!copied) in bt_sock_stream_recvmsg()
387 copied = -EFAULT; in bt_sock_stream_recvmsg()
390 copied += chunk; in bt_sock_stream_recvmsg()
438 return copied ? : err; in bt_sock_stream_recvmsg()