Lines Matching refs:copied
286 size_t copied; in bt_sock_recvmsg() local
304 copied = skb->len; in bt_sock_recvmsg()
305 if (len < copied) { in bt_sock_recvmsg()
307 copied = len; in bt_sock_recvmsg()
311 err = skb_copy_datagram_msg(skb, 0, msg, copied); in bt_sock_recvmsg()
323 copied = skblen; in bt_sock_recvmsg()
325 return err ? : copied; in bt_sock_recvmsg()
363 size_t target, copied = 0; in bt_sock_stream_recvmsg() local
382 if (copied >= target) in bt_sock_stream_recvmsg()
407 if (!copied) in bt_sock_stream_recvmsg()
408 copied = -EFAULT; in bt_sock_stream_recvmsg()
411 copied += chunk; in bt_sock_stream_recvmsg()
459 return copied ? : err; in bt_sock_stream_recvmsg()