Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dvirtio_config.h125 unsigned int fbit);
135 unsigned int fbit) in __virtio_test_bit() argument
138 if (__builtin_constant_p(fbit)) in __virtio_test_bit()
139 BUILD_BUG_ON(fbit >= 64); in __virtio_test_bit()
141 BUG_ON(fbit >= 64); in __virtio_test_bit()
143 return vdev->features & BIT_ULL(fbit); in __virtio_test_bit()
152 unsigned int fbit) in __virtio_set_bit() argument
155 if (__builtin_constant_p(fbit)) in __virtio_set_bit()
156 BUILD_BUG_ON(fbit >= 64); in __virtio_set_bit()
158 BUG_ON(fbit >= 64); in __virtio_set_bit()
[all …]
/linux-6.1.9/tools/virtio/linux/
Dvirtio_config.h19 unsigned int fbit) in __virtio_test_bit() argument
21 return vdev->features & (1ULL << fbit); in __virtio_test_bit()
30 unsigned int fbit) in __virtio_set_bit() argument
32 vdev->features |= (1ULL << fbit); in __virtio_set_bit()
41 unsigned int fbit) in __virtio_clear_bit() argument
43 vdev->features &= ~(1ULL << fbit); in __virtio_clear_bit()
/linux-6.1.9/tools/perf/util/
Dpmu.c1115 int fbit; in perf_pmu__format_bits() local
1120 for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS) in perf_pmu__format_bits()
1121 bits |= 1ULL << fbit; in perf_pmu__format_bits()
1143 unsigned long fbit, vbit; in pmu_format_value() local
1145 for (fbit = 0, vbit = 0; fbit < PERF_PMU_FORMAT_BITS; fbit++) { in pmu_format_value()
1147 if (!test_bit(fbit, format)) in pmu_format_value()
1151 *v |= (1llu << fbit); in pmu_format_value()
1153 *v &= ~(1llu << fbit); in pmu_format_value()
/linux-6.1.9/drivers/virtio/
Dvirtio.c107 unsigned int fbit) in virtio_check_driver_offered_feature() argument
113 if (drv->feature_table[i] == fbit) in virtio_check_driver_offered_feature()
118 if (drv->feature_table_legacy[i] == fbit) in virtio_check_driver_offered_feature()
/linux-6.1.9/drivers/net/
Dvirtio_net.c3626 unsigned int fbit, in virtnet_fail_on_feature() argument
3629 if (!virtio_has_feature(vdev, fbit)) in virtnet_fail_on_feature()
3638 #define VIRTNET_FAIL_ON(vdev, fbit, dbit) \ argument
3639 virtnet_fail_on_feature(vdev, fbit, #fbit, dbit)