Home
last modified time | relevance | path

Searched refs:btf_members (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/include/linux/
H A Dbtf.h418 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members() function
425 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()
432 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
/openbmc/linux/tools/lib/bpf/
H A Dbtf.h522 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members() function
531 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()
543 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
H A Drelo_core.c352 m = btf_members(t) + access_idx; in bpf_core_parse_spec()
502 local_member = btf_members(local_type) + local_acc->idx; in bpf_core_match_member()
506 m = btf_members(targ_type); in bpf_core_match_member()
730 m = btf_members(t) + acc->idx; in bpf_core_calc_field_relo()
1483 const struct btf_member *local_m = btf_members(local_t); in bpf_core_composites_match()
1493 const struct btf_member *targ_m = btf_members(targ_t); in bpf_core_composites_match()
H A Dbtf_dump.c350 const struct btf_member *m = btf_members(t); in btf_dump_mark_referenced()
517 const struct btf_member *m = btf_members(t); in btf_dump_order_type()
796 const struct btf_member *m = btf_members(t); in btf_dump_emit_type()
840 m = btf_members(t); in btf_is_struct_packed()
968 const struct btf_member *m = btf_members(t); in btf_dump_emit_struct_def()
2089 const struct btf_member *m = btf_members(t); in btf_dump_struct_data()
2379 const struct btf_member *m = btf_members(t); in btf_dump_type_data_check_zero()
H A Dbtf.c382 for (i = 0, m = btf_members(t); i < vlen; i++, m++) { in btf_bswap_type_rest()
682 const struct btf_member *m = btf_members(t); in btf__align_of()
3507 const struct btf_member *member = btf_members(t); in btf_hash_struct()
3536 m1 = btf_members(t1); in btf_shallow_equal_struct()
3537 m2 = btf_members(t2); in btf_shallow_equal_struct()
3914 m1 = btf_members(t1); in btf_dedup_identical_structs()
3915 m2 = btf_members(t2); in btf_dedup_identical_structs()
4137 cand_m = btf_members(cand_type); in btf_dedup_is_equiv()
4138 canon_m = btf_members(canon_type); in btf_dedup_is_equiv()
4850 struct btf_member *m = btf_members(t); in btf_type_visit_type_ids()
[all …]
H A Dlibbpf.c898 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset()
913 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name()
964 kern_data_member = btf_members(kern_vtype); in find_struct_ops_kern_types()
1026 member = btf_members(type); in bpf_map__init_kern_struct_ops()
1044 kern_member_idx = kern_member - btf_members(kern_type); in bpf_map__init_kern_struct_ops()
2209 m = btf_members(def_t); in parse_btf_map_def()
2739 struct btf_member *m = btf_members(t); in bpf_object__sanitize_btf()
2797 m = btf_members(t); in bpf_object__sanitize_btf()
6701 member = btf_members(def) + btf_vlen(def) - 1; in bpf_object__collect_map_relos()
9193 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()
H A Dlinker.c1433 m1 = btf_members(t1); in glob_sym_btf_matches()
1434 m2 = btf_members(t2); in glob_sym_btf_matches()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c114 m = btf_members(t) + 0; in gen_btf()
119 m = btf_members(t) + 1; in gen_btf()
146 m = btf_members(t) + 0; in gen_btf()
H A Dcore_reloc.c454 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local()
458 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local()
H A Dctx_rewrite.c266 m = btf_members(type); in find_field_offset_aux()
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c1722 struct btf_member *m = btf_members(t) + idx; in btfgen_mark_member()
1829 btf_member = btf_members(btf_type) + idx; in btfgen_record_field_relo()
1888 struct btf_member *m = btf_members(btf_type); in btfgen_mark_type_match()
2186 cloned_m = btf_members(cloned_type); in btfgen_get_btf()
2187 m = btf_members(type); in btfgen_get_btf()
/openbmc/linux/tools/perf/tests/
H A Dsigtrap.c80 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in attr_has_sigtrap()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbtf_helpers.c126 const struct btf_member *m = btf_members(t); in fprintf_btf_type_raw()