Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_bitfields_direct.c53 out->ub1 = BPF_CORE_READ_BITFIELD(in, ub1); in test_core_bitfields_direct()
54 out->ub2 = BPF_CORE_READ_BITFIELD(in, ub2); in test_core_bitfields_direct()
55 out->ub7 = BPF_CORE_READ_BITFIELD(in, ub7); in test_core_bitfields_direct()
56 out->sb4 = BPF_CORE_READ_BITFIELD(in, sb4); in test_core_bitfields_direct()
57 out->sb20 = BPF_CORE_READ_BITFIELD(in, sb20); in test_core_bitfields_direct()
58 out->u32 = BPF_CORE_READ_BITFIELD(in, u32); in test_core_bitfields_direct()
59 out->s32 = BPF_CORE_READ_BITFIELD(in, s32); in test_core_bitfields_direct()
Dverifier_bitfield_write.c35 return BPF_CORE_READ_BITFIELD(&bitfields, ub2); in single_field_roundtrip()
53 ub2 = BPF_CORE_READ_BITFIELD(&bitfields, ub2); in multiple_field_roundtrip()
54 sb4 = BPF_CORE_READ_BITFIELD(&bitfields, sb4); in multiple_field_roundtrip()
73 ub1 = BPF_CORE_READ_BITFIELD(&bitfields, ub1); in adjacent_field_roundtrip()
74 ub2 = BPF_CORE_READ_BITFIELD(&bitfields, ub2); in adjacent_field_roundtrip()
94 ub1 = BPF_CORE_READ_BITFIELD(&bitfields, ub1); in multibyte_field_roundtrip()
95 ub7 = BPF_CORE_READ_BITFIELD(&bitfields, ub7); in multibyte_field_roundtrip()
Dtest_tunnel_kern.c229 BPF_CORE_READ_BITFIELD(&md.u.md2, dir), in erspan_get_tunnel()
230 (BPF_CORE_READ_BITFIELD(&md.u.md2, hwid_upper) << 4) + in erspan_get_tunnel()
231 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in erspan_get_tunnel()
310 BPF_CORE_READ_BITFIELD(&md.u.md2, dir), in ip4ip6erspan_get_tunnel()
311 (BPF_CORE_READ_BITFIELD(&md.u.md2, hwid_upper) << 4) + in ip4ip6erspan_get_tunnel()
312 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in ip4ip6erspan_get_tunnel()
Dbpf_tracing_net.h171 return !!BPF_CORE_READ_BITFIELD(tp, is_cwnd_limited); in tcp_is_cwnd_limited()
Dbpf_dctcp.c167 new_state != BPF_CORE_READ_BITFIELD(inet_csk(sk), icsk_ca_state)) in BPF_PROG()
/linux-6.12.1/tools/lib/bpf/
Dbpf_core_read.h90 #define BPF_CORE_READ_BITFIELD(s, field) ({ \ macro