Lines Matching refs:reset_cmd
2696 struct megasas_cmd *reset_cmd; in megasas_wait_for_outstanding() local
2728 reset_cmd = list_entry((&clist_local)->next, in megasas_wait_for_outstanding()
2730 list_del_init(&reset_cmd->list); in megasas_wait_for_outstanding()
2731 if (reset_cmd->scmd) { in megasas_wait_for_outstanding()
2732 reset_cmd->scmd->result = DID_REQUEUE << 16; in megasas_wait_for_outstanding()
2734 reset_index, reset_cmd, in megasas_wait_for_outstanding()
2735 reset_cmd->scmd->cmnd[0]); in megasas_wait_for_outstanding()
2737 reset_cmd->scmd->scsi_done(reset_cmd->scmd); in megasas_wait_for_outstanding()
2738 megasas_return_cmd(instance, reset_cmd); in megasas_wait_for_outstanding()
2739 } else if (reset_cmd->sync_cmd) { in megasas_wait_for_outstanding()
2742 reset_cmd); in megasas_wait_for_outstanding()
2744 reset_cmd->cmd_status_drv = DCMD_INIT; in megasas_wait_for_outstanding()
2746 reset_cmd->frame_phys_addr, in megasas_wait_for_outstanding()
2751 reset_cmd); in megasas_wait_for_outstanding()