Lines Matching refs:avail
39 err = getu16(vrh, &avail_idx, &vrh->vring.avail->idx); in __vringh_get_head()
42 &vrh->vring.avail->idx); in __vringh_get_head()
54 err = getu16(vrh, &head, &vrh->vring.avail->ring[i]); in __vringh_get_head()
57 *last_avail_idx, &vrh->vring.avail->ring[i]); in __vringh_get_head()
466 err = getu16(vrh, &flags, &vrh->vring.avail->flags); in __vringh_need_notify()
469 &vrh->vring.avail->flags); in __vringh_need_notify()
502 u16 avail; in __vringh_notify_enable() local
524 if (getu16(vrh, &avail, &vrh->vring.avail->idx) != 0) { in __vringh_notify_enable()
526 &vrh->vring.avail->idx); in __vringh_notify_enable()
533 return avail == vrh->last_avail_idx; in __vringh_notify_enable()
607 struct vring_avail __user *avail, in vringh_init_user() argument
625 vrh->vring.avail = (__force struct vring_avail *)avail; in vringh_init_user()
868 struct vring_avail *avail, in vringh_init_kern() argument
885 vrh->vring.avail = avail; in vringh_init_kern()