Lines Matching refs:apply_bytes
33 struct sk_msg *msg, u32 apply_bytes) in bpf_tcp_ingress() argument
35 bool apply = apply_bytes; in bpf_tcp_ingress()
50 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
51 apply_bytes : sge->length; in bpf_tcp_ingress()
67 apply_bytes -= size; in bpf_tcp_ingress()
68 if (!apply_bytes) { in bpf_tcp_ingress()
90 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
94 bool apply = apply_bytes; in tcp_bpf_push()
105 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
106 apply_bytes : sge->length; in tcp_bpf_push()
127 apply_bytes -= ret; in tcp_bpf_push()
145 if (apply && !apply_bytes) in tcp_bpf_push()
153 u32 apply_bytes, int flags, bool uncharge) in tcp_bpf_push_locked() argument
158 ret = tcp_bpf_push(sk, msg, apply_bytes, flags, uncharge); in tcp_bpf_push_locked()
422 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
423 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
439 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()
483 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()