Searched refs:btf_enum64 (Results 1 – 14 of 14) sorted by relevance
489 struct btf_enum64;491 static inline struct btf_enum64 *btf_enum64(const struct btf_type *t) in btf_enum64() function493 return (struct btf_enum64 *)(t + 1); in btf_enum64()496 static inline __u64 btf_enum64_value(const struct btf_enum64 *e) in btf_enum64_value()
321 : btf_enum64(t)[access_idx].name_off; in bpf_core_parse_spec()601 name_off = btf_enum64(targ_type)[i].name_off; in bpf_core_spec_match()864 *val = btf_enum64_value(btf_enum64(t) + spec->spec[0].idx); in bpf_core_calc_enumval_relo()1196 const struct btf_enum64 *e; in bpf_core_format_spec()1199 e = btf_enum64(t) + spec->raw_spec[0]; in bpf_core_format_spec()1461 btf_enum64(local_t)[i].name_off; in bpf_core_enums_match()1465 btf_enum64(targ_t)[j].name_off; in bpf_core_enums_match()
309 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()339 struct btf_enum64 *e64; in btf_bswap_type_rest()368 for (i = 0, e64 = btf_enum64(t); i < vlen; i++, e64++) { in btf_bswap_type_rest()2205 struct btf_enum64 *v; in btf__add_enum64_value()2224 sz = sizeof(struct btf_enum64); in btf__add_enum64_value()3451 const struct btf_enum64 *m1, *m2; in btf_equal_enum64_members()3456 m1 = btf_enum64(t1); in btf_equal_enum64_members()3457 m2 = btf_enum64(t2); in btf_equal_enum64_members()4921 struct btf_enum64 *m = btf_enum64(t); in btf_type_visit_str_offs()
1090 const struct btf_enum64 *v = btf_enum64(t); in btf_dump_emit_enum64_val()1163 if (btf_enum64(t)[i].val_hi32 != 0) { in btf_dump_emit_enum_def()2213 const struct btf_enum64 *e; in btf_dump_enum_data()2215 for (i = 0, e = btf_enum64(t); i < btf_vlen(t); i++, e++) { in btf_dump_enum_data()
297 static inline u64 btf_enum64_value(const struct btf_enum64 *e) in btf_enum64_value()452 static inline struct btf_enum64 *btf_enum64(const struct btf_type *t) in btf_enum64() function454 return (struct btf_enum64 *)(t + 1); in btf_enum64()
12 const struct btf_enum64 *v64; in gen_btf()324 v64 = btf_enum64(t) + 0; in gen_btf()328 v64 = btf_enum64(t) + 1; in gen_btf()346 v64 = btf_enum64(t) + 0; in gen_btf()
7971 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
155 const struct btf_enum64 *v = btf_enum64(t); in fprintf_btf_type_raw()
194 struct btf_enum64 { struct
189 const struct btf_enum64 *enums = btf_enum64(t); in btf_dumper_enum64()
247 const struct btf_enum64 *v = btf_enum64(t); in dump_btf_type()
538 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_enum64``.::540 struct btf_enum64 {546 The ``btf_enum64`` encoding:
734 static const struct btf_enum64 *btf_type_enum64(const struct btf_type *t) in btf_type_enum64()736 return (const struct btf_enum64 *)(t + 1); in btf_type_enum64()4170 const struct btf_enum64 *enums = btf_type_enum64(t); in btf_enum64_check_meta()4230 const struct btf_enum64 *enums = btf_type_enum64(t); in btf_enum64_show()