Lines Matching refs:abort

5542 	struct CommandList *abort, int reply_queue)  in hpsa_send_abort()  argument
5552 (void) fill_cmd(c, HPSA_ABORT_MSG, h, &abort->Header.tag, in hpsa_send_abort()
5557 hpsa_get_tag(h, abort, &taglower, &tagupper); in hpsa_send_abort()
5635 unsigned char *scsi3addr, struct CommandList *abort, int reply_queue) in hpsa_send_reset_as_abort_ioaccel2() argument
5644 scmd = abort->scsi_cmd; in hpsa_send_reset_as_abort_ioaccel2()
5667 if (!hpsa_get_pdisk_of_ioaccel2(h, abort, psa)) { in hpsa_send_reset_as_abort_ioaccel2()
5706 struct CommandList *abort, int reply_queue) in hpsa_send_abort_ioaccel2() argument
5714 dev = abort->scsi_cmd->device->hostdata; in hpsa_send_abort_ioaccel2()
5719 setup_ioaccel2_abort_cmd(c, h, abort, reply_queue); in hpsa_send_abort_ioaccel2()
5722 hpsa_get_tag(h, abort, &taglower, &tagupper); in hpsa_send_abort_ioaccel2()
5755 unsigned char *scsi3addr, struct CommandList *abort, int reply_queue) in hpsa_send_abort_both_ways() argument
5763 if (abort->cmd_type == CMD_IOACCEL2) { in hpsa_send_abort_both_ways()
5765 return hpsa_send_abort_ioaccel2(h, abort, in hpsa_send_abort_both_ways()
5769 abort, reply_queue); in hpsa_send_abort_both_ways()
5771 return hpsa_send_abort(h, scsi3addr, abort, reply_queue); in hpsa_send_abort_both_ways()
5805 struct CommandList *abort; /* pointer to command to be aborted */ in hpsa_eh_abort_handler() local
5857 abort = (struct CommandList *) sc->host_scribble; in hpsa_eh_abort_handler()
5858 if (abort == NULL) { in hpsa_eh_abort_handler()
5862 refcount = atomic_inc_return(&abort->refcount); in hpsa_eh_abort_handler()
5864 cmd_free(h, abort); in hpsa_eh_abort_handler()
5869 if (abort->cmd_type != CMD_IOACCEL2 && in hpsa_eh_abort_handler()
5870 abort->cmd_type != CMD_IOACCEL1 && !dev->supports_aborts) { in hpsa_eh_abort_handler()
5871 cmd_free(h, abort); in hpsa_eh_abort_handler()
5879 if (abort->scsi_cmd != sc) { in hpsa_eh_abort_handler()
5880 cmd_free(h, abort); in hpsa_eh_abort_handler()
5884 abort->abort_pending = true; in hpsa_eh_abort_handler()
5885 hpsa_get_tag(h, abort, &taglower, &tagupper); in hpsa_eh_abort_handler()
5886 reply_queue = hpsa_extract_reply_queue(h, abort); in hpsa_eh_abort_handler()
5888 as = abort->scsi_cmd; in hpsa_eh_abort_handler()
5906 cmd_free(h, abort); in hpsa_eh_abort_handler()
5909 rc = hpsa_send_abort_both_ways(h, dev->scsi3addr, abort, reply_queue); in hpsa_eh_abort_handler()
5916 cmd_free(h, abort); in hpsa_eh_abort_handler()
5921 abort->scsi_cmd != sc || lockup_detected(h)); in hpsa_eh_abort_handler()
5922 cmd_free(h, abort); in hpsa_eh_abort_handler()