• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:work_q

180  * @work_q:	Queue of scsi cmds to process.
183 struct list_head *work_q)
193 list_for_each_entry(scmd, work_q, eh_entry) {
870 int scsi_eh_get_sense(struct list_head *work_q,
876 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
911 return list_empty(work_q);
947 * @work_q: &list_head for pending commands.
957 static int scsi_eh_abort_cmds(struct list_head *work_q,
963 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
986 return list_empty(work_q);
1016 * @work_q: &list_head for pending commands.
1024 struct list_head *work_q,
1032 list_for_each_entry(scmd, work_q, eh_entry)
1049 work_q, eh_entry) {
1061 return list_empty(work_q);
1068 * @work_q: &list_head for pending commands.
1078 struct list_head *work_q,
1087 list_for_each_entry(scmd, work_q, eh_entry)
1105 work_q, eh_entry) {
1120 return list_empty(work_q);
1126 * @work_q: &list_head for pending commands.
1133 struct list_head *work_q,
1142 list_for_each_entry(scmd, work_q, eh_entry) {
1150 list_for_each_entry(scmd, work_q, eh_entry) {
1166 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
1182 return list_empty(work_q);
1188 * @work_q: &list_head for pending commands.
1192 struct list_head *work_q,
1208 list_for_each_entry(scmd, work_q, eh_entry) {
1222 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
1237 return list_empty(work_q);
1242 * @work_q: list_head for processed commands.
1245 static int scsi_eh_host_reset(struct list_head *work_q,
1251 if (!list_empty(work_q)) {
1252 scmd = list_entry(work_q->next,
1260 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
1273 return list_empty(work_q);
1278 * @work_q: list_head for processed commands.
1281 static void scsi_eh_offline_sdevs(struct list_head *work_q,
1286 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
1616 * @work_q: &list_head for pending commands.
1620 struct list_head *work_q,
1623 if (!scsi_eh_stu(shost, work_q, done_q))
1624 if (!scsi_eh_bus_device_reset(shost, work_q, done_q))
1625 if (!scsi_eh_target_reset(shost, work_q, done_q))
1626 if (!scsi_eh_bus_reset(shost, work_q, done_q))
1627 if (!scsi_eh_host_reset(work_q, done_q))
1628 scsi_eh_offline_sdevs(work_q,