Searched refs:vhost_has_feature (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/vhost/ |
| H A D | vhost.c | 131 vq->is_le = vhost_has_feature(vq, VIRTIO_F_VERSION_1) in vhost_init_is_le() 513 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() 1131 log = log_all || vhost_has_feature(d->vqs[i], VHOST_F_LOG_ALL); in memory_access_ok() 1779 vhost_has_feature(vq, VHOST_F_LOG_ALL)) && in vq_log_access_ok() 1992 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vring_ioctl() 2007 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) in vhost_vring_ioctl() 2795 if (vhost_has_feature(vq, VIRTIO_F_NOTIFY_ON_EMPTY) && in vhost_notify() 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() [all …]
|
| H A D | vhost.h | 292 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() function
|
| H A D | net.c | 1130 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in handle_rx() 1132 mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF); in handle_rx() 1134 vhost_has_feature(vq, VIRTIO_F_VERSION_1); in handle_rx()
|
| H A D | scsi.c | 1222 bool t10_pi = vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI); in vhost_scsi_handle_vq() 1822 if (vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI) && in vhost_scsi_setup_vq_cmds() 2343 if (vhost_has_feature(vq, VIRTIO_SCSI_F_HOTPLUG)) in vhost_scsi_do_plug()
|
| H A D | vdpa.c | 701 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl() 740 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl()
|