Searched refs:apply_bytes (Results 1 – 5 of 5) sorted by relevance
33 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress() argument35 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()66 apply_bytes -= size; in bpf_tcp_ingress()67 if (!apply_bytes) { in bpf_tcp_ingress()88 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument92 bool apply = apply_bytes; in tcp_bpf_push()103 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()104 apply_bytes : sge->length; in tcp_bpf_push()[all …]
47 u32 apply_bytes; member82 u32 apply_bytes; member141 if (psock->apply_bytes) { in sk_msg_apply_bytes()142 if (psock->apply_bytes < bytes) in sk_msg_apply_bytes()143 psock->apply_bytes = 0; in sk_msg_apply_bytes()145 psock->apply_bytes -= bytes; in sk_msg_apply_bytes()
571 u32 i, j, bytes = 0, apply = msg_opl->apply_bytes; in tls_split_open_record()616 msg_opl->apply_bytes = 0; in tls_split_open_record()620 msg_npl->apply_bytes = apply; in tls_split_open_record()675 msg_opl->apply_bytes = msg_opl->sg.size + msg_npl->sg.size; in tls_merge_open_record()703 split_point = msg_pl->apply_bytes; in tls_push_record()843 if (msg->apply_bytes && msg->apply_bytes < send) in bpf_exec_tx_verdict()844 send = msg->apply_bytes; in bpf_exec_tx_verdict()860 if (msg->apply_bytes < send) in bpf_exec_tx_verdict()861 msg->apply_bytes = 0; in bpf_exec_tx_verdict()863 msg->apply_bytes -= send; in bpf_exec_tx_verdict()[all …]
881 psock->apply_bytes = msg->apply_bytes; in sk_psock_msg_verdict()
2575 msg->apply_bytes = bytes; in BPF_CALL_2()