Searched refs:btf_member_bit_offset (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 117 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in gen_btf() 122 ASSERT_EQ(btf_member_bit_offset(t, 1), 32, "f2_bit_off"); in gen_btf() 149 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in gen_btf()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 132 bit_off = btf_member_bit_offset(t, i); in fprintf_btf_type_raw()
|
/linux-6.1.9/include/linux/ |
D | btf.h | 360 static inline u32 btf_member_bit_offset(const struct btf_type *t, u32 member_idx) in btf_member_bit_offset() function
|
/linux-6.1.9/tools/lib/bpf/ |
D | btf.h | 528 static inline __u32 btf_member_bit_offset(const struct btf_type *t, in btf_member_bit_offset() function
|
D | btf_dump.c | 934 m_off = btf_member_bit_offset(t, i); in btf_dump_emit_struct_def() 2009 moffset = btf_member_bit_offset(t, i); in btf_dump_struct_data() 2272 moffset = btf_member_bit_offset(t, i); in btf_dump_type_data_check_zero()
|
D | relo_core.c | 349 bit_offset = btf_member_bit_offset(t, access_idx); in bpf_core_parse_spec() 510 bit_offset = btf_member_bit_offset(targ_type, i); in bpf_core_match_member()
|
D | libbpf.c | 914 if (btf_member_bit_offset(t, i) == bit_offset) in find_member_by_offset() 6544 moff = btf_member_bit_offset(def, btf_vlen(def) - 1) / 8; in bpf_object__collect_map_relos()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | gen.c | 2200 btf_member_bit_offset(cloned_type, idx_src), in btfgen_get_btf()
|