Home
last modified time | relevance | path

Searched refs:btf_enum64 (Results 1 – 5 of 5) sorted by relevance

/third_party/libbpf/src/
Dbtf.h489 struct btf_enum64;
491 static inline struct btf_enum64 *btf_enum64(const struct btf_type *t) in btf_enum64() function
493 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()
Drelo_core.c321 : 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()
Dbtf.c324 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
354 struct btf_enum64 *e64; in btf_bswap_type_rest()
383 for (i = 0, e64 = btf_enum64(t); i < vlen; i++, e64++) { in btf_bswap_type_rest()
2318 struct btf_enum64 *v;
2337 sz = sizeof(struct btf_enum64);
3564 const struct btf_enum64 *m1, *m2;
3569 m1 = btf_enum64(t1);
3570 m2 = btf_enum64(t2);
5034 struct btf_enum64 *m = btf_enum64(t);
Dbtf_dump.c1090 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()
2211 const struct btf_enum64 *e; in btf_dump_enum_data()
2213 for (i = 0, e = btf_enum64(t); i < btf_vlen(t); i++, e++) { in btf_dump_enum_data()
/third_party/libbpf/include/uapi/linux/
Dbtf.h194 struct btf_enum64 { struct