Home
last modified time | relevance | path

Searched refs:btf_member (Results 1 – 12 of 12) sorted by relevance

/tools/lib/bpf/
Dbtf.h356 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members()
358 return (struct btf_member *)(t + 1); in btf_members()
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()
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()
823 const struct btf_member *m; 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.c306 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
329 struct btf_member *m; in btf_bswap_type_rest()
641 const struct btf_member *m = btf_members(t); in btf__align_of()
1445 const struct btf_member *key, *value; in btf__get_map_kv_tids()
1972 struct btf_member *m; in btf__add_field()
1998 sz = sizeof(struct btf_member); in btf__add_field()
3359 const struct btf_member *member = btf_members(t); in btf_hash_struct()
3380 const struct btf_member *m1, *m2; in btf_shallow_equal_struct()
3749 const struct btf_member *m1, *m2; in btf_dedup_identical_structs()
3981 const struct btf_member *cand_m, *canon_m; in btf_dedup_is_equiv()
[all …]
Drelo_core.c232 const struct btf_member *m; in bpf_core_parse_spec()
379 const struct btf_member *local_member, *m; in bpf_core_match_member()
567 const struct btf_member *m; in bpf_core_calc_field_relo()
Dlibbpf.c757 static const struct btf_member *
760 struct btf_member *m; in find_member_by_offset()
771 static const struct btf_member *
775 struct btf_member *m; in find_member_by_name()
794 const struct btf_member **data_member) in find_struct_ops_kern_types()
797 const struct btf_member *kern_data_member; in find_struct_ops_kern_types()
859 const struct btf_member *member, *kern_member, *kern_data_member; in bpf_map__init_kern_struct_ops()
2007 const struct btf_member *m, __u32 *res) in get_map_field_int()
2058 const struct btf_member *m; in parse_btf_map_def()
2518 struct btf_member *m = btf_members(t); in bpf_object__sanitize_btf()
[all …]
Dlinker.c1413 const struct btf_member *m1, *m2; in glob_sym_btf_matches()
/tools/include/uapi/linux/
Dbtf.h116 struct btf_member { struct
/tools/testing/selftests/bpf/
Dbtf_helpers.c122 const struct btf_member *m = btf_members(t); in fprintf_btf_type_raw()
/tools/bpf/bpftool/
Dbtf_dumper.c435 struct btf_member *m; in btf_dumper_struct()
448 m = (struct btf_member *)(t + 1); in btf_dumper_struct()
Dbtf.c168 const struct btf_member *m = (const void *)(t + 1); in dump_btf_type()
/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c10 const struct btf_member *m; in test_btf_write()
Dbtf.c6826 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()