Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dvirtio_ring.h87 #define VIRTIO_RING_F_EVENT_IDX 29 macro
/linux-6.1.9/tools/virtio/
Dvirtio_test.c346 (1ULL << VIRTIO_RING_F_EVENT_IDX) | (1ULL << VIRTIO_F_VERSION_1); in main()
360 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
Dvringh_test.c465 __virtio_set_bit(&vdev, VIRTIO_RING_F_EVENT_IDX); in main()
/linux-6.1.9/drivers/vhost/
Dvhost.h238 (1ULL << VIRTIO_RING_F_EVENT_IDX) |
Dvhost.c437 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_avail_size()
447 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_used_size()
2455 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_notify()
2534 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_enable_notify()
2572 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_disable_notify()
Dvringh.c659 vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); in vringh_init_user()
933 vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); in vringh_init_kern()
/linux-6.1.9/drivers/virtio/
Dvirtio_ring.c2021 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in vring_create_virtqueue_packed()
2514 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in __vring_new_virtqueue()
2711 case VIRTIO_RING_F_EVENT_IDX: in vring_transport_features()