Searched refs:btf_members (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/tools/lib/bpf/ |
D | btf.h | 522 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()
|
D | relo_core.c | 352 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()
|
D | btf_dump.c | 350 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() 2087 const struct btf_member *m = btf_members(t); in btf_dump_struct_data() 2377 const struct btf_member *m = btf_members(t); in btf_dump_type_data_check_zero()
|
D | btf.c | 382 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 …]
|
D | libbpf.c | 897 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset() 912 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name() 963 kern_data_member = btf_members(kern_vtype); in find_struct_ops_kern_types() 1025 member = btf_members(type); in bpf_map__init_kern_struct_ops() 1043 kern_member_idx = kern_member - btf_members(kern_type); in bpf_map__init_kern_struct_ops() 2208 m = btf_members(def_t); in parse_btf_map_def() 2738 struct btf_member *m = btf_members(t); in bpf_object__sanitize_btf() 2796 m = btf_members(t); in bpf_object__sanitize_btf() 6697 member = btf_members(def) + btf_vlen(def) - 1; in bpf_object__collect_map_relos() 9189 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()
|
D | linker.c | 1433 m1 = btf_members(t1); in glob_sym_btf_matches() 1434 m2 = btf_members(t2); in glob_sym_btf_matches()
|
/linux-6.6.21/include/linux/ |
D | btf.h | 418 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()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 114 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()
|
D | core_reloc.c | 453 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local() 457 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local()
|
D | ctx_rewrite.c | 266 m = btf_members(type); in find_field_offset_aux()
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | gen.c | 1722 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()
|
/linux-6.6.21/tools/perf/tests/ |
D | sigtrap.c | 80 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in attr_has_sigtrap()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 126 const struct btf_member *m = btf_members(t); in fprintf_btf_type_raw()
|