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/ |
D | btf_write.c | 109 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/ |
D | bpf_tcp_ca.c | 198 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/ |
D | btf.h | 183 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/ |
D | bpf_struct_ops.c | 295 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()
|
D | btf.c | 2872 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/ |
D | btf.h | 320 static inline __u32 btf_member_bit_offset(const struct btf_type *t, in btf_member_bit_offset() function
|
D | btf_dump.c | 892 m_off = btf_member_bit_offset(t, i); in btf_dump_emit_struct_def()
|
D | libbpf.c | 695 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()
|