Lines Matching refs:rdata
21 struct fc_rport_priv *rdata);
82 struct fc_rport_priv *rdata) in bnx2fc_offload_session() argument
84 struct fc_rport *rport = rdata->rport; in bnx2fc_offload_session()
92 rval = bnx2fc_init_tgt(tgt, port, rdata); in bnx2fc_offload_session()
161 fc_rport_logoff(rdata); in bnx2fc_offload_session()
270 tgt->rdata->ids.port_id, tgt->num_active_ios.counter); in bnx2fc_flush_active_ios()
350 struct fc_rport_priv *rdata) in bnx2fc_init_tgt() argument
353 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt()
360 tgt->rdata = rdata; in bnx2fc_init_tgt()
390 if (rdata->flags & FC_RP_FLAGS_RETRY && in bnx2fc_init_tgt()
391 rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET && in bnx2fc_init_tgt()
392 !(rdata->ids.roles & FC_RPORT_ROLE_FCP_INITIATOR)) { in bnx2fc_init_tgt()
438 struct fc_rport_priv *rdata, in bnx2fc_rport_event_handler() argument
444 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler()
450 event, rdata->ids.port_id); in bnx2fc_rport_event_handler()
467 rdata->ids.port_id); in bnx2fc_rport_event_handler()
471 if (rdata->spp_type != FC_TYPE_FCP) { in bnx2fc_rport_event_handler()
476 if (!(rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET)) { in bnx2fc_rport_event_handler()
500 bnx2fc_offload_session(port, tgt, rdata); in bnx2fc_rport_event_handler()
526 port_id = rdata->ids.port_id; in bnx2fc_rport_event_handler()
582 struct fc_rport_priv *rdata; in bnx2fc_tgt_lookup() local
588 rdata = tgt->rdata; in bnx2fc_tgt_lookup()
589 if (rdata->ids.port_id == port_id) { in bnx2fc_tgt_lookup()
590 if (rdata->rp_state != RPORT_ST_DELETE) { in bnx2fc_tgt_lookup()
597 rdata->ids.port_id); in bnx2fc_tgt_lookup()