Home
last modified time | relevance | path

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

/linux/drivers/vhost/
A Dvringh.c41 u16 *last_avail_idx) in __vringh_get_head() argument
53 if (*last_avail_idx == avail_idx) in __vringh_get_head()
59 i = *last_avail_idx & (vrh->vring.num - 1); in __vringh_get_head()
74 (*last_avail_idx)++; in __vringh_get_head()
545 vrh->last_avail_idx) != 0) { in __vringh_notify_enable()
565 return avail == vrh->last_avail_idx; in __vringh_notify_enable()
656 vrh->last_avail_idx = 0; in vringh_init_user()
779 vrh->last_avail_idx -= num; in vringh_abandon_user()
930 vrh->last_avail_idx = 0; in vringh_init_kern()
1027 vrh->last_avail_idx -= num; in vringh_abandon_kern()
[all …]
A Dvhost.c320 vq->last_avail_idx = 0; in vhost_vq_reset()
1627 vq->last_avail_idx = s.num; in vhost_vring_ioctl()
1629 vq->avail_idx = vq->last_avail_idx; in vhost_vring_ioctl()
1633 s.num = vq->last_avail_idx; in vhost_vring_ioctl()
2206 u16 last_avail_idx; in vhost_get_vq_desc() local
2212 last_avail_idx = vq->last_avail_idx; in vhost_get_vq_desc()
2224 last_avail_idx, vq->avail_idx); in vhost_get_vq_desc()
2231 if (vq->avail_idx == last_avail_idx) in vhost_get_vq_desc()
2244 last_avail_idx, in vhost_get_vq_desc()
2331 vq->last_avail_idx++; in vhost_get_vq_desc()
[all …]
A Dvhost.h90 u16 last_avail_idx; member
A Dvdpa.c391 vq->last_avail_idx = vq_state.split.avail_index; in vhost_vdpa_vring_ioctl()
409 vq_state.split.avail_index = vq->last_avail_idx; in vhost_vdpa_vring_ioctl()
/linux/drivers/vdpa/ifcvf/
A Difcvf_base.c305 u16 last_avail_idx; in ifcvf_get_vq_state() local
311 last_avail_idx = ifc_ioread16(avail_idx_addr); in ifcvf_get_vq_state()
313 return last_avail_idx; in ifcvf_get_vq_state()
325 hw->vring[qid].last_avail_idx = num; in ifcvf_set_vq_state()
367 ifcvf_set_vq_state(hw, i, hw->vring[i].last_avail_idx); in ifcvf_hw_enable()
A Difcvf_base.h50 u16 last_avail_idx; member
A Difcvf_main.c148 vf->vring[i].last_avail_idx = 0; in ifcvf_reset_vring()
/linux/include/uapi/linux/
A Dvduse.h154 __u16 last_avail_idx; member
/linux/drivers/vdpa/vdpa_user/
A Dvduse_dev.c244 packed->last_avail_idx = in vduse_dev_get_vq_state_packed()
245 msg.resp.vq_state.packed.last_avail_idx & 0x7FFF; in vduse_dev_get_vq_state_packed()
547 vq->state.packed.last_avail_idx = state->packed.last_avail_idx; in vduse_vdpa_set_vq_state()
1039 vq_info.packed.last_avail_idx = in vduse_dev_ioctl()
1040 vq->state.packed.last_avail_idx; in vduse_dev_ioctl()
/linux/tools/virtio/
A Dvringh_test.c120 if (vrh->last_avail_idx == avail_idx) in vringh_get_head()
126 i = vrh->last_avail_idx & (vrh->vring.num - 1); in vringh_get_head()
132 vrh->last_avail_idx++; in vringh_get_head()
/linux/include/linux/
A Dvdpa.h49 u16 last_avail_idx:15; member
A Dvringh.h36 u16 last_avail_idx; member
/linux/drivers/vdpa/vdpa_sim/
A Dvdpa_sim.c380 vrh->last_avail_idx = state->split.avail_index; in vdpasim_set_vq_state()
393 state->split.avail_index = vrh->last_avail_idx; in vdpasim_get_vq_state()
/linux/drivers/virtio/
A Dvirtio_vdpa.c209 s->last_avail_idx = 0; in virtio_vdpa_setup_vq()
/linux/drivers/vdpa/virtio_pci/
A Dvp_vdpa.c251 packed->last_avail_idx == 0 && in vp_vdpa_set_vq_state_packed()
/linux/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c1802 mvdev->cvq.vring.last_avail_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()
1829 state->split.avail_index = mvdev->cvq.vring.last_avail_idx; in mlx5_vdpa_get_vq_state()

Completed in 45 milliseconds