Lines Matching refs:sge
18 struct scatterlist *sge; in bpf_tcp_ingress() local
31 sge = sk_msg_elem(msg, i); in bpf_tcp_ingress()
32 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
33 apply_bytes : sge->length; in bpf_tcp_ingress()
43 if (sge->length) in bpf_tcp_ingress()
50 if (sge->length) in bpf_tcp_ingress()
74 struct scatterlist *sge; in tcp_bpf_push() local
82 sge = sk_msg_elem(msg, msg->sg.start); in tcp_bpf_push()
83 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
84 apply_bytes : sge->length; in tcp_bpf_push()
85 off = sge->offset; in tcp_bpf_push()
86 page = sg_page(sge); in tcp_bpf_push()
104 sge->offset += ret; in tcp_bpf_push()
105 sge->length -= ret; in tcp_bpf_push()
113 if (!sge->length) { in tcp_bpf_push()
116 sg_init_table(sge, 1); in tcp_bpf_push()