Searched refs:lport (Results 26 - 50 of 122) sorted by relevance

12345

/linux-master/drivers/nvme/host/
H A Dfc.c134 struct list_head endp_list; /* for lport->endp_list */
140 struct nvme_fc_lport *lport; member in struct:nvme_fc_rport
157 struct nvme_fc_lport *lport; member in struct:nvme_fc_ctrl
243 struct nvme_fc_lport *lport = local
247 WARN_ON(lport->localport.port_state != FC_OBJSTATE_DELETED);
248 WARN_ON(!list_empty(&lport->endp_list));
252 list_del(&lport->port_list);
255 ida_free(&nvme_fc_local_port_cnt, lport->localport.port_num);
256 ida_destroy(&lport->endp_cnt);
258 put_device(lport
264 nvme_fc_lport_put(struct nvme_fc_lport *lport) argument
270 nvme_fc_lport_get(struct nvme_fc_lport *lport) argument
281 struct nvme_fc_lport *lport; local
458 struct nvme_fc_lport *lport = localport_to_lport(portptr); local
494 nvme_fc_signal_discovery_scan(struct nvme_fc_lport *lport, struct nvme_fc_rport *rport) argument
518 struct nvme_fc_lport *lport = local
582 nvme_fc_attach_to_suspended_rport(struct nvme_fc_lport *lport, struct nvme_fc_port_info *pinfo) argument
669 struct nvme_fc_lport *lport = localport_to_lport(localport); local
1459 struct nvme_fc_lport *lport = rport->lport; local
1482 struct nvme_fc_lport *lport = rport->lport; local
1698 nvme_fc_rcv_ls_req_err_msg(struct nvme_fc_lport *lport, struct fcnvme_ls_rqst_w0 *w0) argument
1731 struct nvme_fc_lport *lport = rport->lport; local
3003 struct nvme_fc_lport *lport = rport->lport; local
3011 struct nvme_fc_lport *lport = rport->lport; local
3039 struct nvme_fc_lport *lport = rport->lport; local
3450 nvme_fc_init_ctrl(struct device *dev, struct nvmf_ctrl_options *opts, struct nvme_fc_lport *lport, struct nvme_fc_rport *rport) argument
3684 struct nvme_fc_lport *lport; local
3750 struct nvme_fc_lport *lport; local
3954 struct nvme_fc_lport *lport; local
[all...]
/linux-master/drivers/scsi/qedf/
H A Dqedf_els.c15 struct fc_lport *lport; local
34 lport = qedf->lport;
44 if (lport->state != LPORT_ST_READY || !(lport->link_up)) {
242 struct fc_lport *lport; local
291 lport = qedf->lport;
293 r_a_tov = lport->r_a_tov;
333 struct fc_lport *lport local
370 struct fc_lport *lport; local
504 struct fc_lport *lport = fcport->qedf->lport; local
547 struct fc_lport *lport; local
628 struct fc_lport *lport; local
842 struct fc_lport *lport; local
1001 struct fc_lport *lport; local
[all...]
/linux-master/drivers/scsi/fnic/
H A Dfnic_fcs.c66 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
72 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_10GBIT;
73 fnic->lport->link_supported_speeds = FC_PORTSPEED_10GBIT;
76 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_20GBIT;
77 fnic->lport->link_supported_speeds = FC_PORTSPEED_20GBIT;
80 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_25GBIT;
81 fnic->lport->link_supported_speeds = FC_PORTSPEED_25GBIT;
85 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_40GBIT;
86 fnic->lport->link_supported_speeds = FC_PORTSPEED_40GBIT;
89 fc_host_speed(fnic->lport
304 struct fc_lport *lport = fip->lp; local
744 fnic_update_mac(struct fc_lport *lport, u8 *new) argument
767 fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
[all...]
H A Dfnic_isr.c225 FNIC_ISR_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
253 FNIC_ISR_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
256 FNIC_ISR_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
268 FNIC_ISR_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
274 FNIC_ISR_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
278 FNIC_ISR_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
290 FNIC_ISR_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
298 FNIC_ISR_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
303 FNIC_ISR_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
308 FNIC_ISR_DBG(KERN_INFO, fnic->lport
[all...]
H A Dfnic_main.c216 FNIC_MAIN_DBG(KERN_DEBUG, fnic->lport->host, fnic->fnic_num,
328 FNIC_MAIN_DBG(KERN_DEBUG, fnic->lport->host, fnic->fnic_num,
347 shost_printk(KERN_ERR, fnic->lport->host,
355 shost_printk(KERN_ERR, fnic->lport->host,
363 shost_printk(KERN_ERR, fnic->lport->host,
399 shost_printk(KERN_ERR, fnic->lport->host,
539 * @lport: local port.
541 static u8 *fnic_get_mac(struct fc_lport *lport) argument
543 struct fnic *fnic = lport_priv(lport);
555 struct Scsi_Host *host = fnic->lport
[all...]
H A Dfnic_scsi.c214 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
218 FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
234 struct fc_lport *lp = fnic->lport;
262 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, fnic->fnic_num,
268 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
345 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
411 FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
419 FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
428 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, fnic->fnic_num,
438 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport
1747 struct fc_lport *lport; local
[all...]
/linux-master/drivers/nvme/target/
H A Dfcloop.c214 struct fcloop_lport *lport; member in struct:fcloop_lport_priv
221 struct fcloop_lport *lport; member in struct:fcloop_rport
231 struct fcloop_lport *lport; member in struct:fcloop_tport
240 struct fcloop_lport *lport; member in struct:fcloop_nport
1018 struct fcloop_lport *lport = lport_priv->lport; local
1021 complete(&lport->unreg_done);
1095 struct fcloop_lport *lport; local
1100 lport = kzalloc(sizeof(*lport), GFP_KERNE
1150 __unlink_local_port(struct fcloop_lport *lport) argument
1156 __wait_localport_unreg(struct fcloop_lport *lport) argument
1177 struct fcloop_lport *tlport, *lport = NULL; local
1210 struct fcloop_lport *tmplport, *lport = NULL; local
1595 struct fcloop_lport *lport = NULL; local
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_nvme.c86 struct lpfc_nvme_lport *lport; local
94 lport = (struct lpfc_nvme_lport *)pnvme_lport->private;
95 vport = lport->vport;
148 struct lpfc_nvme_lport *lport; local
154 lport = (struct lpfc_nvme_lport *)pnvme_lport->private;
155 vport = lport->vport;
159 lport, qidx, handle);
166 struct lpfc_nvme_lport *lport = localport->private; local
168 lpfc_printf_vlog(lport->vport, KERN_INFO, LOG_NVME,
170 lport);
264 struct lpfc_nvme_lport *lport; local
368 struct lpfc_nvme_lport *lport; local
666 struct lpfc_nvme_lport *lport; local
765 struct lpfc_nvme_lport *lport; local
803 struct lpfc_nvme_lport *lport; local
944 struct lpfc_nvme_lport *lport; local
1532 struct lpfc_nvme_lport *lport; local
1860 struct lpfc_nvme_lport *lport; local
2152 struct lpfc_nvme_lport *lport; local
2229 lpfc_nvme_lport_unreg_wait(struct lpfc_vport *vport, struct lpfc_nvme_lport *lport, struct completion *lport_unreg_cmp) argument
2300 struct lpfc_nvme_lport *lport; local
2352 struct lpfc_nvme_lport *lport; local
2389 struct lpfc_nvme_lport *lport; local
2579 struct lpfc_nvme_lport *lport; local
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.h21 #define LOG_HBA 0x04 /* lport events, link, mtu, etc' */
45 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...);
H A Dbnx2fc_els.c65 struct fc_lport *lport = NULL; local
75 lport = tgt->rdata->local_port;
77 r_a_tov = lport->r_a_tov;
187 struct fc_lport *lport = tgt->rdata->local_port; local
188 u32 r_a_tov = lport->r_a_tov;
215 struct fc_lport *lport = tgt->rdata->local_port; local
216 u32 r_a_tov = lport->r_a_tov;
243 struct fc_lport *lport = tgt->rdata->local_port; local
244 u32 r_a_tov = lport->r_a_tov;
586 struct fc_lport *lport local
628 struct fc_lport *lport = tgt->rdata->local_port; local
678 struct fc_lport *lport = port->lport; local
865 struct fc_lport *lport = exch->lp; local
917 struct fc_lport *lport = exch->lp; local
925 bnx2fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timeout) argument
[all...]
/linux-master/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h25 __field(u16, lport)
29 __entry->lport = cm_info->loc_port;
37 __entry->lport, __entry->ipv4)
47 __field(u16, lport)
52 __entry->lport = listener->loc_port;
61 __entry->lport, __entry->ipv4)
69 __field(u16, lport)
77 __entry->lport = listener->loc_port;
88 __entry->lport, __entry->ipv4)
150 __field(u16, lport)
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.h85 * @lport: The local port to get the net device from
87 static inline struct net_device *fcoe_netdev(const struct fc_lport *lport) argument
90 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev;
H A Dfcoe_ctlr.c518 * @lport: libfc fc_lport to send from
530 struct fc_lport *lport,
576 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN);
577 hton24(vn->fd_fc_id, lport->port_id);
578 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn);
591 * @lport: The local port
604 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, argument
625 if (lport->point_to_multipoint) {
660 memcpy(mac->fd_mac, fip->get_src_addr(lport), ETH_ALEN);
684 * @lport
529 fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, struct fc_lport *lport, int ports, u8 *sa) argument
697 fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, struct sk_buff *skb) argument
1136 struct fc_lport *lport = fip->lp; local
1317 struct fc_lport *lport = fip->lp; local
1897 fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, struct fc_frame *fp) argument
2118 fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, struct fc_rport_priv *rdata, enum fc_rport_event event) argument
2160 fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) argument
2182 fcoe_ctlr_disc_stop(struct fc_lport *lport) argument
2198 fcoe_ctlr_disc_stop_final(struct fc_lport *lport) argument
2486 struct fc_lport *lport = fip->lp; local
2544 struct fc_lport *lport = fip->lp; local
2640 struct fc_lport *lport = fip->lp; local
2693 struct fc_lport *lport = fip->lp; local
3001 fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp) argument
3022 fcoe_ctlr_disc_start(void (*callback)(struct fc_lport *, enum fc_disc_event), struct fc_lport *lport) argument
3047 struct fc_lport *lport = fip->lp; local
3160 fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, enum fip_mode fip_mode) argument
3198 fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, const struct libfc_function_template *tt, int init_fcp) argument
3237 struct fc_lport *lport = ctlr->lp; local
[all...]
H A Dfcoe_transport.c112 * @lport: The local port to update speeds for
117 int fcoe_link_speed_update(struct fc_lport *lport) argument
119 struct net_device *netdev = fcoe_get_netdev(lport);
123 lport->link_supported_speeds &= ~(FC_PORTSPEED_1GBIT |
132 lport->link_supported_speeds |= FC_PORTSPEED_1GBIT;
139 lport->link_supported_speeds |= FC_PORTSPEED_10GBIT;
144 lport->link_supported_speeds |= FC_PORTSPEED_20GBIT;
151 lport->link_supported_speeds |= FC_PORTSPEED_40GBIT;
153 lport->link_speed = eth2fc_speed(ecmd.base.speed);
161 * __fcoe_get_lesb() - Get the Link Error Status Block (LESB) for a given lport
169 __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, struct net_device *netdev) argument
203 fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb) argument
368 fcoe_clean_pending_queue(struct fc_lport *lport) argument
397 fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb) argument
[all...]
/linux-master/include/net/netfilter/
H A Dnf_tproxy.h41 * @lport: TCP port to redirect to or zero.
56 __be32 laddr, __be16 lport, struct sock *sk);
100 * @lport: TCP port to redirect to or zero.
117 const __be16 lport,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsockmap_verdict_prog.c39 __u32 lport = skb->local_port; local
44 __sink(lport);
H A Dtest_sockmap_kern.h110 __u32 lport = skb->local_port; local
116 if (lport == 10000)
193 __u32 lport, rport; local
200 lport = skops->local_port;
203 if (lport == 10000) {
215 lport = skops->local_port;
/linux-master/include/scsi/
H A Dlibfcoe.h260 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
338 * @lport: The associated local port
353 struct fc_lport *lport; member in struct:fcoe_port
361 struct net_device * (*get_netdev)(const struct fc_lport *lport);
366 * @lport: The local port to get the net device from
368 static inline struct net_device *fcoe_get_netdev(const struct fc_lport *lport) argument
370 struct fcoe_port *port = ((struct fcoe_port *)lport_priv(lport));
372 return (port->get_netdev) ? port->get_netdev(lport) : NULL;
376 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb);
/linux-master/drivers/scsi/libfc/
H A Dfc_npiv.c43 * fc_vport_id_lookup() - find NPIV lport that matches a given fabric ID
47 * Returns: matching lport pointer or NULL if there is no match
51 struct fc_lport *lport = NULL; local
63 lport = vn_port;
69 return lport;
74 * When setting the link state of vports during an lport state change, it's
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_hdr_options.c185 int lport; local
187 lport = sk_fds->passive_lport;
188 if (!bpf_map_lookup_elem(lport_linum_map_fd, &lport, &linum_err)) {
190 "bpf prog error out at lport:passive(%d), linum:%u err:%d\n",
191 lport, linum_err.linum, linum_err.err);
195 lport = sk_fds->active_lport;
196 if (!bpf_map_lookup_elem(lport_linum_map_fd, &lport, &linum_err)) {
198 "bpf prog error out at lport:active(%d), linum:%u err:%d\n",
199 lport, linum_err.linum, linum_err.err);
260 int lport, er local
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.h41 /* FC lport target portal group tag for TCM */
46 struct tcm_qla2xxx_lport *lport; member in struct:tcm_qla2xxx_tpg
/linux-master/tools/testing/selftests/net/mptcp/
H A Ddiag.sh151 lport=$1
154 __chk_listen "dport $lport" 0 "listen match for dport $lport"
157 __chk_listen "sport $lport" 1 "listen match for sport $lport"
159 __chk_listen "src inet:0.0.0.0:$lport" 1 "listen match for saddr and sport"
/linux-master/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c20 __be32 laddr, __be16 lport, struct sock *sk)
38 hp->source, lport ? lport : hp->dest,
19 nf_tproxy_handle_time_wait4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, struct sock *sk) argument
/linux-master/net/ipv6/netfilter/
H A Dnf_tproxy_ipv6.c42 const __be16 lport,
63 lport ? lport : hp->dest,
39 nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff, struct net *net, const struct in6_addr *laddr, const __be16 lport, struct sock *sk) argument
/linux-master/net/bridge/
H A Dbr_forward.c305 struct net_bridge_port *port, *lport, *rport; local
307 lport = p ? p->key.port : NULL;
310 if ((unsigned long)lport > (unsigned long)rport) {
311 port = lport;
314 maybe_deliver_addr(lport, skb, p->eth_addr,
330 if ((unsigned long)lport >= (unsigned long)port)

Completed in 192 milliseconds

12345