Lines Matching refs:apply_bytes
34 struct sk_msg *msg, u32 apply_bytes) in bpf_tcp_ingress() argument
36 bool apply = apply_bytes; in bpf_tcp_ingress()
51 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
52 apply_bytes : sge->length; in bpf_tcp_ingress()
68 apply_bytes -= size; in bpf_tcp_ingress()
69 if (!apply_bytes) { in bpf_tcp_ingress()
91 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
95 bool apply = apply_bytes; in tcp_bpf_push()
106 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
107 apply_bytes : sge->length; in tcp_bpf_push()
128 apply_bytes -= ret; in tcp_bpf_push()
146 if (apply && !apply_bytes) in tcp_bpf_push()
154 u32 apply_bytes, int flags, bool uncharge) in tcp_bpf_push_locked() argument
159 ret = tcp_bpf_push(sk, msg, apply_bytes, flags, uncharge); in tcp_bpf_push_locked()
442 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
443 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
459 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()
503 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()