• Home
  • Raw
  • Download

Lines Matching refs:remoteport

115 	struct nvme_fc_remote_port	remoteport;  member
179 return container_of(portptr, struct nvme_fc_rport, remoteport); in remoteport_to_rport()
483 if (!(rport->remoteport.port_role & FC_PORT_ROLE_NVME_DISCOVERY)) in nvme_fc_signal_discovery_scan()
491 rport->remoteport.node_name, rport->remoteport.port_name); in nvme_fc_signal_discovery_scan()
501 localport_to_lport(rport->remoteport.localport); in nvme_fc_free_rport()
504 WARN_ON(rport->remoteport.port_state != FC_OBJSTATE_DELETED); in nvme_fc_free_rport()
513 ida_simple_remove(&lport->endp_cnt, rport->remoteport.port_num); in nvme_fc_free_rport()
574 if (rport->remoteport.node_name != pinfo->node_name || in nvme_fc_attach_to_suspended_rport()
575 rport->remoteport.port_name != pinfo->port_name) in nvme_fc_attach_to_suspended_rport()
588 if (rport->remoteport.port_state != FC_OBJSTATE_DELETED) { in nvme_fc_attach_to_suspended_rport()
595 rport->remoteport.port_role = pinfo->port_role; in nvme_fc_attach_to_suspended_rport()
596 rport->remoteport.port_id = pinfo->port_id; in nvme_fc_attach_to_suspended_rport()
597 rport->remoteport.port_state = FC_OBJSTATE_ONLINE; in nvme_fc_attach_to_suspended_rport()
625 rport->remoteport.dev_loss_tmo = pinfo->dev_loss_tmo; in __nvme_fc_set_dev_loss_tmo()
627 rport->remoteport.dev_loss_tmo = NVME_FC_DEFAULT_DEV_LOSS_TMO; in __nvme_fc_set_dev_loss_tmo()
678 *portptr = &newrec->remoteport; in nvme_fc_register_remoteport()
704 newrec->remoteport.localport = &lport->localport; in nvme_fc_register_remoteport()
707 newrec->remoteport.private = &newrec[1]; in nvme_fc_register_remoteport()
708 newrec->remoteport.port_role = pinfo->port_role; in nvme_fc_register_remoteport()
709 newrec->remoteport.node_name = pinfo->node_name; in nvme_fc_register_remoteport()
710 newrec->remoteport.port_name = pinfo->port_name; in nvme_fc_register_remoteport()
711 newrec->remoteport.port_id = pinfo->port_id; in nvme_fc_register_remoteport()
712 newrec->remoteport.port_state = FC_OBJSTATE_ONLINE; in nvme_fc_register_remoteport()
713 newrec->remoteport.port_num = idx; in nvme_fc_register_remoteport()
722 *portptr = &newrec->remoteport; in nvme_fc_register_remoteport()
749 &rport->remoteport, in nvme_fc_abort_lsops()
879 nvme_fc_rescan_remoteport(struct nvme_fc_remote_port *remoteport) in nvme_fc_rescan_remoteport() argument
881 struct nvme_fc_rport *rport = remoteport_to_rport(remoteport); in nvme_fc_rescan_remoteport()
902 rport->remoteport.dev_loss_tmo = dev_loss_tmo; in nvme_fc_set_remoteport_devloss()
1041 if (rport->remoteport.port_state != FC_OBJSTATE_ONLINE) in __nvme_fc_send_ls_req()
1071 &rport->remoteport, lsreq); in __nvme_fc_send_ls_req()
1517 &ctrl->rport->remoteport, in __nvme_fc_abort_op()
2222 if (ctrl->rport->remoteport.port_state != FC_OBJSTATE_ONLINE) in nvme_fc_start_fcp_op()
2289 &ctrl->rport->remoteport, in nvme_fc_start_fcp_op()
2313 if (ctrl->rport->remoteport.port_state == FC_OBJSTATE_ONLINE && in nvme_fc_start_fcp_op()
2339 if (ctrl->rport->remoteport.port_state != FC_OBJSTATE_ONLINE || in nvme_fc_queue_rq()
2613 if (rport->remoteport.port_state == FC_OBJSTATE_DELETED) in nvme_fc_ctlr_inactive_on_rport()
2614 lport->ops->remoteport_delete(&rport->remoteport); in nvme_fc_ctlr_inactive_on_rport()
2634 if (ctrl->rport->remoteport.port_state != FC_OBJSTATE_ONLINE) in nvme_fc_create_association()
2644 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
2871 struct nvme_fc_remote_port *portptr = &rport->remoteport; in nvme_fc_reconnect_or_delete()
2948 if (ctrl->rport->remoteport.port_state == FC_OBJSTATE_ONLINE) in nvme_fc_reset_ctrl_work()
3056 if (!(rport->remoteport.port_role & in nvme_fc_init_ctrl()
3337 if (rport->remoteport.node_name != raddr.nn || in nvme_fc_create_ctrl()
3338 rport->remoteport.port_name != raddr.pn) in nvme_fc_create_ctrl()