Lines Matching refs:bret
1384 struct blkif_response *bret) in blkif_completion() argument
1403 s->status = blkif_rsp_to_req_status(bret->status); in blkif_completion()
1409 bret->status = blkif_get_final_status(s->status, in blkif_completion()
1440 if (bret->operation == BLKIF_OP_READ && info->bounce) { in blkif_completion()
1515 struct blkif_response bret; in blkif_interrupt() local
1543 RING_COPY_RESPONSE(&rinfo->ring, i, &bret); in blkif_interrupt()
1544 id = bret.id; in blkif_interrupt()
1568 if (bret.operation != op) { in blkif_interrupt()
1570 info->gd->disk_name, bret.operation, op); in blkif_interrupt()
1574 if (bret.operation != BLKIF_OP_DISCARD) { in blkif_interrupt()
1581 ret = blkif_completion(&id, rinfo, &bret); in blkif_interrupt()
1590 info->gd->disk_name, op_name(bret.operation), id); in blkif_interrupt()
1594 if (bret.status == BLKIF_RSP_OKAY) in blkif_interrupt()
1599 switch (bret.operation) { in blkif_interrupt()
1601 if (unlikely(bret.status == BLKIF_RSP_EOPNOTSUPP)) { in blkif_interrupt()
1605 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1615 if (unlikely(bret.status == BLKIF_RSP_EOPNOTSUPP)) { in blkif_interrupt()
1617 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1620 if (unlikely(bret.status == BLKIF_RSP_ERROR && in blkif_interrupt()
1623 info->gd->disk_name, op_name(bret.operation)); in blkif_interrupt()
1636 if (unlikely(bret.status != BLKIF_RSP_OKAY)) in blkif_interrupt()
1639 bret.status); in blkif_interrupt()