Lines Matching refs:msg_rx
416 struct sk_msg *msg_rx; in sk_msg_recvmsg() local
419 msg_rx = sk_psock_peek_msg(psock); in sk_msg_recvmsg()
423 if (unlikely(!msg_rx)) in sk_msg_recvmsg()
426 i = msg_rx->sg.start; in sk_msg_recvmsg()
431 sge = sk_msg_elem(msg_rx, i); in sk_msg_recvmsg()
446 if (!msg_rx->skb) in sk_msg_recvmsg()
448 msg_rx->sg.size -= copy; in sk_msg_recvmsg()
452 if (!msg_rx->skb) in sk_msg_recvmsg()
466 } while ((i != msg_rx->sg.end) && !sg_is_last(sge)); in sk_msg_recvmsg()
469 msg_rx = sk_psock_next_msg(psock, msg_rx); in sk_msg_recvmsg()
470 if (!msg_rx) in sk_msg_recvmsg()
475 msg_rx->sg.start = i; in sk_msg_recvmsg()
476 if (!sge->length && (i == msg_rx->sg.end || sg_is_last(sge))) { in sk_msg_recvmsg()
477 msg_rx = sk_psock_dequeue_msg(psock); in sk_msg_recvmsg()
478 kfree_sk_msg(msg_rx); in sk_msg_recvmsg()
480 msg_rx = sk_psock_peek_msg(psock); in sk_msg_recvmsg()