Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c109 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in test_btf_write()
114 ASSERT_EQ(btf_member_bit_offset(t, 1), 32, "f2_bit_off"); in test_btf_write()
137 ASSERT_EQ(btf_member_bit_offset(t, 0), 0, "f1_bit_off"); in test_btf_write()
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c198 moff = btf_member_bit_offset(t, member) / 8; in bpf_tcp_ca_init_member()
228 if (is_unsupported(btf_member_bit_offset(t, member) / 8)) in bpf_tcp_ca_check_member()
/kernel/linux/linux-5.10/include/linux/
Dbtf.h183 static inline u32 btf_member_bit_offset(const struct btf_type *struct_type, in btf_member_bit_offset() function
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_struct_ops.c295 moff = btf_member_bit_offset(t, member) / 8; in check_zero_holes()
372 moff = btf_member_bit_offset(t, member) / 8; in bpf_struct_ops_map_update_elem()
Dbtf.c2872 offset = btf_member_bit_offset(t, member); in btf_struct_check_meta()
3004 off = btf_member_bit_offset(t, member); in btf_find_spin_lock()
3038 member_offset = btf_member_bit_offset(t, member); in __btf_struct_show()
4645 moff = btf_member_bit_offset(t, member) / 8; in btf_struct_walk()
4668 moff = btf_member_bit_offset(t, member) / 8; in btf_struct_walk()
4674 u32 end_bit = btf_member_bit_offset(t, member) + in btf_struct_walk()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.h320 static inline __u32 btf_member_bit_offset(const struct btf_type *t, in btf_member_bit_offset() function
Dbtf_dump.c892 m_off = btf_member_bit_offset(t, i); in btf_dump_emit_struct_def()
Dlibbpf.c695 if (btf_member_bit_offset(t, i) == bit_offset) in find_member_by_offset()
4598 bit_offset = btf_member_bit_offset(t, access_idx); in bpf_core_parse_spec()
4853 bit_offset = btf_member_bit_offset(targ_type, i); in bpf_core_match_member()
6570 moff = btf_member_bit_offset(def, btf_vlen(def) - 1) / 8; in bpf_object__collect_map_relos()