Lines Matching refs:ea
2965 void qla24xx_handle_gpsc_event(scsi_qla_host_t *vha, struct event_arg *ea) in qla24xx_handle_gpsc_event() argument
2967 struct fc_port *fcport = ea->fcport; in qla24xx_handle_gpsc_event()
2972 fcport->fw_login_state, ea->rc, ea->sp->gen2, fcport->login_gen, in qla24xx_handle_gpsc_event()
2973 ea->sp->gen2, fcport->rscn_gen|ea->sp->gen1, fcport->loop_id); in qla24xx_handle_gpsc_event()
2978 if (ea->sp->gen2 != fcport->login_gen) { in qla24xx_handle_gpsc_event()
2984 } else if (ea->sp->gen1 != fcport->rscn_gen) { in qla24xx_handle_gpsc_event()
2997 struct event_arg ea; in qla24xx_async_gpsc_sp_done() local
3033 memset(&ea, 0, sizeof(ea)); in qla24xx_async_gpsc_sp_done()
3034 ea.rc = res; in qla24xx_async_gpsc_sp_done()
3035 ea.fcport = fcport; in qla24xx_async_gpsc_sp_done()
3036 ea.sp = sp; in qla24xx_async_gpsc_sp_done()
3037 qla24xx_handle_gpsc_event(vha, &ea); in qla24xx_async_gpsc_sp_done()
3148 void qla24xx_handle_gpnid_event(scsi_qla_host_t *vha, struct event_arg *ea) in qla24xx_handle_gpnid_event() argument
3155 __func__, __LINE__, ea->id.b24); in qla24xx_handle_gpnid_event()
3157 if (ea->rc) { in qla24xx_handle_gpnid_event()
3160 if (fcport->d_id.b24 == ea->id.b24) in qla24xx_handle_gpnid_event()
3167 fcport = qla2x00_find_fcport_by_wwpn(vha, ea->port_name, 1); in qla24xx_handle_gpnid_event()
3171 if ((conflict->d_id.b24 == ea->id.b24) && in qla24xx_handle_gpnid_event()
3210 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3214 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3217 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3223 if (conflict->d_id.b24 == ea->id.b24) { in qla24xx_handle_gpnid_event()
3242 __func__, __LINE__, ea->port_name); in qla24xx_handle_gpnid_event()
3243 qla24xx_post_newsess_work(vha, &ea->id, in qla24xx_handle_gpnid_event()
3244 ea->port_name, NULL, NULL, FC4_TYPE_UNKNOWN); in qla24xx_handle_gpnid_event()
3256 struct event_arg ea; in qla2x00_async_gpnid_sp_done() local
3271 memset(&ea, 0, sizeof(ea)); in qla2x00_async_gpnid_sp_done()
3272 memcpy(ea.port_name, ct_rsp->rsp.gpn_id.port_name, WWN_SIZE); in qla2x00_async_gpnid_sp_done()
3273 ea.sp = sp; in qla2x00_async_gpnid_sp_done()
3274 ea.id = be_to_port_id(ct_req->req.port_id.port_id); in qla2x00_async_gpnid_sp_done()
3275 ea.rc = res; in qla2x00_async_gpnid_sp_done()
3283 qla24xx_post_gpnid_work(sp->vha, &ea.id); in qla2x00_async_gpnid_sp_done()
3289 qla24xx_post_gpnid_work(sp->vha, &ea.id); in qla2x00_async_gpnid_sp_done()
3294 qla24xx_handle_gpnid_event(vha, &ea); in qla2x00_async_gpnid_sp_done()
3425 void qla24xx_handle_gffid_event(scsi_qla_host_t *vha, struct event_arg *ea) in qla24xx_handle_gffid_event() argument
3427 fc_port_t *fcport = ea->fcport; in qla24xx_handle_gffid_event()
3437 struct event_arg ea; in qla24xx_async_gffid_sp_done() local
3466 memset(&ea, 0, sizeof(ea)); in qla24xx_async_gffid_sp_done()
3467 ea.sp = sp; in qla24xx_async_gffid_sp_done()
3468 ea.fcport = sp->fcport; in qla24xx_async_gffid_sp_done()
3469 ea.rc = res; in qla24xx_async_gffid_sp_done()
3471 qla24xx_handle_gffid_event(vha, &ea); in qla24xx_async_gffid_sp_done()
4230 void qla24xx_handle_gnnid_event(scsi_qla_host_t *vha, struct event_arg *ea) in qla24xx_handle_gnnid_event() argument
4232 qla24xx_post_gnl_work(vha, ea->fcport); in qla24xx_handle_gnnid_event()
4240 struct event_arg ea; in qla2x00_async_gnnid_sp_done() local
4248 memset(&ea, 0, sizeof(ea)); in qla2x00_async_gnnid_sp_done()
4249 ea.fcport = fcport; in qla2x00_async_gnnid_sp_done()
4250 ea.sp = sp; in qla2x00_async_gnnid_sp_done()
4251 ea.rc = res; in qla2x00_async_gnnid_sp_done()
4257 qla24xx_handle_gnnid_event(vha, &ea); in qla2x00_async_gnnid_sp_done()
4340 void qla24xx_handle_gfpnid_event(scsi_qla_host_t *vha, struct event_arg *ea) in qla24xx_handle_gfpnid_event() argument
4342 fc_port_t *fcport = ea->fcport; in qla24xx_handle_gfpnid_event()
4347 fcport->fw_login_state, ea->rc, fcport->login_gen, ea->sp->gen2, in qla24xx_handle_gfpnid_event()
4348 fcport->rscn_gen, ea->sp->gen1, vha->fcport_count); in qla24xx_handle_gfpnid_event()
4353 if (ea->sp->gen2 != fcport->login_gen) { in qla24xx_handle_gfpnid_event()
4359 } else if (ea->sp->gen1 != fcport->rscn_gen) { in qla24xx_handle_gfpnid_event()
4371 struct event_arg ea; in qla2x00_async_gfpnid_sp_done() local
4378 memset(&ea, 0, sizeof(ea)); in qla2x00_async_gfpnid_sp_done()
4379 ea.fcport = fcport; in qla2x00_async_gfpnid_sp_done()
4380 ea.sp = sp; in qla2x00_async_gfpnid_sp_done()
4381 ea.rc = res; in qla2x00_async_gfpnid_sp_done()
4387 qla24xx_handle_gfpnid_event(vha, &ea); in qla2x00_async_gfpnid_sp_done()