Lines Matching refs:prod
106 RING_IDX cons, prod; in p9_xen_write_todo() local
109 prod = ring->intf->out_prod; in p9_xen_write_todo()
113 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) >= size; in p9_xen_write_todo()
119 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local
144 prod = ring->intf->out_prod; in p9_xen_request()
148 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < size) { in p9_xen_request()
153 masked_prod = xen_9pfs_mask(prod, XEN_9PFS_RING_SIZE(ring)); in p9_xen_request()
162 prod += size; in p9_xen_request()
163 ring->intf->out_prod = prod; in p9_xen_request()
175 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response() local
185 prod = ring->intf->in_prod; in p9_xen_response()
188 if (xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < in p9_xen_response()
194 masked_prod = xen_9pfs_mask(prod, XEN_9PFS_RING_SIZE(ring)); in p9_xen_response()