Lines Matching refs:tmp_evt
915 struct srp_event_struct *tmp_evt;
917 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1492 struct srp_event_struct *tmp_evt, *found_evt;
1506 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1507 if (tmp_evt->cmnd == cmd) {
1508 found_evt = tmp_evt;
1594 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1595 if (tmp_evt->cmnd == cmd) {
1596 found_evt = tmp_evt;
1631 struct srp_event_struct *tmp_evt, *pos;
1713 list_for_each_entry_safe(tmp_evt, pos, &hostdata->sent, list) {
1714 if ((tmp_evt->cmnd) && (tmp_evt->cmnd->device == cmd->device)) {
1715 if (tmp_evt->cmnd)
1716 tmp_evt->cmnd->result = (DID_RESET << 16);
1717 list_del(&tmp_evt->list);
1718 unmap_cmd_data(&tmp_evt->iu.srp.cmd, tmp_evt,
1719 tmp_evt->hostdata->dev);
1720 free_event_struct(&tmp_evt->hostdata->pool,
1721 tmp_evt);
1723 if (tmp_evt->cmnd_done)
1724 tmp_evt->cmnd_done(tmp_evt->cmnd);
1725 else if (tmp_evt->done)
1726 tmp_evt->done(tmp_evt);