Home
last modified time | relevance | path

Searched refs:btf_enum (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dbtf.h257 static inline struct btf_enum *btf_enum(const struct btf_type *t) in btf_enum() function
259 return (struct btf_enum *)(t + 1); in btf_enum()
Dbtf.c162 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
1478 struct btf_enum *m = btf_enum(t); in btf_for_each_str_off()
1780 const struct btf_enum *m1, *m2; in btf_equal_enum()
1788 m1 = btf_enum(t1); in btf_equal_enum()
1789 m2 = btf_enum(t2); in btf_equal_enum()
Dbtf_dump.c926 const struct btf_enum *v = btf_enum(t); in btf_dump_emit_enum_def()
/Linux-v5.4/include/uapi/linux/
Dbtf.h98 struct btf_enum { struct
/Linux-v5.4/tools/include/uapi/linux/
Dbtf.h98 struct btf_enum { struct
/Linux-v5.4/Documentation/bpf/
Dbtf.rst286 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_enum``.::
288 struct btf_enum {
293 The ``btf_enum`` encoding:
/Linux-v5.4/kernel/bpf/
Dbtf.c503 static const struct btf_enum *btf_type_enum(const struct btf_type *t) in btf_type_enum()
505 return (const struct btf_enum *)(t + 1); in btf_type_enum()
2360 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta()
2427 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_seq_show()
/Linux-v5.4/tools/bpf/bpftool/
Dbtf.c193 const struct btf_enum *v = (const void *)(t + 1); in dump_btf_type()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_btf.c6689 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()