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 = channel->u.req.ring.sring;
159 channel->u.req.resp_status = -EIO;
160 complete_all(&channel->u.req.completion);
183 evtchnl_free(front_info, &front_info->evt_pairs[i].req);
224 init_completion(&channel->u.req.completion);
225 mutex_init(&channel->u.req.req_io_lock);
226 XEN_FRONT_RING_INIT(&channel->u.req.ring, sring, XEN_PAGE_SIZE);
290 &front_info->evt_pairs[index].req,
310 &front_info->evt_pairs[index].req,
384 &front_info->evt_pairs[index].req,
404 &front_info->evt_pairs[index].req,
447 mutex_lock(&evt_pair->req.ring_io_lock);
448 evt_pair->req.state = state;
449 mutex_unlock(&evt_pair->req.ring_io_lock);
458 mutex_lock(&evt_pair->req.ring_io_lock);
459 evt_pair->req.evt_next_id = 0;
460 mutex_unlock(&evt_pair->req.ring_io_lock);