Lines Matching refs:tosend
321 u32 tosend, origsize, sent, delta = 0; in tcp_bpf_send_verdict() local
350 tosend = msg->sg.size; in tcp_bpf_send_verdict()
351 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
352 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
357 ret = tcp_bpf_push(sk, msg, tosend, flags, true); in tcp_bpf_send_verdict()
362 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
366 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
377 sk_msg_return(sk, msg, tosend); in tcp_bpf_send_verdict()
381 ret = tcp_bpf_sendmsg_redir(sk_redir, msg, tosend, flags); in tcp_bpf_send_verdict()
403 sk_msg_free_partial(sk, msg, tosend); in tcp_bpf_send_verdict()
404 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
405 *copied -= (tosend + delta); in tcp_bpf_send_verdict()
421 sk_mem_charge(sk, tosend - sent); in tcp_bpf_send_verdict()