android_kernel_motorola_sm6375/drivers/vhost
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jason Wang d4a60603fa vhost: introduce vhost_vq_avail_empty()
This patch introduces a helper which will return true if we're sure
that the available ring is empty for a specific vq. When we're not
sure, e.g vq access failure, return false instead. This could be used
for busy polling code to exit the busy loop.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-03-11 02:18:50 +02:00
..
Kconfig
Makefile
net.c vhost: rename vhost_init_used() 2016-03-02 17:02:04 +02:00
scsi.c vhost: rename vhost_init_used() 2016-03-02 17:02:04 +02:00
test.c vhost: rename vhost_init_used() 2016-03-02 17:02:04 +02:00
test.h
vhost.c vhost: introduce vhost_vq_avail_empty() 2016-03-11 02:18:50 +02:00
vhost.h vhost: introduce vhost_vq_avail_empty() 2016-03-11 02:18:50 +02:00
vringh.c