Lines Matching refs:iter_data

1618 	struct fnic_rport_abort_io_iter_data *iter_data = data;  in fnic_rport_abort_io_iter()  local
1619 struct fnic *fnic = iter_data->fnic; in fnic_rport_abort_io_iter()
1636 if (!io_req || io_req->port_id != iter_data->port_id) { in fnic_rport_abort_io_iter()
1715 iter_data->term_cnt++; in fnic_rport_abort_io_iter()
1723 struct fnic_rport_abort_io_iter_data iter_data = { in fnic_rport_exch_reset() local
1738 &iter_data); in fnic_rport_exch_reset()
1739 if (iter_data.term_cnt > atomic64_read(&term_stats->max_terminates)) in fnic_rport_exch_reset()
1740 atomic64_set(&term_stats->max_terminates, iter_data.term_cnt); in fnic_rport_exch_reset()
2089 struct fnic_pending_aborts_iter_data *iter_data = data; in fnic_pending_aborts_iter() local
2090 struct fnic *fnic = iter_data->fnic; in fnic_pending_aborts_iter()
2091 struct scsi_device *lun_dev = iter_data->lun_dev; in fnic_pending_aborts_iter()
2100 if (sc == iter_data->lr_sc || sc->device != lun_dev) in fnic_pending_aborts_iter()
2171 iter_data->ret = FAILED; in fnic_pending_aborts_iter()
2202 iter_data->ret = FAILED; in fnic_pending_aborts_iter()
2208 if (sc != iter_data->lr_sc) { in fnic_pending_aborts_iter()
2215 if (sc != iter_data->lr_sc) { in fnic_pending_aborts_iter()
2243 struct fnic_pending_aborts_iter_data iter_data = { in fnic_clean_pending_aborts() local
2249 iter_data.lr_sc = lr_sc; in fnic_clean_pending_aborts()
2252 fnic_pending_aborts_iter, &iter_data); in fnic_clean_pending_aborts()
2253 if (iter_data.ret == FAILED) { in fnic_clean_pending_aborts()
2254 ret = iter_data.ret; in fnic_clean_pending_aborts()
2742 struct fnic_pending_aborts_iter_data *iter_data = data; in fnic_abts_pending_iter() local
2743 struct fnic *fnic = iter_data->fnic; in fnic_abts_pending_iter()
2757 if (iter_data->lr_sc && sc == iter_data->lr_sc) in fnic_abts_pending_iter()
2759 if (iter_data->lun_dev && sc->device != iter_data->lun_dev) in fnic_abts_pending_iter()
2781 iter_data->ret = 1; in fnic_abts_pending_iter()
2783 return iter_data->ret ? false : true; in fnic_abts_pending_iter()
2795 struct fnic_pending_aborts_iter_data iter_data = { in fnic_is_abts_pending() local
2802 iter_data.lun_dev = lr_sc->device; in fnic_is_abts_pending()
2803 iter_data.lr_sc = lr_sc; in fnic_is_abts_pending()
2808 fnic_abts_pending_iter, &iter_data); in fnic_is_abts_pending()
2810 return iter_data.ret; in fnic_is_abts_pending()