/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 84 struct fc_rport *rport = rdata->rport; local 95 "port_id (%6x)\n", rport->port_id); 109 * rport to list of rports 155 /* couldn't offload the session. log off from this rport */ 355 struct fc_rport *rport = rdata->rport; local 361 tgt->rport = rport; 446 struct fc_rport *rport local [all...] |
H A D | bnx2fc_io.c | 659 static int bnx2fc_initiate_tmf(struct fc_lport *lport, struct fc_rport *rport, argument 681 if (rport == NULL) { 682 printk(KERN_ERR PFX "device_reset: rport is NULL\n"); 686 rp = rport->dd_data; 688 rc = fc_block_rport(rport); 697 /* rport and tgt are allocated together, so tgt should be non-NULL */ 747 did = rport->port_id; 819 struct fc_rport *rport = tgt->rport; local 847 if (rport 1061 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 1077 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 1128 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 1843 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local [all...] |
/linux-master/drivers/scsi/libfc/ |
H A D | fc_rport.c | 12 * rport state machine and does all rport interaction with the transport class. 22 * The rport should never hold the rport mutex and then attempt to acquire 23 * either the lport or disc mutexes. The rport's mutex is considered lesser 28 * the rport's states and is held and released by the entry points to the rport 29 * block. All _enter_* functions correspond to rport states and expect the rport 38 * A rport referenc 203 fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) argument 268 struct fc_rport *rport; local 2284 fc_rport_terminate_io(struct fc_rport *rport) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 201 * @rport: Remote port (network byte order) 206 __be32 rhost, __be16 rport) 217 spec->rem_port = rport; 204 ef4_filter_set_ipv4_full(struct ef4_filter_spec *spec, u8 proto, __be32 lhost, __be16 lport, __be32 rhost, __be16 rport) argument
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 227 * @rport: Remote port (network byte order) 232 __be32 rhost, __be16 rport) 243 spec->rem_port = rport; 230 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, __be32 lhost, __be16 lport, __be32 rhost, __be16 rport) argument
|
/linux-master/net/ipv4/netfilter/ |
H A D | nf_socket_ipv4.c | 22 __be16 *rport, __be16 *lport) 60 *rport = ports[1]; 20 extract_icmp4_fields(const struct sk_buff *skb, u8 *protocol, __be32 *raddr, __be32 *laddr, __be16 *rport, __be16 *lport) argument
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_socket_ipv6.c | 26 __be16 *rport, 72 *rport = ports[1]; 21 extract_icmp6_fields(const struct sk_buff *skb, unsigned int outside_hdrlen, int *protocol, const struct in6_addr **raddr, const struct in6_addr **laddr, __be16 *rport, __be16 *lport, struct ipv6hdr *ipv6_var) argument
|
/linux-master/include/scsi/ |
H A D | scsi_transport_fc.h | 577 /* work queues for rport state manipulation */ 735 * add/delete functions (so attributes reflect rport values). 776 * @rport: remote port to be checked 779 fc_remote_port_chkready(struct fc_rport *rport) argument 783 switch (rport->port_state) { 786 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) 788 else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) 794 if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) 842 void fc_remote_port_delete(struct fc_rport *rport); 843 void fc_remote_port_rolechg(struct fc_rport *rport, u3 [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | filter.h | 248 * @rport: Remote port (network byte order) 253 __be32 rhost, __be16 rport) 264 spec->rem_port = rport; 251 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, __be32 lhost, __be16 lport, __be32 rhost, __be16 rport) argument
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_rnode.h | 112 struct fc_rport *rport; /* FC transport rport */ member in struct:csio_rnode
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 38 struct qla_nvme_rport *rport; local 104 rport = fcport->nvme_remote_port->private; 105 rport->fcport = fcport; 361 struct nvme_fc_remote_port *rport, 366 struct qla_nvme_rport *qla_rport = rport->private; 447 struct nvme_fc_remote_port *rport, struct nvmefc_ls_req *fd) 469 struct nvme_fc_remote_port *rport, struct nvmefc_ls_req *fd) 471 struct qla_nvme_rport *qla_rport = rport->private; 529 struct nvme_fc_remote_port *rport, void *hw_queue_handle, 761 struct nvme_fc_remote_port *rport, voi 360 qla_nvme_xmt_ls_rsp(struct nvme_fc_local_port *lport, struct nvme_fc_remote_port *rport, struct nvmefc_ls_rsp *fd_resp) argument 446 qla_nvme_ls_abort(struct nvme_fc_local_port *lport, struct nvme_fc_remote_port *rport, struct nvmefc_ls_req *fd) argument 468 qla_nvme_ls_req(struct nvme_fc_local_port *lport, struct nvme_fc_remote_port *rport, struct nvmefc_ls_req *fd) argument 528 qla_nvme_fcp_abort(struct nvme_fc_local_port *lport, struct nvme_fc_remote_port *rport, void *hw_queue_handle, struct nvmefc_fcp_req *fd) argument 760 qla_nvme_post_cmd(struct nvme_fc_local_port *lport, struct nvme_fc_remote_port *rport, void *hw_queue_handle, struct nvmefc_fcp_req *fd) argument 854 qla_nvme_remoteport_delete(struct nvme_fc_remote_port *rport) argument 1227 struct nvme_fc_remote_port *rport; local [all...] |
/linux-master/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1342 * ibmvfc_set_rport_dev_loss_tmo - Set rport's device loss timeout 1343 * @rport: rport struct 1349 static void ibmvfc_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) argument 1352 rport->dev_loss_tmo = timeout; 1354 rport->dev_loss_tmo = 1; 1826 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 1832 if (rport == tgt->rport) { 1926 struct fc_rport *rport local 1962 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 2184 struct fc_rport *rport = fc_bsg_to_rport(job); local 2339 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 2415 ibmvfc_match_rport(struct ibmvfc_event *evt, void *rport) argument 2559 struct fc_rport *rport = starget_to_rport(starget); local 2810 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 3010 struct fc_rport *rport = starget_to_rport(starget); local 3075 ibmvfc_terminate_rport_io(struct fc_rport *rport) argument 3404 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 5503 struct fc_rport *rport; local 5560 struct fc_rport *rport; local 6264 struct fc_rport *rport; local [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 191 struct lpfc_nvme_rport *rport = remoteport->private; local 196 ndlp = rport->ndlp; 198 pr_err("**** %s: NULL ndlp on rport x%px remoteport x%px\n", 199 __func__, rport, remoteport); 205 pr_err("**** %s: Null vport on ndlp x%px, ste x%x rport x%px\n", 206 __func__, ndlp, ndlp->nlp_state, rport); 212 /* Remove this rport from the lport's list - memory is owned by the 231 * NVME and SCSI rport unregister requests are complete. 667 struct lpfc_nvme_rport *rport; local 672 rport 1538 struct lpfc_nvme_rport *rport; local 2390 struct lpfc_nvme_rport *rport; local 2580 struct lpfc_nvme_rport *rport; local [all...] |
H A D | lpfc_hbadisc.c | 86 /* The source of a terminate rport I/O is either a dev_loss_tmo 87 * event or a call to fc_remove_host. While the rport should be 93 lpfc_rport_invalid(struct fc_rport *rport) argument 98 if (!rport) { 99 pr_err("**** %s: NULL rport, exit.\n", __func__); 103 rdata = rport->dd_data; 105 pr_err("**** %s: NULL dd_data on rport x%px SID x%x\n", 106 __func__, rport, rport->scsi_target_id); 112 pr_info("**** %s: NULL ndlp on rport 127 lpfc_terminate_rport_io(struct fc_rport *rport) argument 151 lpfc_dev_loss_tmo_callbk(struct fc_rport *rport) argument 4471 struct fc_rport *rport; local 4549 struct fc_rport *rport = ndlp->rport; local [all...] |
H A D | lpfc_disc.h | 141 struct fc_rport *rport; /* scsi_transport_fc port structure */ member in struct:lpfc_nodelist 142 struct lpfc_nvme_rport *nrport; /* nvme transport rport struct. */
|
H A D | lpfc_scsi.c | 214 struct fc_rport *rport; local 222 rport = starget_to_rport(scsi_target(sdev)); 223 fc_remote_port_delete(rport); 5215 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 5224 if (unlikely(!rdata) || unlikely(!rport)) 5227 err = fc_remote_port_chkready(rport); 5496 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 5508 status = fc_block_rport(rport); 5747 * @rport: Pointer to remote port 5760 lpfc_send_taskmgmt(struct lpfc_vport *vport, struct fc_rport *rport, argument 5862 lpfc_chk_tgt_mapped(struct lpfc_vport *vport, struct fc_rport *rport) argument 5958 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 6036 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 6218 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local [all...] |
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 993 struct fc_rport *rport = fc_bsg_to_rport(job); local 999 shost = rport ? rport_to_shost(rport) : fc_bsg_to_shost(job); 1033 struct fc_rport *rport = fc_bsg_to_rport(job); local 1038 if (rport) { 1039 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); 1081 struct fc_rport *rport = fc_bsg_to_rport(job); local 1083 shost = rport ? rport_to_shost(rport) : fc_bsg_to_shost(job);
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_im.c | 928 struct fc_rport *rport) 931 (struct bfad_itnim_data_s *) rport->dd_data; 933 struct bfa_rport_s *bfa_rport = itnim_data->itnim->bfa_itnim->rport; 955 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 959 if (!rport || fc_remote_port_chkready(rport)) 962 itnim_data = (struct bfad_itnim_data_s *) rport->dd_data; 980 if (bfad_im_check_if_make_lun_visible(sdev, rport) != 985 sdev->hostdata = rport->dd_data; 1214 struct fc_rport *rport local 927 bfad_im_check_if_make_lun_visible(struct scsi_device *sdev, struct fc_rport *rport) argument [all...] |
H A D | bfa_fcpim.c | 381 if (itnim->rport->rport_info.lp_tag != lp_tag) 459 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 480 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 511 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 546 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 584 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 611 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 653 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 685 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 722 bfa_trc(itnim->bfa, itnim->rport 1349 bfa_itnim_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void *ditn) argument 3708 bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void (*isr)(struct bfa_s *bfa, struct bfi_msg_s *m)) argument [all...] |
H A D | bfa_svc.h | 130 /* Pointer to the bfa rport that was 134 * rport nexus is established 244 * Convert rport tag to RPORT 257 * BFA rport information. 275 BFA_RPORT_SM_CREATE = 1, /* rport create event */ 276 BFA_RPORT_SM_DELETE = 2, /* deleting an existing rport */ 277 BFA_RPORT_SM_ONLINE = 3, /* rport is online */ 278 BFA_RPORT_SM_OFFLINE = 4, /* rport is offline */ 290 * BFA rport data structure 296 void *rport_drv; /* fcs/driver rport objec [all...] |
H A D | bfa_fcpim.h | 34 void bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport, 278 struct bfa_rport_s *rport; /* bfa rport */ member in struct:bfa_itnim_s 281 u8 msg_no; /* itnim/rport firmware handle */ 385 struct bfa_rport_s *rport, void *itnim);
|
/linux-master/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 1045 srp_rport_get(target->rport); 1048 srp_stop_rport_timers(target->rport); 1056 srp_rport_put(target->rport); 1077 static void srp_rport_delete(struct srp_rport *rport) argument 1079 struct srp_target_port *target = rport->lld_data; 1293 static void srp_terminate_io(struct srp_rport *rport) argument 1295 struct srp_target_port *target = rport->lld_data; 1328 * serializes calls of this function via rport->mutex and also blocks 1331 static int srp_rport_reconnect(struct srp_rport *rport) argument 1333 struct srp_target_port *target = rport 2718 struct srp_rport *rport = target->rport; local 3111 struct srp_rport *rport; local [all...] |
H A D | ib_srp.h | 224 struct srp_rport *rport; member in struct:srp_target_port
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_scsi.c | 297 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); local 298 struct fc_rport_libfc_priv *rp = rport->dd_data; 374 rport->maxframe_size, rp->r_a_tov, 392 struct fc_rport *rport; local 425 rport = starget_to_rport(scsi_target(sc->device)); 426 if (!rport) { 429 "returning DID_NO_CONNECT for IO as rport is NULL\n"); 435 ret = fc_remote_port_chkready(rport); 439 "rport is not ready\n"); 446 rp = rport 1744 fnic_terminate_rport_io(struct fc_rport *rport) argument 1789 struct fc_rport *rport; local 2280 struct fc_rport *rport; local [all...] |
/linux-master/arch/um/drivers/ |
H A D | umcast_user.c | 45 pri->remote_addr = new_addr(pri->addr, pri->rport);
|