| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | netif_receive_skb.c | 189 TEST_BTF_C(str, struct btf_enum, 0, in BPF_PROG() 191 TEST_BTF(str, struct btf_enum, BTF_F_NONAME, "{3,-1,}", in BPF_PROG() 193 TEST_BTF(str, struct btf_enum, BTF_F_NONAME, "{-1,}", in BPF_PROG() 195 TEST_BTF(str, struct btf_enum, BTF_F_NONAME|BTF_F_ZERO, "{0,-1,}", in BPF_PROG() 198 TEST_BTF(str, struct btf_enum, 0, "(struct btf_enum){}", in BPF_PROG() 200 TEST_BTF(str, struct btf_enum, BTF_F_NONAME, "{}", in BPF_PROG() 202 TEST_BTF(str, struct btf_enum, BTF_F_ZERO, in BPF_PROG()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_write.c | 12 const struct btf_enum *v; in test_btf_write() 153 v = btf_enum(t) + 0; in test_btf_write() 156 v = btf_enum(t) + 1; in test_btf_write()
|
| H A D | core_reloc.c | 372 (name = btf__name_by_offset(local_btf, btf_enum(t)[0].name_off)) && in setup_type_id_case_local()
|
| H A D | btf.c | 6616 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | btf.h | 309 static inline struct btf_enum *btf_enum(const struct btf_type *t) in btf_enum() function 311 return (struct btf_enum *)(t + 1); in btf_enum()
|
| H A D | btf.c | 270 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size() 301 struct btf_enum *e; in btf_bswap_type_rest() 318 for (i = 0, e = btf_enum(t); i < vlen; i++, e++) { in btf_bswap_type_rest() 1920 struct btf_enum *v; in btf__add_enum_value() 1940 sz = sizeof(struct btf_enum); in btf__add_enum_value() 3040 struct btf_enum *m = btf_enum(t); in btf_for_each_str_off() 3344 const struct btf_enum *m1, *m2; in btf_equal_enum() 3352 m1 = btf_enum(t1); in btf_equal_enum() 3353 m2 = btf_enum(t2); in btf_equal_enum()
|
| H A D | btf_dump.c | 948 const struct btf_enum *v = btf_enum(t); in btf_dump_emit_enum_def()
|
| H A D | libbpf.c | 4568 acc->name = btf__name_by_offset(btf, btf_enum(t)[access_idx].name_off); in bpf_core_parse_spec() 5016 const struct btf_enum *e; in bpf_core_spec_match() 5026 for (i = 0, e = btf_enum(targ_type); i < btf_vlen(targ_type); i++, e++) { in bpf_core_spec_match() 5267 const struct btf_enum *e; in bpf_core_calc_enumval_relo() 5277 e = btf_enum(t) + spec->spec[0].idx; in bpf_core_calc_enumval_relo() 5613 const struct btf_enum *e; in bpf_core_dump_spec() 5629 e = btf_enum(t) + spec->raw_spec[0]; in bpf_core_dump_spec()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | btf.h | 90 struct btf_enum { struct
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | btf.h | 90 struct btf_enum { struct
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | btf.h | 98 struct btf_enum { struct
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btf.h | 98 struct btf_enum { struct
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | btf_dumper.c | 141 const struct btf_enum *enums = btf_enum(t); in btf_dumper_enum()
|
| H A D | btf.c | 209 const struct btf_enum *v = (const void *)(t + 1); in dump_btf_type()
|
| /OK3568_Linux_fs/kernel/Documentation/bpf/ |
| H A D | btf.rst | 286 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_enum``.:: 288 struct btf_enum { 293 The ``btf_enum`` encoding:
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | btf.c | 586 static const struct btf_enum *btf_type_enum(const struct btf_type *t) in btf_type_enum() 588 return (const struct btf_enum *)(t + 1); in btf_type_enum() 3170 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() 3238 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show()
|