Lines Matching refs:sge
36 struct scatterlist *sge; in bpf_tcp_ingress() local
49 sge = sk_msg_elem(msg, i); in bpf_tcp_ingress()
50 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
51 apply_bytes : sge->length; in bpf_tcp_ingress()
62 if (sge->length) in bpf_tcp_ingress()
69 if (sge->length) in bpf_tcp_ingress()
95 struct scatterlist *sge; in tcp_bpf_push() local
104 sge = sk_msg_elem(msg, msg->sg.start); in tcp_bpf_push()
105 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
106 apply_bytes : sge->length; in tcp_bpf_push()
107 off = sge->offset; in tcp_bpf_push()
108 page = sg_page(sge); in tcp_bpf_push()
117 if (size < sge->length && msg->sg.start != msg->sg.end) in tcp_bpf_push()
129 sge->offset += ret; in tcp_bpf_push()
130 sge->length -= ret; in tcp_bpf_push()
138 if (!sge->length) { in tcp_bpf_push()
141 sg_init_table(sge, 1); in tcp_bpf_push()
204 struct scatterlist *sge; in is_next_msg_fin() local
210 sge = sk_msg_elem(msg_rx, i); in is_next_msg_fin()
211 if (!sge->length) { in is_next_msg_fin()