Home
last modified time | relevance | path

Searched refs:lport (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/libfc/
Dfc_lport.c135 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() argument
150 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback() argument
160 mutex_lock(&lport->lp_mutex); in fc_lport_rport_callback()
161 if (lport->state == LPORT_ST_DNS) { in fc_lport_rport_callback()
162 lport->dns_rp = rport; in fc_lport_rport_callback()
163 fc_lport_enter_rpn_id(lport); in fc_lport_rport_callback()
170 lport->state); in fc_lport_rport_callback()
171 lport->tt.rport_logoff(rport); in fc_lport_rport_callback()
173 mutex_unlock(&lport->lp_mutex); in fc_lport_rport_callback()
183 mutex_lock(&lport->lp_mutex); in fc_lport_rport_callback()
[all …]
Dfc_disc.c71 struct fc_rport *fc_disc_lookup_rport(const struct fc_lport *lport, in fc_disc_lookup_rport() argument
74 const struct fc_disc *disc = &lport->disc; in fc_disc_lookup_rport()
103 struct fc_lport *lport; in fc_disc_stop_rports() local
107 lport = disc->lport; in fc_disc_stop_rports()
113 lport->tt.rport_logoff(rport); in fc_disc_stop_rports()
128 static void fc_disc_rport_callback(struct fc_lport *lport, in fc_disc_rport_callback() argument
133 struct fc_disc *disc = &lport->disc; in fc_disc_rport_callback()
165 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
178 lport = disc->lport; in fc_disc_recv_rscn_req()
181 fc_host_port_id(lport->host)); in fc_disc_recv_rscn_req()
[all …]
Dfc_rport.c223 struct fc_lport *lport = rdata->local_port; in fc_rport_work() local
243 new_rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work()
274 rport_ops->event_callback(lport, rport, event); in fc_rport_work()
281 rport_ops->event_callback(lport, rport, event); in fc_rport_work()
287 lport->tt.exch_mgr_reset(lport, 0, port_id); in fc_rport_work()
288 lport->tt.exch_mgr_reset(lport, port_id, 0); in fc_rport_work()
496 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp() local
536 fc_plogi_get_maxframe(plp, lport->mfs); in fc_rport_plogi_resp()
566 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_plogi() local
575 fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi)); in fc_rport_enter_plogi()
[all …]
Dfc_elsct.c34 static struct fc_seq *fc_elsct_send(struct fc_lport *lport, in fc_elsct_send() argument
50 rc = fc_els_fill(lport, rport, fp, op, &r_ctl, &did, &fh_type); in fc_elsct_send()
53 rc = fc_ct_fill(lport, fp, op, &r_ctl, &did, &fh_type); in fc_elsct_send()
58 fc_fill_fc_hdr(fp, r_ctl, did, fc_host_port_id(lport->host), fh_type, in fc_elsct_send()
61 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); in fc_elsct_send()
64 int fc_elsct_init(struct fc_lport *lport) in fc_elsct_init() argument
66 if (!lport->tt.elsct_send) in fc_elsct_init()
67 lport->tt.elsct_send = fc_elsct_send; in fc_elsct_init()
/drivers/infiniband/hw/amso1100/
Dc2_ae.c211 cm_event.local_addr.sin_port = res->lport; in c2_ae_event()
286 cm_event.local_addr.sin_port = req->lport; in c2_ae_event()
Dc2_wr.h1129 __be16 lport; member
1147 __be16 lport; member
/drivers/scsi/fcoe/
Dlibfcoe.c1199 struct fc_lport *lport = shost_priv(shost); in fcoe_reset() local
1200 fc_lport_reset(lport); in fcoe_reset()