Lines Matching refs:reset_cmd
2745 struct megasas_cmd *reset_cmd; in megasas_wait_for_outstanding() local
2777 reset_cmd = list_entry((&clist_local)->next, in megasas_wait_for_outstanding()
2779 list_del_init(&reset_cmd->list); in megasas_wait_for_outstanding()
2780 if (reset_cmd->scmd) { in megasas_wait_for_outstanding()
2781 reset_cmd->scmd->result = DID_REQUEUE << 16; in megasas_wait_for_outstanding()
2783 reset_index, reset_cmd, in megasas_wait_for_outstanding()
2784 reset_cmd->scmd->cmnd[0]); in megasas_wait_for_outstanding()
2786 scsi_done(reset_cmd->scmd); in megasas_wait_for_outstanding()
2787 megasas_return_cmd(instance, reset_cmd); in megasas_wait_for_outstanding()
2788 } else if (reset_cmd->sync_cmd) { in megasas_wait_for_outstanding()
2791 reset_cmd); in megasas_wait_for_outstanding()
2793 reset_cmd->cmd_status_drv = DCMD_INIT; in megasas_wait_for_outstanding()
2795 reset_cmd->frame_phys_addr, in megasas_wait_for_outstanding()
2800 reset_cmd); in megasas_wait_for_outstanding()