Lines Matching refs:remoteport

218 	struct nvme_fc_remote_port	*remoteport;  member
229 struct nvme_fc_remote_port *remoteport; member
348 struct nvme_fc_remote_port *remoteport, in fcloop_h2t_ls_req() argument
352 struct fcloop_rport *rport = remoteport->private; in fcloop_h2t_ls_req()
382 struct nvme_fc_remote_port *remoteport = tport->remoteport; in fcloop_h2t_xmt_ls_rsp() local
391 if (remoteport) { in fcloop_h2t_xmt_ls_rsp()
392 rport = remoteport->private; in fcloop_h2t_xmt_ls_rsp()
446 if (!tport->remoteport) { in fcloop_t2h_ls_req()
456 ret = nvme_fc_rcv_ls_req(tport->remoteport, &tls_req->ls_rsp, in fcloop_t2h_ls_req()
464 struct nvme_fc_remote_port *remoteport, in fcloop_t2h_xmt_ls_rsp() argument
469 struct fcloop_rport *rport = remoteport->private; in fcloop_t2h_xmt_ls_rsp()
506 if (tport->remoteport) in fcloop_tgt_rscn_work()
507 nvme_fc_rescan_remoteport(tport->remoteport); in fcloop_tgt_rscn_work()
714 struct nvme_fc_remote_port *remoteport, in fcloop_fcp_req() argument
718 struct fcloop_rport *rport = remoteport->private; in fcloop_fcp_req()
929 struct nvme_fc_remote_port *remoteport, in fcloop_h2t_ls_abort() argument
942 struct nvme_fc_remote_port *remoteport, in fcloop_fcp_abort() argument
1026 fcloop_remoteport_delete(struct nvme_fc_remote_port *remoteport) in fcloop_remoteport_delete() argument
1028 struct fcloop_rport *rport = remoteport->private; in fcloop_remoteport_delete()
1207 fcloop_alloc_nport(const char *buf, size_t count, bool remoteport) in fcloop_alloc_nport() argument
1213 u32 opts_mask = (remoteport) ? RPORT_OPTS : TGTPORT_OPTS; in fcloop_alloc_nport()
1255 if (remoteport) { in fcloop_alloc_nport()
1264 if ((remoteport && nport->rport) || in fcloop_alloc_nport()
1265 (!remoteport && nport->tport)) { in fcloop_alloc_nport()
1274 if (remoteport) in fcloop_alloc_nport()
1304 struct nvme_fc_remote_port *remoteport; in fcloop_create_remote_port() local
1321 &pinfo, &remoteport); in fcloop_create_remote_port()
1322 if (ret || !remoteport) { in fcloop_create_remote_port()
1328 rport = remoteport->private; in fcloop_create_remote_port()
1329 rport->remoteport = remoteport; in fcloop_create_remote_port()
1332 nport->tport->remoteport = remoteport; in fcloop_create_remote_port()
1352 nport->tport->remoteport = NULL; in __unlink_remote_port()
1364 return nvme_fc_unregister_remoteport(rport->remoteport); in __remoteport_unreg()
1430 tport->remoteport = (nport->rport) ? nport->rport->remoteport : NULL; in fcloop_create_target_port()