Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dvirtio_ring.h87 #define VIRTIO_RING_F_EVENT_IDX 29 macro
/linux/tools/virtio/
H A Dvirtio_test.c348 (1ULL << VIRTIO_RING_F_EVENT_IDX) | (1ULL << VIRTIO_F_VERSION_1); in main()
361 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
H A Dvhost_net_test.c478 (1ULL << VIRTIO_RING_F_EVENT_IDX) | (1ULL << VIRTIO_F_VERSION_1); in main()
493 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
H A Dvringh_test.c468 __virtio_set_bit(&vdev, VIRTIO_RING_F_EVENT_IDX); in main()
/linux/drivers/vhost/
H A Dvhost.c513 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_avail_size()
522 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_used_size()
2799 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_notify()
2874 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_enable_notify()
2910 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_disable_notify()
H A Dvringh.c669 vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); in vringh_init_user()
943 vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); in vringh_init_kern()
/linux/drivers/virtio/
H A Dvirtio_ring.c1165 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in __vring_new_virtqueue_split()
2143 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in __vring_new_virtqueue_packed()
2974 case VIRTIO_RING_F_EVENT_IDX: in vring_transport_features()