Lines Matching refs:bret
1386 struct blkif_response *bret) in blkif_completion() argument
1405 s->status = blkif_rsp_to_req_status(bret->status); in blkif_completion()
1411 bret->status = blkif_get_final_status(s->status, in blkif_completion()
1442 if (bret->operation == BLKIF_OP_READ && info->bounce) { in blkif_completion()
1517 struct blkif_response bret; in blkif_interrupt() local
1545 RING_COPY_RESPONSE(&rinfo->ring, i, &bret); in blkif_interrupt()
1546 id = bret.id; in blkif_interrupt()
1570 if (bret.operation != op) { in blkif_interrupt()
1572 info->gd->disk_name, bret.operation, op); in blkif_interrupt()
1576 if (bret.operation != BLKIF_OP_DISCARD) { in blkif_interrupt()
1583 ret = blkif_completion(&id, rinfo, &bret); in blkif_interrupt()
1592 info->gd->disk_name, op_name(bret.operation), id); in blkif_interrupt()
1596 if (bret.status == BLKIF_RSP_OKAY) in blkif_interrupt()
1601 switch (bret.operation) { in blkif_interrupt()
1603 if (unlikely(bret.status == BLKIF_RSP_EOPNOTSUPP)) { in blkif_interrupt()
1607 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1617 if (unlikely(bret.status == BLKIF_RSP_EOPNOTSUPP)) { in blkif_interrupt()
1619 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1622 if (unlikely(bret.status == BLKIF_RSP_ERROR && in blkif_interrupt()
1625 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1637 if (unlikely(bret.status != BLKIF_RSP_OKAY)) in blkif_interrupt()
1640 bret.status); in blkif_interrupt()