Lines Matching refs:apply_bytes
15 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress() argument
17 bool apply = apply_bytes; in bpf_tcp_ingress()
32 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
33 apply_bytes : sge->length; in bpf_tcp_ingress()
48 apply_bytes -= size; in bpf_tcp_ingress()
49 if (!apply_bytes) { in bpf_tcp_ingress()
70 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
73 bool apply = apply_bytes; in tcp_bpf_push()
83 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
84 apply_bytes : sge->length; in tcp_bpf_push()
102 apply_bytes -= ret; in tcp_bpf_push()
120 if (apply && !apply_bytes) in tcp_bpf_push()
128 u32 apply_bytes, int flags, bool uncharge) in tcp_bpf_push_locked() argument
133 ret = tcp_bpf_push(sk, msg, apply_bytes, flags, uncharge); in tcp_bpf_push_locked()
320 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
321 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
337 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()
381 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()