Lines Matching refs:comp_pkt
961 struct hv_pci_compl *comp_pkt = context;
963 comp_pkt->completion_status = resp->status;
964 complete(&comp_pkt->host_event);
1372 struct hv_pci_compl comp_pkt;
1395 comp->comp_pkt.completion_status = -1;
1407 comp->comp_pkt.completion_status = read_resp->status;
1409 complete(&comp->comp_pkt.host_event);
1434 struct hv_read_config_compl comp_pkt;
1441 init_completion(&comp_pkt.comp_pkt.host_event);
1442 comp_pkt.buf = buf;
1443 comp_pkt.len = len;
1447 pkt.pkt.compl_ctxt = &comp_pkt;
1461 ret = wait_for_response(hbus->hdev, &comp_pkt.comp_pkt.host_event);
1465 if (comp_pkt.comp_pkt.completion_status != 0 ||
1466 comp_pkt.bytes_returned == 0) {
1469 comp_pkt.comp_pkt.completion_status,
1470 comp_pkt.bytes_returned);
1474 *bytes_returned = comp_pkt.bytes_returned;
1488 struct hv_pci_compl *comp_pkt = context;
1490 comp_pkt->completion_status = resp->status;
1491 complete(&comp_pkt->host_event);
1515 struct hv_pci_compl comp_pkt;
1523 init_completion(&comp_pkt.host_event);
1527 pkt.pkt.compl_ctxt = &comp_pkt;
1550 ret = wait_for_response(hbus->hdev, &comp_pkt.host_event);
1554 if (comp_pkt.completion_status != 0) {
1557 comp_pkt.completion_status);
1674 struct hv_pci_compl comp_pkt;
1681 struct compose_comp_ctxt *comp_pkt = context;
1686 comp_pkt->comp_pkt.completion_status = -1;
1689 comp_pkt->comp_pkt.completion_status = resp->status;
1690 comp_pkt->int_desc = int_resp->int_desc;
1692 complete(&comp_pkt->comp_pkt.host_event);
1922 init_completion(&comp.comp_pkt.host_event);
1968 comp.comp_pkt.completion_status);
1982 while (!try_wait_for_completion(&comp.comp_pkt.host_event)) {
2012 if (comp.comp_pkt.completion_status < 0) {
2015 comp.comp_pkt.completion_status);
2473 struct q_res_req_compl comp_pkt;
2488 init_completion(&comp_pkt.host_event);
2489 comp_pkt.hpdev = hpdev;
2490 pkt.init_packet.compl_ctxt = &comp_pkt;
2504 if (wait_for_response(hbus->hdev, &comp_pkt.host_event))
3110 struct hv_pci_compl comp_pkt;
3125 init_completion(&comp_pkt.host_event);
3127 pkt->compl_ctxt = &comp_pkt;
3138 ret = wait_for_response(hdev, &comp_pkt.host_event);
3147 if (comp_pkt.completion_status >= 0) {
3155 if (comp_pkt.completion_status != STATUS_REVISION_MISMATCH) {
3158 comp_pkt.completion_status);
3163 reinit_completion(&comp_pkt.host_event);
3331 struct hv_pci_compl comp_pkt;
3347 init_completion(&comp_pkt.host_event);
3349 pkt->compl_ctxt = &comp_pkt;
3358 ret = wait_for_response(hdev, &comp_pkt.host_event);
3370 if (comp_pkt.completion_status < 0 && retry) {
3395 if (comp_pkt.completion_status < 0) {
3398 comp_pkt.completion_status);
3480 struct hv_pci_compl comp_pkt;
3502 init_completion(&comp_pkt.host_event);
3504 pkt->compl_ctxt = &comp_pkt;
3526 ret = wait_for_response(hdev, &comp_pkt.host_event);
3530 if (comp_pkt.completion_status < 0) {
3534 comp_pkt.completion_status);
3819 struct hv_pci_compl comp_pkt;
3861 init_completion(&comp_pkt.host_event);
3863 pkt.teardown_packet.compl_ctxt = &comp_pkt;
3874 if (wait_for_completion_timeout(&comp_pkt.host_event, 10 * HZ) == 0) {