Searched refs:ub2 (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | verifier_bitfield_write.c | 14 uint8_t ub2: 2; member 34 BPF_CORE_WRITE_BITFIELD(&bitfields, ub2, 3); in single_field_roundtrip() 35 return BPF_CORE_READ_BITFIELD(&bitfields, ub2); in single_field_roundtrip() 46 uint8_t ub2; in multiple_field_roundtrip() local 50 BPF_CORE_WRITE_BITFIELD(&bitfields, ub2, 1); in multiple_field_roundtrip() 53 ub2 = BPF_CORE_READ_BITFIELD(&bitfields, ub2); in multiple_field_roundtrip() 56 return (((uint8_t)sb4) << 2) | ub2; in multiple_field_roundtrip() 67 uint8_t ub1, ub2; in adjacent_field_roundtrip() local 71 BPF_CORE_WRITE_BITFIELD(&bitfields, ub2, 3); in adjacent_field_roundtrip() 74 ub2 = BPF_CORE_READ_BITFIELD(&bitfields, ub2); in adjacent_field_roundtrip() [all …]
|
D | test_core_reloc_bitfields_probed.c | 19 uint8_t ub2: 2; member 32 int64_t ub2; member 47 out->ub2 = BPF_CORE_READ_BITFIELD_PROBED(in, ub2); in test_core_bitfields()
|
D | test_core_reloc_bitfields_direct.c | 19 uint8_t ub2: 2; member 32 int64_t ub2; member 54 out->ub2 = BPF_CORE_READ_BITFIELD(in, ub2); in test_core_bitfields_direct()
|
D | core_reloc_types.h | 718 int64_t ub2; member 729 uint8_t ub2: 2; member 743 uint32_t ub2: 20; /* 2 -> 20 */ member 756 uint8_t ub2; /* 20 -> 8 non-bitfield */ member 766 uint64_t ub2: 60; /* packed tightly */ member 776 uint64_t ub2: 61; /* packed tightly */ member
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc.c | 719 .ub2 = 2, 728 .ub2 = 0xABCDE, 737 .ub2 = 0xA6, 746 .ub2 = 0x0812345678FEDCBALL,
|