Searched refs:vhost_has_feature (Results 1 – 4 of 4) sorted by relevance
/drivers/vhost/ |
D | vhost.c | 536 log = log_all || vhost_has_feature(d->vqs[i], VHOST_F_LOG_ALL); in memory_access_ok() 554 size_t s = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vq_access_ok() 575 size_t s = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0; in vq_log_access_ok() 578 vhost_has_feature(vq, VHOST_F_LOG_ALL)) && in vq_log_access_ok() 1433 if (vhost_has_feature(vq, VIRTIO_F_NOTIFY_ON_EMPTY) && in vhost_notify() 1437 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_notify() 1498 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_enable_notify() 1535 if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { in vhost_disable_notify()
|
D | vhost.h | 175 static inline int vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() function
|
D | net.c | 588 vq_log = unlikely(vhost_has_feature(vq, VHOST_F_LOG_ALL)) ? in handle_rx() 590 mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF); in handle_rx()
|
D | scsi.c | 1061 if (vhost_has_feature(vq, VIRTIO_SCSI_F_T10_PI)) { in vhost_scsi_handle_vq() 1750 if (vhost_has_feature(vq, VIRTIO_SCSI_F_HOTPLUG)) in tcm_vhost_do_plug()
|