/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_fwd_kern.c | 45 void *data_end = (void *)(long)ctx->data_end; in xdp_fwd_flags() local 56 if (data + nh_off > data_end) in xdp_fwd_flags() 65 if (iph + 1 > data_end) in xdp_fwd_flags() 84 if (ip6h + 1 > data_end) in xdp_fwd_flags()
|
H A D | parse_simple.c | 33 void *data_end = (void *)(long)skb->data_end; in handle_ingress() local 36 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) in handle_ingress()
|
H A D | xdp2skb_meta_kern.c | 35 void *data, *data_end; in _xdp_mark() local 66 void *data_end = (void *)(unsigned long)ctx->data_end; in _tc_mark() local
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_context_test_run.c | 7 __u32 data_meta, __u32 data, __u32 data_end, in test_xdp_context_error() 13 .data_end = data_end, in test_xdp_context_error() 63 ctx_in.data_end = ctx_in.data + sizeof(pkt_v4); in test_xdp_context_test_run() 71 ASSERT_EQ(ctx_out.data_end, sizeof(pkt_v4), "valid-dataend"); in test_xdp_context_test_run() 83 /* Total size of data must match data_end - data_meta */ in test_xdp_context_test_run() 6 test_xdp_context_error(int prog_fd, struct bpf_test_run_opts opts, __u32 data_meta, __u32 data, __u32 data_end, __u32 ingress_ifindex, __u32 rx_queue_index, __u32 egress_ifindex) test_xdp_context_error() argument
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_fwd_kern.c | 45 void *data_end = (void *)(long)ctx->data_end; in xdp_fwd_flags() local 56 if (data + nh_off > data_end) in xdp_fwd_flags() 65 if (iph + 1 > data_end) in xdp_fwd_flags() 84 if (ip6h + 1 > data_end) in xdp_fwd_flags()
|
H A D | parse_simple.c | 33 void *data_end = (void *)(long)skb->data_end; in handle_ingress() local 36 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) in handle_ingress()
|
H A D | test_cgrp2_tc.bpf.c | 33 void *data_end = (void *)(long)skb->data_end; in handle_egress() local 39 if (data + sizeof(*eth) + sizeof(*ip6h) > data_end) in handle_egress()
|
H A D | xdp2skb_meta_kern.c | 35 void *data, *data_end; in _xdp_mark() local 66 void *data_end = (void *)(unsigned long)ctx->data_end; in _tc_mark() local
|
H A D | xdp_router_ipv4.bpf.c | 76 void *data_end = (void *)(long)ctx->data_end; in xdp_router_ipv4_prog() local 88 if (data + nh_off > data_end) in xdp_router_ipv4_prog() 98 if (data + nh_off > data_end) in xdp_router_ipv4_prog() 115 if (iph + 1 > data_end) in xdp_router_ipv4_prog()
|
/third_party/ffmpeg/libavformat/ |
H A D | dtshddec.c | 43 uint64_t data_end; member 89 dtshd->data_end = data_start + chunk_size; in dtshd_read_header() 90 if (dtshd->data_end <= chunk_size) in dtshd_read_header() 130 if (!dtshd->data_end) in dtshd_read_header() 148 left = dtshd->data_end - avio_tell(s->pb); in raw_read_packet()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 454 void *data_end = (void *)(long)skb->data_end; in veth_set_outer_dst() local 460 if ((void *)eth + sizeof(*eth) > data_end) { in veth_set_outer_dst() 469 if ((void *)iph + sizeof(*iph) > data_end) { in veth_set_outer_dst() 477 if ((void *)udph + sizeof(*udph) > data_end) { in veth_set_outer_dst() 728 void *data_end = (void *)(long)skb->data_end; in ipip_set_tunnel() local 732 if (data + sizeof(*iph) > data_end) { in ipip_set_tunnel() 774 void *data_end = (void *)(long)skb->data_end; in ipip_gue_set_tunnel() local 811 void *data_end = (void *)(long)skb->data_end; ipip_fou_set_tunnel() local 875 void *data_end = (void *)(long)skb->data_end; ipip6_set_tunnel() local 924 void *data_end = (void *)(long)skb->data_end; ip6ip6_set_tunnel() local [all...] |
H A D | test_xdp_adjust_tail_shrink.c | 15 __u8 *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_shrink() local 26 if (data + 1 > data_end) in _xdp_adjust_tail_shrink()
|
H A D | test_xdp_update_frags.c | 16 __u8 *data_end = (void *)(long)xdp->data_end; in xdp_adjust_frags() local 22 if (data + sizeof(__u32) > data_end) in xdp_adjust_frags()
|
H A D | test_xdp_with_devmap_helpers.c | 34 void *data_end = (void *)(long)ctx->data_end; in xdp_dummy_dm() local 36 unsigned int len = data_end - data; in xdp_dummy_dm()
|
H A D | test_verif_scale3.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_verif_scale1.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_verif_scale2.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_sockmap_kern.h | 121 len = (__u32)skb->data_end - (__u32)skb->data; in bpf_prog2() 141 void *data_end; in bpf_write_pass() local 148 data_end = (void *)(long)skb->data_end; in bpf_write_pass() 150 if (c + 5 + offset < data_end) in bpf_write_pass() 314 void *data_end = (void *)(long) msg->data_end; in bpf_prog8() local 327 __sink(data_end); in bpf_prog8() 335 void *data_end = (void *)(long) msg->data_end; in bpf_prog9() local [all...] |
H A D | test_seg6_loop.c | 55 void *cursor, *data_end; in get_srh() local 60 data_end = (void *)(long)skb->data_end; in get_srh() 64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh() 71 if ((void *)ip + sizeof(*ip) > data_end) in get_srh() 78 if ((void *)srh + sizeof(*srh) > data_end) in get_srh()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_with_devmap_helpers.c | 34 void *data_end = (void *)(long)ctx->data_end; in xdp_dummy_dm() local 36 unsigned int len = data_end - data; in xdp_dummy_dm()
|
H A D | test_verif_scale3.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_verif_scale1.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_verif_scale2.c | 11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local 22 if (ptr + nh_off > data_end) \ in balancer_ingress()
|
H A D | test_seg6_loop.c | 55 void *cursor, *data_end; in get_srh() local 60 data_end = (void *)(long)skb->data_end; in get_srh() 64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh() 71 if ((void *)ip + sizeof(*ip) > data_end) in get_srh() 78 if ((void *)srh + sizeof(*srh) > data_end) in get_srh()
|
/third_party/ffmpeg/libavcodec/ |
H A D | tiertexseqv.c | 167 const unsigned char *data_end = data + data_size; in seqvideo_decode() local 178 if (data_end - data < 256 * 3) in seqvideo_decode() 189 if (data_end - data < 128) in seqvideo_decode() 198 data = seq_decode_op1(seq, data, data_end, dst); in seqvideo_decode() 201 data = seq_decode_op2(seq, data, data_end, dst); in seqvideo_decode() 204 data = seq_decode_op3(seq, data, data_end, dst); in seqvideo_decode()
|