Home
last modified time | relevance | path

Searched refs:ub1 (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_bitfield_write.c13 uint8_t ub1: 1; member
67 uint8_t ub1, ub2; in adjacent_field_roundtrip() local
70 BPF_CORE_WRITE_BITFIELD(&bitfields, ub1, 1); in adjacent_field_roundtrip()
73 ub1 = BPF_CORE_READ_BITFIELD(&bitfields, ub1); in adjacent_field_roundtrip()
76 return (ub2 << 1) | ub1; in adjacent_field_roundtrip()
88 uint8_t ub1; in multibyte_field_roundtrip() local
91 BPF_CORE_WRITE_BITFIELD(&bitfields, ub1, 1); in multibyte_field_roundtrip()
94 ub1 = BPF_CORE_READ_BITFIELD(&bitfields, ub1); in multibyte_field_roundtrip()
97 return (ub7 << 1) | ub1; in multibyte_field_roundtrip()
H A Dtest_core_reloc_bitfields_probed.c18 uint8_t ub1: 1; member
31 int64_t ub1; member
46 out->ub1 = BPF_CORE_READ_BITFIELD_PROBED(in, ub1); in test_core_bitfields()
H A Dtest_core_reloc_bitfields_direct.c18 uint8_t ub1: 1; member
31 int64_t ub1; member
53 out->ub1 = BPF_CORE_READ_BITFIELD(in, ub1); in test_core_bitfields_direct()
H A Dcore_reloc_types.h717 int64_t ub1; member
728 uint8_t ub1: 1; member
742 uint16_t ub1: 3; /* 1 -> 3 */ member
755 uint64_t ub1; /* 3 -> 64 non-bitfield */ member
765 uint64_t ub1: 4; member
775 uint64_t ub1: 4; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c718 .ub1 = 1,
727 .ub1 = 6,
736 .ub1 = 0xFEDCBA9876543210LL,
745 .ub1 = 0xFLL,