Home
last modified time | relevance | path

Searched refs:btf_member_bit_offset (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c120 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in test_btf_write()
125 ASSERT_EQ(btf_member_bit_offset(t, 1), 32, "f2_bit_off"); in test_btf_write()
152 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in test_btf_write()
/tools/testing/selftests/bpf/
Dbtf_helpers.c128 bit_off = btf_member_bit_offset(t, i); in fprintf_btf_type_raw()
/tools/lib/bpf/
Dbtf.h362 static inline __u32 btf_member_bit_offset(const struct btf_type *t, in btf_member_bit_offset() function
Drelo_core.c238 bit_offset = btf_member_bit_offset(t, access_idx); in bpf_core_parse_spec()
400 bit_offset = btf_member_bit_offset(targ_type, i); in bpf_core_match_member()
Dbtf_dump.c976 m_off = btf_member_bit_offset(t, i); in btf_dump_emit_struct_def()
2001 moffset = btf_member_bit_offset(t, i); in btf_dump_struct_data()
2263 moffset = btf_member_bit_offset(t, i); in btf_dump_type_data_check_zero()
Dlibbpf.c764 if (btf_member_bit_offset(t, i) == bit_offset) in find_member_by_offset()
5963 moff = btf_member_bit_offset(def, btf_vlen(def) - 1) / 8; in bpf_object__collect_map_relos()