btf_array 493 kernel/bpf/btf.c static const struct btf_array *btf_type_array(const struct btf_type *t) btf_array 495 kernel/bpf/btf.c return (const struct btf_array *)(t + 1); btf_array 1875 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); btf_array 1927 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(v->t); btf_array 1992 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); btf_array 2002 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); btf_array 3016 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); btf_array 133 tools/bpf/bpftool/btf.c const struct btf_array *arr = (const void *)(t + 1); btf_array 55 tools/bpf/bpftool/btf_dumper.c struct btf_array *arr = (struct btf_array *)(t + 1); btf_array 425 tools/bpf/bpftool/btf_dumper.c const struct btf_array *array; btf_array 454 tools/bpf/bpftool/btf_dumper.c array = (struct btf_array *)(t + 1); btf_array 164 tools/lib/bpf/btf.c return base_size + sizeof(struct btf_array); btf_array 231 tools/lib/bpf/btf.c const struct btf_array *array; btf_array 259 tools/lib/bpf/btf.c array = btf_array(t); btf_array 1867 tools/lib/bpf/btf.c const struct btf_array *info = btf_array(t); btf_array 1885 tools/lib/bpf/btf.c const struct btf_array *info1, *info2; btf_array 1890 tools/lib/bpf/btf.c info1 = btf_array(t1); btf_array 1891 tools/lib/bpf/btf.c info2 = btf_array(t2); btf_array 1907 tools/lib/bpf/btf.c return btf_array(t1)->nelems == btf_array(t2)->nelems; btf_array 2300 tools/lib/bpf/btf.c const struct btf_array *cand_arr, *canon_arr; btf_array 2304 tools/lib/bpf/btf.c cand_arr = btf_array(cand_type); btf_array 2305 tools/lib/bpf/btf.c canon_arr = btf_array(canon_type); btf_array 2589 tools/lib/bpf/btf.c struct btf_array *info = btf_array(t); btf_array 2784 tools/lib/bpf/btf.c struct btf_array *arr_info = btf_array(t); btf_array 252 tools/lib/bpf/btf.h static inline struct btf_array *btf_array(const struct btf_type *t) btf_array 254 tools/lib/bpf/btf.h return (struct btf_array *)(t + 1); btf_array 276 tools/lib/bpf/btf_dump.c const struct btf_array *a = btf_array(t); btf_array 446 tools/lib/bpf/btf_dump.c return btf_dump_order_type(d, btf_array(t)->type, through_ptr); btf_array 684 tools/lib/bpf/btf_dump.c btf_dump_emit_type(d, btf_array(t)->type, cont_id); btf_array 772 tools/lib/bpf/btf_dump.c return btf_align_of(btf, btf_array(t)->type); btf_array 1078 tools/lib/bpf/btf_dump.c id = btf_array(t)->type; btf_array 1228 tools/lib/bpf/btf_dump.c const struct btf_array *a = btf_array(t); btf_array 1047 tools/lib/bpf/libbpf.c const struct btf_array *arr_info; btf_array 1067 tools/lib/bpf/libbpf.c arr_info = btf_array(arr_t); btf_array 2446 tools/lib/bpf/libbpf.c const struct btf_array *a = btf_array(t); btf_array 2604 tools/lib/bpf/libbpf.c local_id = btf_array(local_type)->type; btf_array 2605 tools/lib/bpf/libbpf.c targ_id = btf_array(targ_type)->type; btf_array 2745 tools/lib/bpf/libbpf.c const struct btf_array *a; btf_array 2750 tools/lib/bpf/libbpf.c a = btf_array(targ_type); btf_array 6691 tools/testing/selftests/bpf/test_btf.c return base_size + sizeof(struct btf_array);