void scsi_req_complete(SCSIRequest *req)

{

    assert(req->status != -1);

    scsi_req_ref(req);

    scsi_req_dequeue(req);

    req->bus->ops->complete(req->bus, SCSI_REASON_DONE,

                            req->tag,

                            req->status);

    scsi_req_unref(req);

}

void scsi_req_complete(SCSIRequest *req)

{

    assert(req->status != -1);

    scsi_req_ref(req);

    scsi_req_dequeue(req);

    req->bus->ops->complete(req->bus, SCSI_REASON_DONE,

                            req->tag,

                            req->status);

    scsi_req_unref(req);

}

    req->bus->ops->complete(req->bus, SCSI_REASON_DONE,                             req->tag,                             req->status);
void FUNC_0(SCSIRequest *VAR_0)

{

    assert(VAR_0->status != -1);

    scsi_req_ref(VAR_0);

    scsi_req_dequeue(VAR_0);

    VAR_0->bus->ops->complete(VAR_0->bus, SCSI_REASON_DONE,

                            VAR_0->tag,

                            VAR_0->status);

    scsi_req_unref(VAR_0);

}

void FUNC_0(SCSIRequest *VAR_0)
{ assert(VAR_0->status != -1); scsi_req_ref(VAR_0); scsi_req_dequeue(VAR_0); VAR_0->bus->ops->complete(VAR_0->bus, SCSI_REASON_DONE,
VAR_0->tag,
VAR_0->status); scsi_req_unref(VAR_0); }