Searched refs:vhost_has_feature (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/vhost/ |
| H A D | vhost.c | 119 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() 572 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_avail_size() 581 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_used_size() 1334 log = log_all || vhost_has_feature(d->vqs[i], VHOST_F_LOG_ALL); in memory_access_ok() 2008 vhost_has_feature(vq, VHOST_F_LOG_ALL)) && in vq_log_access_ok() 2230 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vring_ioctl() 2246 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) in vhost_vring_ioctl() 2927 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_get_vq_desc_n() 3206 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_add_used_n() [all …]
|
| H A D | net.c | 495 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_tx_batch() 787 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in handle_tx_copy() 1073 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in get_rx_bufs() 1153 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in handle_rx() 1195 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in handle_rx() 1197 mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF); in handle_rx() 1199 vhost_has_feature(vq, VIRTIO_F_VERSION_1); in handle_rx()
|
| H A D | scsi.c | 432 if (likely(!vhost_has_feature(vq, VHOST_F_LOG_ALL))) in vhost_scsi_log_write() 618 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_do_evt_work() 1331 bool t10_pi = vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI); in vhost_scsi_handle_vq() 1350 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_handle_vq() 1731 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_ctl_handle_vq() 1995 if (vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI) && in vhost_scsi_setup_vq_cmds() 2288 was_log = vhost_has_feature(&vs->vqs[0].vq, VHOST_F_LOG_ALL); in vhost_scsi_set_features() 2545 if (vhost_has_feature(vq, VIRTIO_SCSI_F_HOTPLUG)) in vhost_scsi_do_plug()
|
| H A D | vhost.h | 356 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() function
|
| H A D | vdpa.c | 756 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl() 794 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl()
|