Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Dbtf.h96 struct btf_member;
205 const struct btf_member *m,
405 const struct btf_member *member) in __btf_member_bit_offset()
412 const struct btf_member *member) in __btf_member_bitfield_size()
418 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members()
420 return (struct btf_member *)(t + 1); in btf_members()
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()
439 return (const struct btf_member *)(t + 1); in btf_type_member()
503 const struct btf_member *
[all …]
H A Dbpf.h1597 struct btf_member;
1651 const struct btf_member *member,
1654 const struct btf_member *member,
/openbmc/linux/kernel/trace/
H A Dtrace_btf.c70 const struct btf_member *btf_find_struct_member(struct btf *btf, in btf_find_struct_member()
76 const struct btf_member *member; in btf_find_struct_member()
H A Dtrace_btf.h8 const struct btf_member *btf_find_struct_member(struct btf *btf,
H A Dtrace_probe.c526 const struct btf_member *field; in parse_btf_field()
/openbmc/linux/net/ipv4/
H A Dbpf_tcp_ca.c147 const struct btf_member *m; in prog_ops_moff()
218 const struct btf_member *member, in bpf_tcp_ca_init_member()
246 const struct btf_member *member, in bpf_tcp_ca_check_member()
/openbmc/linux/tools/lib/bpf/
H A Dbtf.h522 static inline struct btf_member *btf_members(const struct btf_type *t) in btf_members()
524 return (struct btf_member *)(t + 1); in btf_members()
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.c343 const struct btf_member *m; in bpf_core_parse_spec()
489 const struct btf_member *local_member, *m; in bpf_core_match_member()
687 const struct btf_member *m; 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()
836 const struct btf_member *m; 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.c314 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
340 struct btf_member *m; in btf_bswap_type_rest()
682 const struct btf_member *m = btf_members(t); in btf__align_of()
2013 struct btf_member *m; in btf__add_field()
2039 sz = sizeof(struct btf_member); in btf__add_field()
3507 const struct btf_member *member = btf_members(t); in btf_hash_struct()
3528 const struct btf_member *m1, *m2; in btf_shallow_equal_struct()
3901 const struct btf_member *m1, *m2; in btf_dedup_identical_structs()
4131 const struct btf_member *cand_m, *canon_m; in btf_dedup_is_equiv()
4850 struct btf_member *m = btf_members(t); in btf_type_visit_type_ids()
[all …]
H A Dlibbpf.c892 static const struct btf_member *
895 struct btf_member *m; in find_member_by_offset()
906 static const struct btf_member *
910 struct btf_member *m; in find_member_by_name()
929 const struct btf_member **data_member) in find_struct_ops_kern_types()
932 const struct btf_member *kern_data_member; in find_struct_ops_kern_types()
2204 const struct btf_member *m; in parse_btf_map_def()
2739 struct btf_member *m = btf_members(t); in bpf_object__sanitize_btf()
2787 struct btf_member *m; in bpf_object__sanitize_btf()
6609 const struct btf_member *member; in bpf_object__collect_map_relos()
[all …]
/openbmc/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c158 const struct btf_member *member, in bpf_dummy_ops_check_member()
208 const struct btf_member *member, in bpf_dummy_init_member()
/openbmc/linux/tools/include/uapi/linux/
H A Dbtf.h122 struct btf_member { struct
/openbmc/linux/include/uapi/linux/
H A Dbtf.h122 struct btf_member { struct
/openbmc/linux/kernel/bpf/
H A Dbtf.c421 const struct btf_member *member;
865 const struct btf_member *m, in btf_member_is_reg_int()
1331 const struct btf_member *m) in btf_show_start_member()
3088 const struct btf_member *member; in btf_struct_check_meta()
3167 const struct btf_member *member; in btf_struct_resolve()
3424 const struct btf_member *member; in btf_find_struct_field()
3662 const struct btf_member *member; in btf_parse_graph_root()
3912 const struct btf_member *member; in __btf_struct_show()
5611 const struct btf_member *
6133 const struct btf_member *member; in btf_struct_walk()
[all …]
H A Dbpf_struct_ops.c116 const struct btf_member *member; in bpf_struct_ops_init()
312 const struct btf_member *member; in check_zero_holes()
375 const struct btf_member *member; in bpf_struct_ops_map_update_elem()
H A Dlocal_storage.c362 struct btf_member *m; in cgroup_storage_check_btf()
383 m = (struct btf_member *)(key_type + 1); in cgroup_storage_check_btf()
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c1722 struct btf_member *m = btf_members(t) + idx; in btfgen_mark_member()
1806 struct btf_member *btf_member; in btfgen_record_field_relo() local
1829 btf_member = btf_members(btf_type) + idx; in btfgen_record_field_relo()
1835 type_id = btf_member->type; in btfgen_record_field_relo()
1888 struct btf_member *m = btf_members(btf_type); in btfgen_mark_type_match()
2171 struct btf_member *cloned_m, *m; in btfgen_get_btf()
H A Dbtf_dumper.c469 struct btf_member *m; in btf_dumper_struct()
482 m = (struct btf_member *)(t + 1); in btf_dumper_struct()
H A Dbtf.c163 const struct btf_member *m = (const void *)(t + 1); in dump_btf_type()
/openbmc/linux/tools/perf/tests/
H A Dsigtrap.c65 const struct btf_member *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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c11 const struct btf_member *m; in gen_btf()
H A Dctx_rewrite.c252 const struct btf_member *m; in find_field_offset_aux()
/openbmc/linux/Documentation/bpf/
H A Dbtf.rst244 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_member``.::
246 struct btf_member {
252 ``struct btf_member`` encoding:
263 If the ``kind_flag`` is set, the ``btf_member.offset`` contains both member

12