Lines Matching refs:reset_cmd
2755 struct megasas_cmd *reset_cmd; in megasas_wait_for_outstanding() local
2787 reset_cmd = list_entry((&clist_local)->next, in megasas_wait_for_outstanding()
2789 list_del_init(&reset_cmd->list); in megasas_wait_for_outstanding()
2790 if (reset_cmd->scmd) { in megasas_wait_for_outstanding()
2791 reset_cmd->scmd->result = DID_REQUEUE << 16; in megasas_wait_for_outstanding()
2793 reset_index, reset_cmd, in megasas_wait_for_outstanding()
2794 reset_cmd->scmd->cmnd[0]); in megasas_wait_for_outstanding()
2796 scsi_done(reset_cmd->scmd); in megasas_wait_for_outstanding()
2797 megasas_return_cmd(instance, reset_cmd); in megasas_wait_for_outstanding()
2798 } else if (reset_cmd->sync_cmd) { in megasas_wait_for_outstanding()
2801 reset_cmd); in megasas_wait_for_outstanding()
2803 reset_cmd->cmd_status_drv = DCMD_INIT; in megasas_wait_for_outstanding()
2805 reset_cmd->frame_phys_addr, in megasas_wait_for_outstanding()
2810 reset_cmd); in megasas_wait_for_outstanding()