Searched refs:last_avail_idx (Results 1 – 16 of 16) sorted by relevance
41 u16 *last_avail_idx) in __vringh_get_head() argument53 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 …]
320 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() local2212 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 …]
90 u16 last_avail_idx; member
391 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()
305 u16 last_avail_idx; in ifcvf_get_vq_state() local311 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()
50 u16 last_avail_idx; member
148 vf->vring[i].last_avail_idx = 0; in ifcvf_reset_vring()
154 __u16 last_avail_idx; member
244 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()
120 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()
49 u16 last_avail_idx:15; member
36 u16 last_avail_idx; member
380 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()
209 s->last_avail_idx = 0; in virtio_vdpa_setup_vq()
251 packed->last_avail_idx == 0 && in vp_vdpa_set_vq_state_packed()
1802 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