Lines Matching refs:bytes
184 int *bytes, zero = 0, one = 1; in bpf_prog4() local
187 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
188 if (bytes) in bpf_prog4()
189 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
190 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
191 if (bytes) in bpf_prog4()
192 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
204 int *bytes, *start, *end, len1, len2; in bpf_prog5() local
206 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog5()
207 if (bytes) in bpf_prog5()
208 err1 = bpf_msg_apply_bytes(msg, *bytes); in bpf_prog5()
209 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog5()
210 if (bytes) in bpf_prog5()
211 err2 = bpf_msg_cork_bytes(msg, *bytes); in bpf_prog5()
236 int *bytes, zero = 0, one = 1, key = 0; in bpf_prog6() local
240 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
241 if (bytes) in bpf_prog6()
242 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog6()
243 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog6()
244 if (bytes) in bpf_prog6()
245 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog6()
266 int *f, *bytes, *start, *end, len1, len2; in bpf_prog7() local
270 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog7()
271 if (bytes) in bpf_prog7()
272 err1 = bpf_msg_apply_bytes(msg, *bytes); in bpf_prog7()
273 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog7()
274 if (bytes) in bpf_prog7()
275 err2 = bpf_msg_cork_bytes(msg, *bytes); in bpf_prog7()
312 int ret = 0, *bytes, zero = 0; in bpf_prog8() local
314 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog8()
315 if (bytes) { in bpf_prog8()
316 ret = bpf_msg_apply_bytes(msg, *bytes); in bpf_prog8()
329 int ret = 0, *bytes, zero = 0; in bpf_prog9() local
331 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog9()
332 if (bytes) { in bpf_prog9()
333 if (((__u64)data_end - (__u64)data) >= *bytes) in bpf_prog9()
335 ret = bpf_msg_cork_bytes(msg, *bytes); in bpf_prog9()
345 int *bytes, zero = 0, one = 1; in bpf_prog10() local
348 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog10()
349 if (bytes) in bpf_prog10()
350 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog10()
351 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog10()
352 if (bytes) in bpf_prog10()
353 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog10()