Lines Matching refs:msg_tx
426 struct sk_msg tmp, *msg_tx = NULL; in tcp_bpf_sendmsg() local
455 msg_tx = psock->cork; in tcp_bpf_sendmsg()
457 msg_tx = &tmp; in tcp_bpf_sendmsg()
458 sk_msg_init(msg_tx); in tcp_bpf_sendmsg()
461 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
462 err = sk_msg_alloc(sk, msg_tx, msg_tx->sg.size + copy, msg_tx->sg.end - 1); in tcp_bpf_sendmsg()
467 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
470 err = sk_msg_memcopy_from_iter(sk, &msg->msg_iter, msg_tx, in tcp_bpf_sendmsg()
473 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
490 err = tcp_bpf_send_verdict(sk, psock, msg_tx, &copied, flags); in tcp_bpf_sendmsg()
499 if (msg_tx && msg_tx != psock->cork) in tcp_bpf_sendmsg()
500 sk_msg_free(sk, msg_tx); in tcp_bpf_sendmsg()