Lines Matching refs:req
34 rp = channel->u.req.ring.sring->rsp_prod;
43 for (i = channel->u.req.ring.rsp_cons; i != rp; i++) {
44 resp = RING_GET_RESPONSE(&channel->u.req.ring, i);
53 channel->u.req.resp_status = resp->status;
54 complete(&channel->u.req.completion);
57 channel->u.req.resp_status = resp->status;
58 channel->u.req.resp.hw_param =
60 complete(&channel->u.req.completion);
71 channel->u.req.ring.rsp_cons = i;
72 if (i != channel->u.req.ring.req_prod_pvt) {
75 RING_FINAL_CHECK_FOR_RESPONSES(&channel->u.req.ring,
80 channel->u.req.ring.sring->rsp_event = i + 1;
137 channel->u.req.ring.req_prod_pvt++;
138 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&channel->u.req.ring, notify);
149 page = (unsigned long)channel->u.req.ring.sring;
159 channel->u.req.resp_status = -EIO;
160 complete_all(&channel->u.req.completion);
186 evtchnl_free(front_info, &front_info->evt_pairs[i].req);
231 init_completion(&channel->u.req.completion);
232 mutex_init(&channel->u.req.req_io_lock);
234 FRONT_RING_INIT(&channel->u.req.ring, sring, XEN_PAGE_SIZE);
238 channel->u.req.ring.sring = NULL;
314 &front_info->evt_pairs[index].req,
334 &front_info->evt_pairs[index].req,
408 &front_info->evt_pairs[index].req,
428 &front_info->evt_pairs[index].req,
471 mutex_lock(&evt_pair->req.ring_io_lock);
472 evt_pair->req.state = state;
473 mutex_unlock(&evt_pair->req.ring_io_lock);
482 mutex_lock(&evt_pair->req.ring_io_lock);
483 evt_pair->req.evt_next_id = 0;
484 mutex_unlock(&evt_pair->req.ring_io_lock);