Lines Matching refs:apply_bytes
14 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress() argument
16 bool apply = apply_bytes; in bpf_tcp_ingress()
31 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
32 apply_bytes : sge->length; in bpf_tcp_ingress()
47 apply_bytes -= size; in bpf_tcp_ingress()
48 if (!apply_bytes) in bpf_tcp_ingress()
66 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
69 bool apply = apply_bytes; in tcp_bpf_push()
79 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
80 apply_bytes : sge->length; in tcp_bpf_push()
98 apply_bytes -= ret; in tcp_bpf_push()
116 if (apply && !apply_bytes) in tcp_bpf_push()
124 u32 apply_bytes, int flags, bool uncharge) in tcp_bpf_push_locked() argument
129 ret = tcp_bpf_push(sk, msg, apply_bytes, flags, uncharge); in tcp_bpf_push_locked()
286 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
287 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
301 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()
342 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()