Home
last modified time | relevance | path

Searched refs:vq_state (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvdpa.c370 struct vdpa_vq_state vq_state; in vhost_vdpa_vring_ioctl() local
394 r = ops->get_vq_state(v->vdpa, idx, &vq_state); in vhost_vdpa_vring_ioctl()
398 vq->last_avail_idx = vq_state.avail_index; in vhost_vdpa_vring_ioctl()
416 vq_state.avail_index = vq->last_avail_idx; in vhost_vdpa_vring_ioctl()
417 if (ops->set_vq_state(vdpa, idx, &vq_state)) in vhost_vdpa_vring_ioctl()