Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dvirtio_config.h216 unsigned int fbit);
226 unsigned int fbit) in __virtio_test_bit() argument
228 return virtio_features_test_bit(vdev->features_array, fbit); in __virtio_test_bit()
237 unsigned int fbit) in __virtio_set_bit() argument
239 virtio_features_set_bit(vdev->features_array, fbit); in __virtio_set_bit()
248 unsigned int fbit) in __virtio_clear_bit() argument
250 virtio_features_clear_bit(vdev->features_array, fbit); in __virtio_clear_bit()
259 unsigned int fbit) in virtio_has_feature() argument
261 if (fbit < VIRTIO_TRANSPORT_F_START) in virtio_has_feature()
262 virtio_check_driver_offered_feature(vdev, fbit); in virtio_has_feature()
[all …]
/linux/arch/s390/include/asm/
H A Dap.h192 static inline struct ap_queue_status ap_rapq(ap_qid_t qid, int fbit) in ap_rapq() argument
197 if (fbit) in ap_rapq()
217 static inline struct ap_queue_status ap_zapq(ap_qid_t qid, int fbit) in ap_zapq() argument
222 if (fbit) in ap_zapq()
/linux/tools/perf/util/
H A Dpmu.c1387 int fbit; in perf_pmu__format_bits()
1392 for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS) in perf_pmu__format_type()
1393 bits |= 1ULL << fbit; in perf_pmu__format_type()
1416 unsigned long fbit, vbit; in perf_pmu__format_pack()
1418 for (fbit = 0, vbit = 0; fbit < PERF_PMU_FORMAT_BITS; fbit++) { in perf_pmu__format_pack()
1420 if (!test_bit(fbit, format))
1424 *v |= (1llu << fbit); in pmu_format_max_value()
1426 *v &= ~(1llu << fbit); in pmu_format_max_value()
1378 int fbit; perf_pmu__format_bits() local
1407 unsigned long fbit, vbit; perf_pmu__format_pack() local
[all...]
H A Devsel.c1427 int fbit; in evsel__get_config_val()
1466 for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS)
1467 if ((1ULL << fbit) & user_bits)
1346 int fbit; evsel__set_config_if_unset() local
/linux/drivers/virtio/
H A 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()
H A Dvirtio_pci_modern.c389 static int __vp_check_common_size_one_feature(struct virtio_device *vdev, u32 fbit, in __vp_check_common_size_one_feature()
394 if (!__virtio_test_bit(vdev, fbit)) in __vp_check_common_size_one_feature()
407 #define vp_check_common_size_one_feature(vdev, fbit, field) \ in vp_check_common_size()
408 __vp_check_common_size_one_feature(vdev, fbit, \ in vp_check_common_size()
409 offsetofend(struct virtio_pci_modern_common_cfg, field), #fbit) in vp_check_common_size()
383 __vp_check_common_size_one_feature(struct virtio_device * vdev,u32 fbit,u32 offset,const char * fname) __vp_check_common_size_one_feature() argument
401 vp_check_common_size_one_feature(vdev,fbit,field) global() argument
/linux/drivers/net/
H A Dvirtio_net.c6670 unsigned int fbit,
6673 if (!virtio_has_feature(vdev, fbit)) in virtnet_validate()
6682 #define VIRTNET_FAIL_ON(vdev, fbit, dbit) \ in virtnet_validate()
6683 virtnet_fail_on_feature(vdev, fbit, #fbit, dbit) in virtnet_validate()
7086 unsigned int fbit; in virtnet_probe()
7088 fbit = virtio_offload_to_feature(guest_offloads[i]); in virtnet_probe()
7089 if (virtio_has_feature(vi->vdev, fbit)) in virtnet_probe()
6628 virtnet_fail_on_feature(struct virtio_device * vdev,unsigned int fbit,const char * fname,const char * dname) virtnet_fail_on_feature() argument
6640 VIRTNET_FAIL_ON(vdev,fbit,dbit) global() argument
7044 unsigned int fbit; virtnet_probe() local