Searched refs:fbit (Results 1 - 7 of 7) sorted by relevance

/linux-master/tools/virtio/linux/
H A Dvirtio_config.h18 * @fbit: the feature bit
21 unsigned int fbit)
23 return vdev->features & (1ULL << fbit);
29 * @fbit: the feature bit
32 unsigned int fbit)
34 vdev->features |= (1ULL << fbit);
40 * @fbit: the feature bit
43 unsigned int fbit)
45 vdev->features &= ~(1ULL << fbit);
20 __virtio_test_bit(const struct virtio_device *vdev, unsigned int fbit) argument
31 __virtio_set_bit(struct virtio_device *vdev, unsigned int fbit) argument
42 __virtio_clear_bit(struct virtio_device *vdev, unsigned int fbit) argument
/linux-master/include/linux/
H A Dvirtio_config.h131 unsigned int fbit);
138 * @fbit: the feature bit
141 unsigned int fbit)
144 if (__builtin_constant_p(fbit))
145 BUILD_BUG_ON(fbit >= 64);
147 BUG_ON(fbit >= 64);
149 return vdev->features & BIT_ULL(fbit);
155 * @fbit: the feature bit
158 unsigned int fbit)
161 if (__builtin_constant_p(fbit))
140 __virtio_test_bit(const struct virtio_device *vdev, unsigned int fbit) argument
157 __virtio_set_bit(struct virtio_device *vdev, unsigned int fbit) argument
174 __virtio_clear_bit(struct virtio_device *vdev, unsigned int fbit) argument
191 virtio_has_feature(const struct virtio_device *vdev, unsigned int fbit) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Dap.h174 * @fbit: if != 0 set F bit
178 static inline struct ap_queue_status ap_rapq(ap_qid_t qid, int fbit) argument
183 if (fbit)
199 * @fbit: if != 0 set F bit
203 static inline struct ap_queue_status ap_zapq(ap_qid_t qid, int fbit) argument
208 if (fbit)
/linux-master/drivers/virtio/
H A Dvirtio.c107 unsigned int fbit)
113 if (drv->feature_table[i] == fbit)
118 if (drv->feature_table_legacy[i] == fbit)
106 virtio_check_driver_offered_feature(const struct virtio_device *vdev, unsigned int fbit) argument
H A Dvirtio_pci_modern.c228 static int __vp_check_common_size_one_feature(struct virtio_device *vdev, u32 fbit, argument
233 if (!__virtio_test_bit(vdev, fbit))
246 #define vp_check_common_size_one_feature(vdev, fbit, field) \
247 __vp_check_common_size_one_feature(vdev, fbit, \
248 offsetofend(struct virtio_pci_modern_common_cfg, field), #fbit)
/linux-master/tools/perf/util/
H A Dpmu.c1151 int fbit; local
1156 for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS)
1157 bits |= 1ULL << fbit;
1180 unsigned long fbit, vbit; local
1182 for (fbit = 0, vbit = 0; fbit < PERF_PMU_FORMAT_BITS; fbit++) {
1184 if (!test_bit(fbit, format))
1188 *v |= (1llu << fbit);
1190 *v &= ~(1llu << fbit);
[all...]
/linux-master/drivers/net/
H A Dvirtio_net.c4544 unsigned int fbit,
4547 if (!virtio_has_feature(vdev, fbit))
4556 #define VIRTNET_FAIL_ON(vdev, fbit, dbit) \
4557 virtnet_fail_on_feature(vdev, fbit, #fbit, dbit)
4543 virtnet_fail_on_feature(struct virtio_device *vdev, unsigned int fbit, const char *fname, const char *dname) argument

Completed in 184 milliseconds