btf_enum 503 kernel/bpf/btf.c static const struct btf_enum *btf_type_enum(const struct btf_type *t) btf_enum 505 kernel/bpf/btf.c return (const struct btf_enum *)(t + 1); btf_enum 2360 kernel/bpf/btf.c const struct btf_enum *enums = btf_type_enum(t); btf_enum 2427 kernel/bpf/btf.c const struct btf_enum *enums = btf_type_enum(t); btf_enum 193 tools/bpf/bpftool/btf.c const struct btf_enum *v = (const void *)(t + 1); btf_enum 162 tools/lib/bpf/btf.c return base_size + vlen * sizeof(struct btf_enum); btf_enum 1477 tools/lib/bpf/btf.c struct btf_enum *m = btf_enum(t); btf_enum 1779 tools/lib/bpf/btf.c const struct btf_enum *m1, *m2; btf_enum 1787 tools/lib/bpf/btf.c m1 = btf_enum(t1); btf_enum 1788 tools/lib/bpf/btf.c m2 = btf_enum(t2); btf_enum 257 tools/lib/bpf/btf.h static inline struct btf_enum *btf_enum(const struct btf_type *t) btf_enum 259 tools/lib/bpf/btf.h return (struct btf_enum *)(t + 1); btf_enum 932 tools/lib/bpf/btf_dump.c const struct btf_enum *v = btf_enum(t); btf_enum 6689 tools/testing/selftests/bpf/test_btf.c return base_size + vlen * sizeof(struct btf_enum);