Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/
Dscsi_error.c127 enum blk_eh_timer_return rtn = BLK_EH_NOT_HANDLED; in scsi_times_out() local
132 rtn = scmd->device->host->transportt->eh_timed_out(scmd); in scsi_times_out()
134 rtn = scmd->device->host->hostt->eh_timed_out(scmd); in scsi_times_out()
136 if (unlikely(rtn == BLK_EH_NOT_HANDLED && in scsi_times_out()
139 rtn = BLK_EH_HANDLED; in scsi_times_out()
142 return rtn; in scsi_times_out()
418 int rtn; in scsi_try_host_reset() local
426 rtn = scmd->device->host->hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
428 if (rtn == SUCCESS) { in scsi_try_host_reset()
437 return rtn; in scsi_try_host_reset()
[all …]
Dscsi.c652 int rtn = 0; in scsi_dispatch_cmd() local
749 rtn = host->hostt->queuecommand(cmd, scsi_done); in scsi_dispatch_cmd()
752 if (rtn) { in scsi_dispatch_cmd()
753 if (rtn != SCSI_MLQUEUE_DEVICE_BUSY && in scsi_dispatch_cmd()
754 rtn != SCSI_MLQUEUE_TARGET_BUSY) in scsi_dispatch_cmd()
755 rtn = SCSI_MLQUEUE_HOST_BUSY; in scsi_dispatch_cmd()
757 scsi_queue_insert(cmd, rtn); in scsi_dispatch_cmd()
765 return rtn; in scsi_dispatch_cmd()
Dscsi_lib.c1675 int rtn; in scsi_request_fn() local
1751 rtn = scsi_dispatch_cmd(cmd); in scsi_request_fn()
1753 if(rtn) { in scsi_request_fn()
/drivers/mtd/nand/
Drtc_from4.c408 int rtn, retlen; in rtc_from4_errstat() local
422 rtn = this->read_byte(mtd); in rtc_from4_errstat()
426 if (!(rtn & ERR_STAT_ECC_AVAILABLE)) in rtc_from4_errstat()
436 rtn = this->read_byte(mtd); in rtc_from4_errstat()
439 if (!(rtn & ERR_STAT_ECC_AVAILABLE)) { in rtc_from4_errstat()
454 rtn = nand_do_read(mtd, page, len, &retlen, buf); in rtc_from4_errstat()
457 if (rtn || (mtd->ecc_stats.corrected - corrected) > 1) in rtc_from4_errstat()
462 rtn = status; in rtc_from4_errstat()
464 rtn = (status & ~NAND_STATUS_FAIL); /* clear the error bit */ in rtc_from4_errstat()
467 return rtn; in rtc_from4_errstat()
/drivers/w1/masters/
Domap_hdq.c299 goto rtn; in omap_hdq_break()
346 rtn: in omap_hdq_break()
359 goto rtn; in hdq_read_byte()
396 rtn: in hdq_read_byte()
409 goto rtn; in omap_hdq_get()
456 rtn: in omap_hdq_get()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c534 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahc_linux_queue() local
543 rtn = ahc_linux_run_command(ahc, dev, cmd); in ahc_linux_queue()
547 return rtn; in ahc_linux_queue()
Daic79xx_osm.c579 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahd_linux_queue() local
585 rtn = ahd_linux_run_command(ahd, dev, cmd); in ahd_linux_queue()
587 return rtn; in ahd_linux_queue()