Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dvirtio_ring.h87 #define VIRTIO_RING_F_EVENT_IDX 29 macro
/linux-6.12.1/tools/virtio/
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()
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()
Dvringh_test.c468 __virtio_set_bit(&vdev, VIRTIO_RING_F_EVENT_IDX); in main()
/linux-6.12.1/drivers/vhost/
Dvhost.h259 (1ULL << VIRTIO_RING_F_EVENT_IDX) |
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()
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-6.12.1/drivers/virtio/
Dvirtio_ring.c2098 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in vring_create_virtqueue_packed()
2643 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in __vring_new_virtqueue()
2947 case VIRTIO_RING_F_EVENT_IDX: in vring_transport_features()