Lines Matching defs:tmp_evt
916 struct srp_event_struct *tmp_evt;
918 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1493 struct srp_event_struct *tmp_evt, *found_evt;
1507 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1508 if (tmp_evt->cmnd == cmd) {
1509 found_evt = tmp_evt;
1595 list_for_each_entry(tmp_evt, &hostdata->sent, list) {
1596 if (tmp_evt->cmnd == cmd) {
1597 found_evt = tmp_evt;
1632 struct srp_event_struct *tmp_evt, *pos;
1714 list_for_each_entry_safe(tmp_evt, pos, &hostdata->sent, list) {
1715 if ((tmp_evt->cmnd) && (tmp_evt->cmnd->device == cmd->device)) {
1716 if (tmp_evt->cmnd)
1717 tmp_evt->cmnd->result = (DID_RESET << 16);
1718 list_del(&tmp_evt->list);
1719 unmap_cmd_data(&tmp_evt->iu.srp.cmd, tmp_evt,
1720 tmp_evt->hostdata->dev);
1721 free_event_struct(&tmp_evt->hostdata->pool,
1722 tmp_evt);
1724 if (tmp_evt->cmnd_done)
1725 tmp_evt->cmnd_done(tmp_evt->cmnd);
1726 else if (tmp_evt->done)
1727 tmp_evt->done(tmp_evt);