Searched refs:rport (Results 51 - 75 of 92) sorted by relevance

1234

/linux-master/drivers/scsi/libfc/
H A Dfc_lport.c12 * disc and rport blocks.
16 * The lport, disc and rport blocks all have mutexes that are used to protect
29 * lport > disc, lport > rport, disc > rport
34 * from the rport (to either lport or disc) and a callback from disc
37 * As rports exit the rport state machine a callback is made to the owner of
38 * the rport to notify success or failure. Since the callback is likely to
39 * cause the lport or disc to grab its lock we cannot hold the rport lock
40 * while making the callback. To ensure that the rport is not free'd while
41 * processing the callback the rport callback
2143 struct fc_rport *rport; local
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_attr.c2646 if (fcport->rport &&
2647 starget->id == fcport->rport->scsi_target_id) {
2665 if (fcport->rport &&
2666 starget->id == fcport->rport->scsi_target_id) {
2684 if (fcport->rport &&
2685 starget->id == fcport->rport->scsi_target_id) {
2696 qla2x00_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) argument
2698 fc_port_t *fcport = *(fc_port_t **)rport->dd_data;
2700 rport->dev_loss_tmo = timeout ? timeout : 1;
2704 rport
2708 qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport) argument
2756 qla2x00_terminate_rport_io(struct fc_rport *rport) argument
[all...]
H A Dqla_bsg.c272 struct fc_rport *rport; local
285 rport = fc_bsg_to_rport(bsg_job);
286 if (!rport) {
290 fcport = *(fc_port_t **) rport->dd_data;
291 host = rport_to_shost(rport);
331 /* ELS request for rport */
333 /* make sure the rport is logged in,
2726 if (fcport->rport->number == tgt_num)
2727 return fcport->rport;
2742 struct fc_rport *rport local
2990 struct fc_rport *rport; local
[all...]
H A Dqla_os.c878 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); local
885 WARN_ON_ONCE(!rport)) {
917 rval = fc_remote_port_chkready(rport);
1002 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); local
1008 rval = rport ? fc_remote_port_chkready(rport) : (DID_NO_CONNECT << 16);
1453 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local
1469 err = fc_block_rport(rport);
1521 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local
1522 scsi_qla_host_t *vha = shost_priv(rport_to_shost(rport));
1944 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local
[all...]
H A Dqla_dfs.c388 if (!fcport->rport)
392 fcport->rport->number, fcport->tgt_short_link_down_cnt);
/linux-master/drivers/pnp/
H A Dresource.c191 int rport = pnp_reserve_io[i << 1]; local
192 int rend = pnp_reserve_io[(i << 1) + 1] + rport - 1;
193 if (ranged_conflict(port, end, &rport, &rend))
/linux-master/drivers/scsi/fnic/
H A Dfnic_main.c92 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local
94 if (!rport || fc_remote_port_chkready(rport))
123 fnic_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) argument
126 rport->dev_loss_tmo = timeout;
128 rport->dev_loss_tmo = 1;
1046 * logs off the fabric. This flushes all rport, disc, lport work
/linux-master/include/scsi/
H A Dlibfc.h50 * @LPORT_ST_FDMI: Waiting for mgmt server rport to become ready
108 * struct fc_disc_port - temporary discovery port to hold rport identifiers
111 * @rport_work: Work struct for starting the rport state machine
171 * @rport: The FC transport remote port
192 struct fc_rport *rport; member in struct:fc_rport_priv
306 * @rport: The remote port that the SCSI command is targeted at
342 struct fc_rport *rport; member in struct:fc_fcp_pkt
/linux-master/drivers/scsi/qedf/
H A Dqedf_debugfs.c364 rdata->rport->node_name, rdata->rport->port_name,
H A Dqedf_main.c436 * ADISC since the rport is in state ready.
718 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local
722 struct fc_rport_libfc_priv *rp = rport->dd_data;
734 /* rport and tgt are allocated together, so tgt should be non-NULL */
738 QEDF_ERR(&qedf->dbg_ctx, "stale rport, sc_cmd=%p\n", sc_cmd);
767 if (fc_remote_port_chkready(rport)) {
770 "rport not ready, io_req=%p, xid=0x%x sc_cmd=%p op=0x%02x, refcount=%d, port_id=%06x\n",
777 rc = fc_block_rport(rport);
862 struct fc_rport *rport = starget_to_rport(starget); local
865 return qedf_initiate_tmf(rport,
870 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local
1460 struct fc_rport *rport = rdata->rport; local
[all...]
H A Dqedf.h213 struct fc_rport *rport; member in struct:qedf_rport
526 extern int qedf_initiate_tmf(struct fc_rport *rport, u64 lun, u8 tm_flags);
H A Dqedf_io.c938 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local
939 struct fc_rport_libfc_priv *rp = rport->dd_data;
976 rval = fc_remote_port_chkready(rport);
980 rval, rport->port_id);
1000 /* rport and tgt are allocated together, so tgt should be non-NULL */
1638 fcport->rdata->ids.port_id, fcport->rport->scsi_target_id);
1875 QEDF_ERR(&qedf->dbg_ctx, "stale rport\n");
2407 int qedf_initiate_tmf(struct fc_rport *rport, u64 lun, u8 tm_flags) argument
2409 struct fc_rport_libfc_priv *rp = rport->dd_data;
2418 tm_flags, rport
[all...]
/linux-master/drivers/scsi/bfa/
H A Dbfa_svc.c213 static void bfa_rport_free(struct bfa_rport_s *rport);
778 struct bfa_rport_s *rport = reqi->bfa_rport; local
784 if (rport) {
785 send_req->rport_fw_hndl = rport->fw_handle;
786 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz);
967 * @param[in] rport BFA rport pointer. Could be left NULL for WKA rports
985 bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, argument
1000 reqi->bfa_rport = rport;
4342 * Waiting for rport creat
4836 struct bfa_rport_s *rport; local
4851 struct bfa_rport_s *rport; local
4861 bfa_rport_free(struct bfa_rport_s *rport) argument
5055 bfa_rport_online(struct bfa_rport_s *rport, struct bfa_rport_info_s *rport_info) argument
5073 bfa_rport_speed(struct bfa_rport_s *rport, enum bfa_port_speed speed) argument
[all...]
H A Dbfad_attr.c333 * FC transport template entry, set rport loss timeout.
339 bfad_im_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) argument
341 struct bfad_itnim_data_s *itnim_data = rport->dd_data;
346 rport->dev_loss_tmo = timeout;
348 rport->dev_loss_tmo = path_tov + 1;
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c677 struct fc_rport *rport = tgt->rport; local
689 rc = fc_remote_port_chkready(rport);
691 printk(KERN_ERR PFX "els 0x%x: rport not ready\n", op);
756 did = tgt->rport->port_id;
H A Dbnx2fc_hwi.c184 struct fc_rport *rport = tgt->rport; local
259 port_id = rport->port_id;
365 struct fc_rport *rport = tgt->rport; local
402 port_id = rport->port_id;
434 struct fc_rport *rport = tgt->rport; local
465 port_id = rport->port_id;
1202 * handle session enable completion, mark the rport a
[all...]
H A Dbnx2fc.h289 struct fc_rport *rport; member in struct:bnx2fc_rport
557 struct fc_rport_priv *rport,
/linux-master/drivers/s390/scsi/
H A Dzfcp_def.h208 struct fc_rport *rport; /* rport of fc transport class */ member in struct:zfcp_port
/linux-master/include/linux/
H A Dnvme-fc-driver.h499 struct nvme_fc_remote_port *rport,
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_attr.c341 struct lpfc_nvme_rport *rport; local
552 rport = lpfc_ndlp_get_nrport(ndlp);
553 if (rport)
554 nrport = rport->remoteport;
595 /* An NVME rport can have multiple roles. */
3773 struct lpfc_nvme_rport *rport; local
3779 if (ndlp->rport)
3780 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo;
3783 rport = lpfc_ndlp_get_nrport(ndlp);
3784 if (rport)
6924 lpfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) argument
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_scsi.c1791 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local
1795 nr = fc_remote_port_chkready(rport);
2090 /* Lnode is ready, now wait on rport node readiness */
2102 if (fc_remote_port_chkready(rn->rport)) {
2229 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local
2231 if (!rport || fc_remote_port_chkready(rport))
2234 sdev->hostdata = *((struct csio_lnode **)(rport->dd_data));
/linux-master/drivers/scsi/
H A Dstorvsc_drv.c448 struct fc_rport *rport; member in struct:storvsc_device
2083 stor_device->rport = fc_remote_port_add(host, 0, &ids);
2084 if (!stor_device->rport) {
2134 fc_remote_port_delete(stor_device->rport);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c38 fprintf(stderr, "\tcsf lip <local-ip> lid <local-id> rip <remote-ip> rport <remote-port> token <token>\n");
39 fprintf(stderr, "\tdsf lip <local-ip> lport <local-port> rip <remote-ip> rport <remote-port> token <token>\n");
42 fprintf(stderr, "\tset [<ip>] [id <nr>] flags [no]backup|[no]fullmesh [port <nr>] [token <token>] [rip <ip>] [rport <port>]\n");
383 } else if (!strcmp(argv[arg], "rport")) {
498 } else if (!strcmp(argv[arg], "rport")) {
1331 u_int16_t rport = 0; local
1438 } else if (!strcmp(argv[arg], "rport")) {
1442 rport = atoi(argv[arg]);
1493 if (rport) {
1497 memcpy(RTA_DATA(rta), &rport, local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfarch.c2054 __be16 rport, port1, port2; local
2082 rport = is_full ? gen_spec->rem_port : 0;
2087 port2 = rport;
2089 port1 = rport;
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c1985 __be16 rport, port1, port2; local
2013 rport = is_full ? gen_spec->rem_port : 0;
2018 port2 = rport;
2020 port1 = rport;

Completed in 306 milliseconds

1234