Home
last modified time | relevance | path

Searched refs:apply_bytes (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_bpf.c95 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress()
97 bool apply = apply_bytes; in bpf_tcp_ingress()
112 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
113 apply_bytes : sge->length; in bpf_tcp_ingress()
128 apply_bytes -= size; in bpf_tcp_ingress()
129 if (!apply_bytes) { in bpf_tcp_ingress()
150 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
153 bool apply = apply_bytes; in tcp_bpf_push()
163 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
164 apply_bytes in tcp_bpf_push()
94 bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg, u32 apply_bytes, int flags) bpf_tcp_ingress() argument
207 tcp_bpf_push_locked(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, int flags, bool uncharge) tcp_bpf_push_locked() argument
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_bpf.c33 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress()
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()
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() argument
92 bool apply = apply_bytes; in tcp_bpf_push()
103 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
104 apply_bytes in tcp_bpf_push()
32 bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg, u32 apply_bytes, int flags) bpf_tcp_ingress() argument
150 tcp_bpf_push_locked(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, int flags, bool uncharge) tcp_bpf_push_locked() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dskmsg.h48 u32 apply_bytes; member
88 u32 apply_bytes; member
138 if (psock->apply_bytes) { in sk_msg_apply_bytes()
139 if (psock->apply_bytes < bytes) in sk_msg_apply_bytes()
140 psock->apply_bytes = 0; in sk_msg_apply_bytes()
142 psock->apply_bytes -= bytes; in sk_msg_apply_bytes()
/kernel/linux/linux-6.6/include/linux/
H A Dskmsg.h47 u32 apply_bytes; member
82 u32 apply_bytes; member
142 if (psock->apply_bytes) { in sk_msg_apply_bytes()
143 if (psock->apply_bytes < bytes) in sk_msg_apply_bytes()
144 psock->apply_bytes = 0; in sk_msg_apply_bytes()
146 psock->apply_bytes -= bytes; in sk_msg_apply_bytes()
/kernel/linux/linux-5.10/net/tls/
H A Dtls_sw.c559 u32 i, j, bytes = 0, apply = msg_opl->apply_bytes; in tls_split_open_record()
604 msg_opl->apply_bytes = 0; in tls_split_open_record()
608 msg_npl->apply_bytes = apply; in tls_split_open_record()
663 msg_opl->apply_bytes = msg_opl->sg.size + msg_npl->sg.size; in tls_merge_open_record()
691 split_point = msg_pl->apply_bytes; in tls_push_record()
832 if (msg->apply_bytes && msg->apply_bytes < send) in bpf_exec_tx_verdict()
833 send = msg->apply_bytes; in bpf_exec_tx_verdict()
848 if (msg->apply_bytes < send) in bpf_exec_tx_verdict()
849 msg->apply_bytes in bpf_exec_tx_verdict()
[all...]
/kernel/linux/linux-6.6/net/tls/
H A Dtls_sw.c611 u32 i, j, bytes = 0, apply = msg_opl->apply_bytes; in tls_split_open_record()
656 msg_opl->apply_bytes = 0; in tls_split_open_record()
660 msg_npl->apply_bytes = apply; in tls_split_open_record()
715 msg_opl->apply_bytes = msg_opl->sg.size + msg_npl->sg.size; in tls_merge_open_record()
743 split_point = msg_pl->apply_bytes; in tls_push_record()
883 if (msg->apply_bytes && msg->apply_bytes < send) in bpf_exec_tx_verdict()
884 send = msg->apply_bytes; in bpf_exec_tx_verdict()
900 if (msg->apply_bytes < send) in bpf_exec_tx_verdict()
901 msg->apply_bytes in bpf_exec_tx_verdict()
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dskmsg.c747 psock->apply_bytes = msg->apply_bytes; in sk_psock_msg_verdict()
H A Dfilter.c2586 msg->apply_bytes = bytes; in BPF_CALL_2()
/kernel/linux/linux-6.6/net/core/
H A Dskmsg.c883 psock->apply_bytes = msg->apply_bytes; in sk_psock_msg_verdict()
H A Dfilter.c2578 msg->apply_bytes = bytes; in BPF_CALL_2()

Completed in 32 milliseconds