Searched refs:vrh (Results 1 – 1 of 1) sorted by relevance
37 static bool getrange_iov(struct vringh *vrh, u64 addr, struct vringh_range *r) in getrange_iov() argument51 static bool getrange_slow(struct vringh *vrh, u64 addr, struct vringh_range *r) in getrange_slow() argument111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() argument116 err = get_user(avail_idx, &vrh->vring.avail->idx); in vringh_get_head()120 if (vrh->last_avail_idx == avail_idx) in vringh_get_head()124 virtio_rmb(vrh->weak_barriers); in vringh_get_head()126 i = vrh->last_avail_idx & (vrh->vring.num - 1); in vringh_get_head()128 err = get_user(*head, &vrh->vring.avail->ring[i]); in vringh_get_head()132 vrh->last_avail_idx++; in vringh_get_head()137 bool (*getrange)(struct vringh *vrh, in parallel_test() argument[all …]