Lines Matching defs:done_q
1184 * @done_q: Queue for processed commands.
1193 void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, struct list_head *done_q)
1195 list_move_tail(&scmd->eh_entry, done_q);
1202 * @done_q: Queue of processed commands.
1220 struct list_head *done_q)
1285 scsi_eh_finish_cmd(scmd, done_q);
1328 * @done_q: queue for commands which are finished
1333 * a working state are sent to the done_q while commands to devices which
1339 struct list_head *done_q, int try_stu)
1371 scsi_eh_finish_cmd(scmd, done_q);
1408 * @done_q: &list_head for processed commands.
1416 struct list_head *done_q)
1453 scsi_eh_finish_cmd(scmd, done_q);
1472 * @done_q: &list_head for processed commands.
1482 struct list_head *done_q)
1520 done_q);
1537 * @done_q: &list_head for processed commands.
1544 struct list_head *done_q)
1588 scsi_eh_finish_cmd(scmd, done_q);
1595 return scsi_eh_test_devices(&check_list, work_q, done_q, 0);
1602 * @done_q: &list_head for processed commands.
1606 struct list_head *done_q)
1654 done_q);
1667 return scsi_eh_test_devices(&check_list, work_q, done_q, 0);
1674 * @done_q: &list_head for processed commands.
1678 struct list_head *done_q)
1698 scsi_eh_finish_cmd(scmd, done_q);
1707 return scsi_eh_test_devices(&check_list, work_q, done_q, 1);
1713 * @done_q: &list_head for processed commands.
1716 struct list_head *done_q)
1730 scsi_eh_finish_cmd(scmd, done_q);
2078 * @done_q: &list_head for processed commands.
2082 struct list_head *done_q)
2084 if (!scsi_eh_stu(shost, work_q, done_q))
2085 if (!scsi_eh_bus_device_reset(shost, work_q, done_q))
2086 if (!scsi_eh_target_reset(shost, work_q, done_q))
2087 if (!scsi_eh_bus_reset(shost, work_q, done_q))
2088 if (!scsi_eh_host_reset(shost, work_q, done_q))
2090 done_q);
2096 * @done_q: list_head of processed commands.
2098 void scsi_eh_flush_done_q(struct list_head *done_q)
2102 list_for_each_entry_safe(scmd, next, done_q, eh_entry) {