Home
last modified time | relevance | path

Searched refs:vhost_has_feature (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vhost/
H A Dvhost.c119 vq->is_le = vhost_has_feature(vq, VIRTIO_F_VERSION_1) || !vq->user_be; in vhost_init_is_le()
139 vq->is_le = vhost_has_feature(vq, VIRTIO_F_VERSION_1) in vhost_init_is_le()
560 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_avail_size()
569 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_used_size()
1304 log = log_all || vhost_has_feature(d->vqs[i], VHOST_F_LOG_ALL); in memory_access_ok()
1952 vhost_has_feature(vq, VHOST_F_LOG_ALL)) && in vq_log_access_ok()
2164 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vring_ioctl()
2180 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) in vhost_vring_ioctl()
2821 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_get_vq_desc_n()
3100 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_add_used_n()
[all …]
H A Dvhost.h352 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() function
H A Dvdpa.c703 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl()
741 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl()