Lines Matching refs:bytes
237 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
240 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
241 if (bytes) in bpf_prog4()
242 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
243 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
244 if (bytes) in bpf_prog4()
245 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
268 int *bytes, *start, *end, *start_push, *end_push, *start_pop, *pop, *f; in bpf_prog6() local
272 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
273 if (bytes) in bpf_prog6()
274 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog6()
275 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog6()
276 if (bytes) in bpf_prog6()
277 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog6()
314 int ret = 0, *bytes, zero = 0; in bpf_prog8() local
316 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog8()
317 if (bytes) { in bpf_prog8()
318 ret = bpf_msg_apply_bytes(msg, *bytes); in bpf_prog8()
331 int ret = 0, *bytes, zero = 0; in bpf_prog9() local
333 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog9()
334 if (bytes) { in bpf_prog9()
335 if (((__u64)data_end - (__u64)data) >= *bytes) in bpf_prog9()
337 ret = bpf_msg_cork_bytes(msg, *bytes); in bpf_prog9()
347 int *bytes, *start, *end, *start_push, *end_push, *start_pop, *pop; in bpf_prog10() local
350 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog10()
351 if (bytes) in bpf_prog10()
352 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog10()
353 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog10()
354 if (bytes) in bpf_prog10()
355 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog10()