Lines Matching defs:done_q
1268 * @done_q: Queue for processed commands.
1277 void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, struct list_head *done_q)
1279 list_move_tail(&scmd->eh_entry, done_q);
1286 * @done_q: Queue of processed commands.
1304 struct list_head *done_q)
1369 scsi_eh_finish_cmd(scmd, done_q);
1412 * @done_q: queue for commands which are finished
1417 * a working state are sent to the done_q while commands to devices which
1423 struct list_head *done_q, int try_stu)
1455 scsi_eh_finish_cmd(scmd, done_q);
1493 * @done_q: &list_head for processed commands.
1501 struct list_head *done_q)
1538 scsi_eh_finish_cmd(scmd, done_q);
1557 * @done_q: &list_head for processed commands.
1567 struct list_head *done_q)
1605 done_q);
1622 * @done_q: &list_head for processed commands.
1629 struct list_head *done_q)
1673 scsi_eh_finish_cmd(scmd, done_q);
1680 return scsi_eh_test_devices(&check_list, work_q, done_q, 0);
1687 * @done_q: &list_head for processed commands.
1691 struct list_head *done_q)
1739 done_q);
1752 return scsi_eh_test_devices(&check_list, work_q, done_q, 0);
1759 * @done_q: &list_head for processed commands.
1763 struct list_head *done_q)
1783 scsi_eh_finish_cmd(scmd, done_q);
1792 return scsi_eh_test_devices(&check_list, work_q, done_q, 1);
1798 * @done_q: &list_head for processed commands.
1801 struct list_head *done_q)
1815 scsi_eh_finish_cmd(scmd, done_q);
2175 * @done_q: &list_head for processed commands.
2179 struct list_head *done_q)
2181 if (!scsi_eh_stu(shost, work_q, done_q))
2182 if (!scsi_eh_bus_device_reset(shost, work_q, done_q))
2183 if (!scsi_eh_target_reset(shost, work_q, done_q))
2184 if (!scsi_eh_bus_reset(shost, work_q, done_q))
2185 if (!scsi_eh_host_reset(shost, work_q, done_q))
2187 done_q);
2193 * @done_q: list_head of processed commands.
2195 void scsi_eh_flush_done_q(struct list_head *done_q)
2199 list_for_each_entry_safe(scmd, next, done_q, eh_entry) {