Searched refs:vhost_has_feature (Results 1 – 5 of 5) sorted by relevance
| /drivers/vhost/ |
| A D | vhost.c | 139 vq->is_le = vhost_has_feature(vq, VIRTIO_F_VERSION_1) in vhost_init_is_le() 564 vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vhost_get_avail_size() 1954 vhost_has_feature(vq, VHOST_F_LOG_ALL)) && in vq_log_access_ok() 2167 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vring_ioctl() 2183 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) in vhost_vring_ioctl() 2808 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_get_vq_desc() 3055 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_add_used_n() 3095 if (vhost_has_feature(vq, VIRTIO_F_NOTIFY_ON_EMPTY) && in vhost_notify() 3099 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_notify() 3176 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_enable_notify() [all …]
|
| A D | net.c | 476 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in vhost_tx_batch() 764 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in handle_tx_copy() 1052 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in get_rx_bufs() 1129 bool in_order = vhost_has_feature(vq, VIRTIO_F_IN_ORDER); in handle_rx() 1170 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in handle_rx() 1172 mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF); in handle_rx() 1174 vhost_has_feature(vq, VIRTIO_F_VERSION_1); in handle_rx()
|
| A D | scsi.c | 401 if (likely(!vhost_has_feature(vq, VHOST_F_LOG_ALL))) in vhost_scsi_log_write() 587 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_do_evt_work() 1298 bool t10_pi = vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI); in vhost_scsi_handle_vq() 1317 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_handle_vq() 1694 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in vhost_scsi_ctl_handle_vq() 1960 if (vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI) && in vhost_scsi_setup_vq_cmds() 2245 was_log = vhost_has_feature(&vs->vqs[0].vq, VHOST_F_LOG_ALL); in vhost_scsi_set_features() 2509 if (vhost_has_feature(vq, VIRTIO_SCSI_F_HOTPLUG)) in vhost_scsi_do_plug()
|
| A D | vhost.h | 318 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() function
|
| A D | vdpa.c | 701 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl() 739 if (vhost_has_feature(vq, VIRTIO_F_RING_PACKED)) { in vhost_vdpa_vring_ioctl()
|
Completed in 22 milliseconds