Home
last modified time | relevance | path

Searched refs:val_lo32 (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_btf.h44 #define BTF_ENUM64_ENC(name, val_lo32, val_hi32) (name), (val_lo32), (val_hi32) argument
Dbtf_helpers.c165 ((__u64)v->val_hi32 << 32) | v->val_lo32); in fprintf_btf_type_raw()
/linux-6.6.21/include/uapi/linux/
Dbtf.h196 __u32 val_lo32; member
/linux-6.6.21/tools/include/uapi/linux/
Dbtf.h196 __u32 val_lo32; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c327 ASSERT_EQ(v64->val_lo32, 0xffffffff, "v1_val"); in gen_btf()
331 ASSERT_EQ(v64->val_lo32, 0x23456789, "v2_val"); in gen_btf()
349 ASSERT_EQ(v64->val_lo32, 0xffffffff, "v1_val"); in gen_btf()
/linux-6.6.21/tools/bpf/bpftool/
Dbtf_dumper.c190 __u32 val_lo32, val_hi32; in btf_dumper_enum64() local
195 val_lo32 = (__u32)value; in btf_dumper_enum64()
199 if (val_lo32 == enums[i].val_lo32 && val_hi32 == enums[i].val_hi32) { in btf_dumper_enum64()
Dbtf.c264 __u64 val = ((__u64)v->val_hi32 << 32) | v->val_lo32; in dump_btf_type()
/linux-6.6.21/include/linux/
Dbtf.h299 return ((u64)e->val_hi32 << 32) | e->val_lo32; in btf_enum64_value()
/linux-6.6.21/tools/lib/bpf/
Dbtf.c370 e64->val_lo32 = bswap_32(e64->val_lo32); in btf_bswap_type_rest()
2234 v->val_lo32 = (__u32)value; in btf__add_enum64_value()
3459 if (m1->name_off != m2->name_off || m1->val_lo32 != m2->val_lo32 || in btf_equal_enum64_members()
/linux-6.6.21/Documentation/bpf/
Dbtf.rst542 __u32 val_lo32;
548 * ``val_lo32``: lower 32-bit value for a 64-bit value