• Home
  • Raw
  • Download

Lines Matching refs:rdata

20 			   struct fc_rport_priv *rdata);
81 struct fc_rport_priv *rdata) in bnx2fc_offload_session() argument
83 struct fc_lport *lport = rdata->local_port; in bnx2fc_offload_session()
84 struct fc_rport *rport = rdata->rport; in bnx2fc_offload_session()
92 rval = bnx2fc_init_tgt(tgt, port, rdata); in bnx2fc_offload_session()
163 lport->tt.rport_logoff(rdata); in bnx2fc_offload_session()
272 tgt->rdata->ids.port_id, tgt->num_active_ios.counter); in bnx2fc_flush_active_ios()
352 struct fc_rport_priv *rdata) in bnx2fc_init_tgt() argument
355 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt()
362 tgt->rdata = rdata; in bnx2fc_init_tgt()
392 if (rdata->flags & FC_RP_FLAGS_RETRY && in bnx2fc_init_tgt()
393 rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET && in bnx2fc_init_tgt()
394 !(rdata->ids.roles & FC_RPORT_ROLE_FCP_INITIATOR)) { in bnx2fc_init_tgt()
440 struct fc_rport_priv *rdata, in bnx2fc_rport_event_handler() argument
446 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler()
452 event, rdata->ids.port_id); in bnx2fc_rport_event_handler()
469 rdata->ids.port_id); in bnx2fc_rport_event_handler()
473 if (rdata->spp_type != FC_TYPE_FCP) { in bnx2fc_rport_event_handler()
478 if (!(rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET)) { in bnx2fc_rport_event_handler()
502 bnx2fc_offload_session(port, tgt, rdata); in bnx2fc_rport_event_handler()
528 port_id = rdata->ids.port_id; in bnx2fc_rport_event_handler()
584 struct fc_rport_priv *rdata; in bnx2fc_tgt_lookup() local
590 rdata = tgt->rdata; in bnx2fc_tgt_lookup()
591 if (rdata->ids.port_id == port_id) { in bnx2fc_tgt_lookup()
592 if (rdata->rp_state != RPORT_ST_DELETE) { in bnx2fc_tgt_lookup()
599 rdata->ids.port_id); in bnx2fc_tgt_lookup()