Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c117 m = btf_members(t) + 0; in test_btf_write()
122 m = btf_members(t) + 1; in test_btf_write()
149 m = btf_members(t) + 0; in test_btf_write()
Dcore_reloc.c393 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local()
397 (name = btf__name_by_offset(local_btf, btf_members(t)[0].name_off)) && in setup_type_id_case_local()
/tools/lib/bpf/
Dbtf.h356 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members() function
365 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()
377 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
Drelo_core.c241 m = btf_members(t) + access_idx; in bpf_core_parse_spec()
392 local_member = btf_members(local_type) + local_acc->idx; in bpf_core_match_member()
396 m = btf_members(targ_type); in bpf_core_match_member()
610 m = btf_members(t) + acc->idx; in bpf_core_calc_field_relo()
Dbtf_dump.c342 const struct btf_member *m = btf_members(t); in btf_dump_mark_referenced()
509 const struct btf_member *m = btf_members(t); in btf_dump_order_type()
783 const struct btf_member *m = btf_members(t); in btf_dump_emit_type()
827 m = btf_members(t); in btf_is_struct_packed()
955 const struct btf_member *m = btf_members(t); in btf_dump_emit_struct_def()
1979 const struct btf_member *m = btf_members(t); in btf_dump_struct_data()
2252 const struct btf_member *m = btf_members(t); in btf_dump_type_data_check_zero()
Dbtf.c363 for (i = 0, m = btf_members(t); i < vlen; i++, m++) { in btf_bswap_type_rest()
641 const struct btf_member *m = btf_members(t); in btf__align_of()
1477 key = btf_members(container_type); in btf__get_map_kv_tids()
3359 const struct btf_member *member = btf_members(t); in btf_hash_struct()
3388 m1 = btf_members(t1); in btf_shallow_equal_struct()
3389 m2 = btf_members(t2); in btf_shallow_equal_struct()
3762 m1 = btf_members(t1); in btf_dedup_identical_structs()
3763 m2 = btf_members(t2); in btf_dedup_identical_structs()
3987 cand_m = btf_members(cand_type); in btf_dedup_is_equiv()
3988 canon_m = btf_members(canon_type); in btf_dedup_is_equiv()
[all …]
Dlibbpf.c763 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset()
778 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name()
829 kern_data_member = btf_members(kern_vtype); in find_struct_ops_kern_types()
891 member = btf_members(type); in bpf_map__init_kern_struct_ops()
909 kern_member_idx = kern_member - btf_members(kern_type); in bpf_map__init_kern_struct_ops()
2063 m = btf_members(def_t); in parse_btf_map_def()
2518 struct btf_member *m = btf_members(t); in bpf_object__sanitize_btf()
5958 member = btf_members(def) + btf_vlen(def) - 1; in bpf_object__collect_map_relos()
8256 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()
Dlinker.c1425 m1 = btf_members(t1); in glob_sym_btf_matches()
1426 m2 = btf_members(t2); in glob_sym_btf_matches()
/tools/testing/selftests/bpf/
Dbtf_helpers.c122 const struct btf_member *m = btf_members(t); in fprintf_btf_type_raw()