Searched refs:lport (Results 1 - 25 of 122) sorted by relevance

12345

/linux-master/drivers/scsi/libfc/
H A Dfc_lport.c11 * These comments only apply to the 'port code' which consists of the lport,
16 * The lport, disc and rport blocks all have mutexes that are used to protect
18 * having an lport reset just before we send a frame. In that scenario the
19 * lport's FID would get set to zero and then we'd send a frame with an
29 * lport > disc, lport > rport, disc > rport
34 * from the rport (to either lport or disc) and a callback from disc
35 * (to the lport).
39 * cause the lport or disc to grab its lock we cannot hold the rport lock
46 * When discovery succeeds or fails a callback is made to the lport a
144 struct fc_lport *lport; member in struct:fc_bsg_info
156 fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) argument
171 fc_lport_rport_callback(struct fc_lport *lport, struct fc_rport_priv *rdata, enum fc_rport_event event) argument
215 fc_lport_state(struct fc_lport *lport) argument
232 fc_lport_ptp_setup(struct fc_lport *lport, u32 remote_fid, u64 remote_wwpn, u64 remote_wwnn) argument
266 struct fc_lport *lport = shost_priv(shost); local
289 struct fc_lport *lport = shost_priv(shost); local
302 struct fc_lport *lport = shost_priv(shost); local
355 fc_lport_flogi_fill(struct fc_lport *lport, struct fc_els_flogi *flogi, unsigned int op) argument
390 fc_lport_add_fc4_type(struct fc_lport *lport, enum fc_fh_type type) argument
403 fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) argument
419 fc_lport_recv_echo_req(struct fc_lport *lport, struct fc_frame *in_fp) argument
454 fc_lport_recv_rnid_req(struct fc_lport *lport, struct fc_frame *in_fp) argument
512 fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument
528 fc_fabric_login(struct fc_lport *lport) argument
549 __fc_linkup(struct fc_lport *lport) argument
565 fc_linkup(struct fc_lport *lport) argument
580 __fc_linkdown(struct fc_lport *lport) argument
595 fc_linkdown(struct fc_lport *lport) argument
613 fc_fabric_logoff(struct fc_lport *lport) argument
639 fc_lport_destroy(struct fc_lport *lport) argument
661 fc_set_mfs(struct fc_lport *lport, u32 mfs) argument
693 fc_lport_disc_callback(struct fc_lport *lport, enum fc_disc_event event) argument
718 fc_lport_enter_ready(struct fc_lport *lport) argument
740 fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
767 fc_lport_set_local_id(struct fc_lport *lport, u32 port_id) argument
795 fc_lport_recv_flogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument
876 fc_lport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument
945 fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp) argument
985 fc_lport_reset(struct fc_lport *lport) argument
999 fc_lport_reset_locked(struct fc_lport *lport) argument
1027 fc_lport_enter_reset(struct fc_lport *lport) argument
1056 fc_lport_enter_disabled(struct fc_lport *lport) argument
1077 fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) argument
1118 struct fc_lport *lport = lp_arg; local
1194 struct fc_lport *lport = lp_arg; local
1278 struct fc_lport *lport = lp_arg; local
1317 fc_lport_enter_scr(struct fc_lport *lport) argument
1345 fc_lport_enter_ns(struct fc_lport *lport, enum fc_lport_state state) argument
1414 fc_lport_enter_dns(struct fc_lport *lport) argument
1444 fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state) argument
1560 fc_lport_enter_fdmi(struct fc_lport *lport) argument
1591 struct fc_lport *lport = local
1659 struct fc_lport *lport = lp_arg; local
1699 fc_lport_enter_logo(struct fc_lport *lport) argument
1737 struct fc_lport *lport = lp_arg; local
1841 fc_lport_enter_flogi(struct fc_lport *lport) argument
1874 fc_lport_config(struct fc_lport *lport) argument
1893 fc_lport_init(struct fc_lport *lport) argument
1960 struct fc_lport *lport = info->lport; local
2019 fc_lport_els_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument
2079 fc_lport_ct_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument
2142 struct fc_lport *lport = shost_priv(shost); local
[all...]
H A Dfc_elsct.c23 * @lport: The local port to send the frame on
31 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, argument
44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type);
47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did);
55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type,
58 return fc_exch_seq_send(lport, fp, resp, NULL, arg, timer_msec);
64 * @lport: The local port to initialize the ELS/CT layer for
66 int fc_elsct_init(struct fc_lport *lport) argument
68 if (!lport->tt.elsct_send)
69 lport
[all...]
H A Dfc_encode.h45 * @lport: local port.
48 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) argument
55 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn);
56 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn);
57 hton24(adisc->adisc_port_id, lport->port_id);
84 * @lport: local port.
91 static inline int fc_ct_ns_fill(struct fc_lport *lport, argument
116 hton24(ct->payload.rft.fid.fp_fid, lport->port_id);
117 ct->payload.rft.fts = lport->fcts;
123 hton24(ct->payload.rff.fr_fid.fp_fid, lport
187 fc_ct_ms_fill(struct fc_lport *lport, u32 fc_id, struct fc_frame *fp, unsigned int op, enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) argument
723 fc_ct_fill(struct fc_lport *lport, u32 fc_id, struct fc_frame *fp, unsigned int op, enum fc_rctl *r_ctl, enum fc_fh_type *fh_type, u32 *did) argument
747 fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, unsigned int op) argument
780 fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) argument
805 fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) argument
828 fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) argument
842 fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp) argument
854 fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp) argument
870 fc_prli_fill(struct fc_lport *lport, struct fc_frame *fp) argument
890 fc_scr_fill(struct fc_lport *lport, struct fc_frame *fp) argument
903 fc_els_fill(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) argument
[all...]
H A Dfc_disc.c19 * be held when acquiring the lport lock. Refer to fc_lport.c for more
48 * fc_disc_stop_rports() - Delete all the remote ports associated with the lport
72 struct fc_lport *lport; local
84 lport = fc_disc_lport(disc);
124 dp->lp = lport;
148 redisc = fc_disc_single(lport, dp);
157 redisc, lport->state, disc->pending);
171 * @lport: The local port receiving the request
178 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument
181 struct fc_disc *disc = &lport
230 fc_disc_start(void (*disc_callback)(struct fc_lport *, enum fc_disc_event), struct fc_lport *lport) argument
254 struct fc_lport *lport = fc_disc_lport(disc); local
298 struct fc_lport *lport = fc_disc_lport(disc); local
342 struct fc_lport *lport = fc_disc_lport(disc); local
378 struct fc_lport *lport; local
570 struct fc_lport *lport; local
643 fc_disc_gpn_id_req(struct fc_lport *lport, struct fc_rport_priv *rdata) argument
666 fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) argument
683 fc_disc_stop(struct fc_lport *lport) argument
701 fc_disc_stop_final(struct fc_lport *lport) argument
712 fc_disc_config(struct fc_lport *lport, void *priv) argument
738 fc_disc_init(struct fc_lport *lport) argument
[all...]
H A Dfc_rport.c23 * either the lport or disc mutexes. The rport's mutex is considered lesser
24 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for
27 * The locking strategy is similar to the lport's strategy. The lock protects
98 * @lport: The local port to lookup the remote port on
104 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, argument
110 list_for_each_entry_rcu(tmp_rdata, &lport->disc.rports, peers)
123 * @lport: The local port this remote port will be associated with
128 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) argument
133 lockdep_assert_held(&lport->disc.disc_mutex);
135 rdata = fc_rport_lookup(lport, port_i
265 struct fc_lport *lport = rdata->local_port; local
505 struct fc_lport *lport = rdata->local_port; local
615 struct fc_lport *lport = rdata->local_port; local
701 struct fc_lport *lport = rdata->local_port; local
742 struct fc_lport *lport = rdata->local_port; local
822 struct fc_lport *lport = rdata->local_port; local
855 fc_rport_recv_flogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument
986 struct fc_lport *lport = rdata->local_port; local
1050 fc_rport_compatible_roles(struct fc_lport *lport, struct fc_rport_priv *rdata) argument
1071 struct fc_lport *lport = rdata->local_port; local
1247 struct fc_lport *lport = rdata->local_port; local
1387 struct fc_lport *lport = rdata->local_port; local
1419 struct fc_lport *lport = rdata->local_port; local
1457 struct fc_lport *lport = rdata->local_port; local
1474 struct fc_lport *lport = rdata->local_port; local
1561 struct fc_lport *lport = rdata->local_port; local
1593 struct fc_lport *lport = rdata->local_port; local
1632 struct fc_lport *lport = rdata->local_port; local
1697 fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument
1794 fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument
1842 fc_rport_recv_plogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument
1968 struct fc_lport *lport = rdata->local_port; local
2084 struct fc_lport *lport = rdata->local_port; local
2153 fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument
2202 struct fc_lport *lport = rdata->local_port; local
2287 struct fc_lport *lport = rpriv->local_port; local
[all...]
H A Dfc_fcp.c125 * @lport: The local port that the FCP packet is for
131 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) argument
133 struct fc_fcp_internal *si = fc_get_scsi_internal(lport);
139 fsp->lp = lport;
146 this_cpu_inc(lport->stats->FcpPktAllocFails);
318 struct fc_lport *lport; local
320 lport = fsp->lp;
322 (lport->lro_enabled) && (lport->tt.ddp_setup)) {
323 if (lport
336 struct fc_lport *lport; local
355 fc_fcp_can_queue_ramp_up(struct fc_lport *lport) argument
397 fc_fcp_can_queue_ramp_down(struct fc_lport *lport) argument
433 fc_fcp_frame_alloc(struct fc_lport *lport, size_t len) argument
475 struct fc_lport *lport = fsp->lp; local
596 struct fc_lport *lport = fsp->lp; local
776 struct fc_lport *lport = fsp->lp; local
980 struct fc_lport *lport = fsp->lp; local
1059 fc_fcp_cleanup_each_cmd(struct fc_lport *lport, unsigned int id, unsigned int lun, int error) argument
1116 fc_fcp_abort_io(struct fc_lport *lport) argument
1129 fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) argument
1162 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) argument
1287 struct fc_lport *lport = fsp->lp; local
1308 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) argument
1401 fc_fcp_cleanup(struct fc_lport *lport) argument
1457 struct fc_lport *lport; local
1716 struct fc_lport *lport = fsp->lp; local
1843 fc_fcp_lport_queue_ready(struct fc_lport *lport) argument
1859 struct fc_lport *lport = shost_priv(shost); local
1955 struct fc_lport *lport; local
2099 struct fc_lport *lport; local
2151 struct fc_lport *lport; local
2200 struct fc_lport *lport = shost_priv(shost); local
2247 fc_fcp_destroy(struct fc_lport *lport) argument
2286 fc_fcp_init(struct fc_lport *lport) argument
[all...]
H A Dfc_libfc.h12 #define FC_LPORT_LOGGING 0x02 /* lport layer logging */
34 #define FC_LPORT_DBG(lport, fmt, args...) \
36 pr_info("host%u: lport %6.6x: " fmt, \
37 (lport)->host->host_no, \
38 (lport)->port_id, ##args))
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \
49 (lport)->host->host_no, \
79 #define FC_SCSI_DBG(lport, fmt, args...) \
82 (lport)->host->host_no, ##args))
H A Dfc_libfc.c223 * fc_fc4_conf_lport_params() - Modify "service_params" of specified lport
226 * @lport: Local port which service_params needs to be modified
229 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) argument
233 BUG_ON(!lport);
237 lport->service_params |= FCP_SPPF_TARG_FCN;
243 struct fc_lport *lport; local
246 list_for_each_entry(lport, &fc_local_ports, lport_list)
247 notify(lport, arg);
297 * @lport: The new local port.
299 void fc_fc4_add_lport(struct fc_lport *lport) argument
312 fc_fc4_del_lport(struct fc_lport *lport) argument
[all...]
H A Dfc_exch.c77 * @lport: Local exchange port
86 struct fc_lport *lport; member in struct:fc_exch_mgr
463 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, argument
499 error = lport->tt.frame_send(lport, fp);
518 * @lport: The local port that the exchange will be sent on
525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument
531 error = fc_seq_send_locked(lport, sp, fp);
807 * @lport: The local port that the exchange is for
812 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, argument
905 fc_exch_alloc(struct fc_lport *lport, struct fc_frame *fp) argument
928 struct fc_lport *lport = mp->lport; local
990 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1038 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1281 struct fc_lport *lport = ep->lp; local
1346 struct fc_lport *lport; local
1474 fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) argument
1509 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1831 struct fc_lport *lport; local
1863 struct fc_lport *lport; local
1934 fc_exch_pool_reset(struct fc_lport *lport, struct fc_exch_pool *pool, u32 sid, u32 did) argument
1979 fc_exch_mgr_reset(struct fc_lport *lport, u32 sid, u32 did) argument
2000 fc_exch_lookup(struct fc_lport *lport, u32 xid) argument
2018 struct fc_lport *lport; local
2175 fc_exch_seq_send(struct fc_lport *lport, struct fc_frame *fp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg), void (*destructor)(struct fc_seq *, void *), void *arg, u32 timer_msec) argument
2245 struct fc_lport *lport; local
2295 struct fc_lport *lport; local
2361 fc_exch_update_stats(struct fc_lport *lport) argument
2388 fc_exch_mgr_add(struct fc_lport *lport, struct fc_exch_mgr *mp, bool (*match)(struct fc_frame *)) argument
2462 fc_exch_mgr_alloc(struct fc_lport *lport, enum fc_class class, u16 min_xid, u16 max_xid, bool (*match)(struct fc_frame *)) argument
2557 fc_exch_mgr_free(struct fc_lport *lport) argument
2574 fc_find_ema(u32 f_ctl, struct fc_lport *lport, struct fc_frame_header *fh) argument
2602 fc_exch_recv(struct fc_lport *lport, struct fc_frame *fp) argument
2660 fc_exch_init(struct fc_lport *lport) argument
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.c30 if (io_req && io_req->port && io_req->port->lport &&
31 io_req->port->lport->host)
32 shost_printk(KERN_INFO, io_req->port->lport->host,
54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host &&
56 shost_printk(KERN_INFO, tgt->port->lport->host,
65 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) argument
78 if (lport && lport->host)
79 shost_printk(KERN_INFO, lport
[all...]
H A Dbnx2fc_fcoe.c76 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
77 static int bnx2fc_lport_config(struct fc_lport *lport);
78 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
96 static void bnx2fc_port_shutdown(struct fc_lport *lport);
108 "\t\t0x04 - lport events, link, mtu, etc.\n"
133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) argument
136 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev;
179 static void bnx2fc_abort_io(struct fc_lport *lport) argument
189 static void bnx2fc_cleanup(struct fc_lport *lport) argument
191 struct fcoe_port *port = lport_priv(lport);
264 bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) argument
427 struct fc_lport *lport; local
507 struct fc_lport *lport; local
679 struct fc_lport *lport = shost_priv(shost); local
728 bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) argument
761 bnx2fc_link_ok(struct fc_lport *lport) argument
793 bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) argument
863 struct fc_lport *lport; local
982 bnx2fc_libfc_config(struct fc_lport *lport) argument
995 bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) argument
1013 bnx2fc_lport_config(struct fc_lport *lport) argument
1071 bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr) argument
1083 bnx2fc_get_src_mac(struct fc_lport *lport) argument
1168 bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport) argument
1214 struct fc_lport *lport = vport->dd_data; local
1487 struct fc_lport *lport, *n_port; local
1597 struct fc_lport *lport = ctlr->lp; local
1612 bnx2fc_if_destroy(struct fc_lport *lport) argument
1638 struct fc_lport *lport = ctlr->lp; local
1687 struct fc_lport *lport; local
1827 struct fc_lport *lport; local
1850 bnx2fc_port_shutdown(struct fc_lport *lport) argument
1860 struct fc_lport *lport; local
1987 struct fc_lport *lport; local
2115 bnx2fc_npiv_create_vports(struct fc_lport *lport, struct cnic_fc_npiv_tbl *npiv_tbl) argument
2172 struct fc_lport *lport; local
2297 struct fc_lport *lport; local
2565 struct fc_lport *lport = shost_priv(shost); local
2904 struct fc_lport *lport = shost_priv(shost); local
2917 struct fc_lport *lport = shost_priv(shost); local
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dxt_TPROXY.h15 __be16 lport; member in struct:xt_tproxy_target_info
22 __be16 lport; member in struct:xt_tproxy_target_info_v1
/linux-master/include/trace/events/
H A Dudp.h19 __field(__u16, lport)
24 __entry->lport = inet_sk(sk)->inet_num;
27 TP_printk("rc=%d port=%hu", __entry->rc, __entry->lport)
/linux-master/drivers/scsi/qedf/
H A Dqedf_attr.c10 return qedf->lport->vport != NULL;
16 struct fc_lport *lport; local
22 lport = qedf->lport;
23 base_lport = shost_priv(vport_to_shost(lport->vport));
30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); local
35 port_id = fc_host_port_id(lport->host);
47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); local
48 struct qedf_ctx *qedf = lport_priv(lport);
101 qedf_uevent_emit(base_qedf->lport
111 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, local
130 struct fc_lport *lport = NULL; local
[all...]
H A Dqedf_main.c201 * lport port_id
271 struct fc_lport *lport = exch->lp; local
272 struct qedf_ctx *qedf = lport_priv(lport);
303 fc_lport_flogi_resp(seq, fp, lport);
306 static struct fc_seq *qedf_elsct_send(struct fc_lport *lport, u32 did, argument
313 struct qedf_ctx *qedf = lport_priv(lport);
326 return fc_elsct_send(lport, did, fp, op, qedf_flogi_resp,
330 return fc_elsct_send(lport, did, fp, op, resp, arg, timeout);
335 struct fc_lport *lport; local
338 lport
370 struct fc_lport *lport = qedf->lport; local
452 struct fc_lport *lport = qedf->lport; local
719 struct fc_lport *lport; local
910 qedf_ctx_soft_reset(struct fc_lport *lport) argument
958 struct fc_lport *lport; local
1059 qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) argument
1455 qedf_rport_event_handler(struct fc_lport *lport, struct fc_rport_priv *rdata, enum fc_rport_event event) argument
1625 qedf_abort_io(struct fc_lport *lport) argument
1630 qedf_fcp_cleanup(struct fc_lport *lport) argument
1658 struct fc_lport *lport = qedf->lport; local
1729 struct fc_lport *lport = qedf->lport; local
1788 qedf_vport_libfc_config(struct fc_vport *vport, struct fc_lport *lport) argument
2006 struct fc_lport *lport = vport->dd_data; local
2047 struct fc_lport *lport = shost_priv(shost); local
2055 struct fc_lport *lport = shost_priv(shost); local
2064 struct fc_lport *lport = shost_priv(shost); local
2463 struct fc_lport *lport; local
3287 struct fc_lport *lport; local
3905 struct fc_lport *lport; local
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c552 fcoe_check_wait_queue(port->lport, skb);
554 fcoe_check_wait_queue(port->lport, skb);
585 * @lport: The local port to update the source MAC on
591 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) argument
593 struct fcoe_port *port = lport_priv(lport);
604 * fcoe_get_src_mac() - return the Ethernet source address for an lport
605 * @lport: libfc lport
607 static u8 *fcoe_get_src_mac(struct fc_lport *lport) argument
609 struct fcoe_port *port = lport_priv(lport);
620 fcoe_lport_config(struct fc_lport *lport) argument
651 fcoe_netdev_features_change(struct fc_lport *lport, struct net_device *netdev) argument
700 fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) argument
764 fcoe_shost_config(struct fc_lport *lport, struct device *dev) argument
806 fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) argument
920 fcoe_em_config(struct fc_lport *lport) argument
1001 fcoe_if_destroy(struct fc_lport *lport) argument
1061 fcoe_ddp_setup(struct fc_lport *lport, u16 xid, struct scatterlist *sgl, unsigned int sgc) argument
1083 fcoe_ddp_target(struct fc_lport *lport, u16 xid, struct scatterlist *sgl, unsigned int sgc) argument
1103 fcoe_ddp_done(struct fc_lport *lport, u16 xid) argument
1127 struct fc_lport *lport, *n_port; local
1337 struct fc_lport *lport; local
1470 fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) argument
1602 fcoe_filter_frames(struct fc_lport *lport, struct fc_frame *fp) argument
1650 struct fc_lport *lport; local
1837 struct fc_lport *lport = NULL; local
2002 struct fc_lport *lport = ctlr->lp; local
2054 struct fc_lport *lport; local
2190 struct fc_lport *lport; local
2303 fcoe_link_ok(struct fc_lport *lport) argument
2322 fcoe_percpu_clean(struct fc_lport *lport) argument
2342 struct fc_lport *lport = shost_priv(shost); local
2405 fcoe_hostlist_add(const struct fc_lport *lport) argument
2427 fcoe_hostlist_del(const struct fc_lport *lport) argument
2563 struct fc_lport *lport = exch->lp; local
2590 struct fc_lport *lport = arg; local
2607 fcoe_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
2714 fcoe_vport_remove(struct fc_lport *lport) argument
2748 struct fc_lport *lport = vport->dd_data; local
2772 struct fc_lport *lport = vport->dd_data; local
2815 fcoe_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
[all...]
/linux-master/arch/um/drivers/
H A Dumcast_kern.c21 int lport; member in struct:umcast_init
36 dpri->lport = init->lport;
44 "%u\n", dpri->addr, dpri->rport, dpri->lport);
47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl);
78 .lport = 1102,
90 init->lport = simple_strtoul(port_str, &last, 10);
108 init->rport = init->lport;
111 init->lport, init->ttl);
124 .lport
[all...]
H A Dumcast.h13 unsigned short lport; member in struct:umcast_data
/linux-master/drivers/target/tcm_fc/
H A Dtfc_sess.c30 #define TFC_SESS_DBG(lport, fmt, args...) \
32 (lport)->host->host_no, \
33 (lport)->port_id, ##args )
41 static struct ft_tport *ft_tport_get(struct fc_lport *lport) argument
47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP],
52 tpg = ft_lport_find_tpg(lport);
66 tport->lport = lport;
72 rcu_assign_pointer(lport->prov[FC_TYPE_FCP], tport);
82 struct fc_lport *lport; local
103 ft_lport_add(struct fc_lport *lport, void *arg) argument
115 ft_lport_del(struct fc_lport *lport, void *arg) argument
132 struct fc_lport *lport = arg; local
158 ft_sess_get(struct fc_lport *lport, u32 port_id) argument
478 ft_recv(struct fc_lport *lport, struct fc_frame *fp) argument
[all...]
H A Dtfc_io.c46 struct fc_lport *lport; local
71 lport = ep->lp;
106 * If lport's has capability of Large Send Offload LSO)
108 * if indicated transfer length is >= lport->lso_max
110 frame_len = (lport->seq_offload) ? lport->lso_max :
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len);
163 error = fc_seq_send(lport, seq, fp);
169 remaining, lport->lso_max);
200 struct fc_lport *lport; local
331 struct fc_lport *lport = NULL; local
[all...]
H A Dtfc_cmd.c105 struct fc_lport *lport; local
114 lport = ep->lp;
116 fp = fc_frame_alloc(lport, len);
152 rc = fc_seq_send(lport, cmd->seq, fp);
182 struct fc_lport *lport; local
192 lport = ep->lp;
193 fp = fc_frame_alloc(lport, sizeof(*txrdy));
213 if ((ep->xid <= lport->lro_xid) &&
216 lport->tt.ddp_target(lport, e
265 ft_send_resp_status(struct fc_lport *lport, const struct fc_frame *rx_fp, u32 status, enum fcp_resp_rsp_codes code) argument
423 struct fc_lport *lport = sess->tport->lport; local
[all...]
/linux-master/include/scsi/
H A Dlibfc.h596 * Stop discovery for a given lport. This will remove
604 * Stop discovery for a given lport. This will block
790 * @lport: The local port to test
792 static inline int fc_lport_test_ready(struct fc_lport *lport) argument
794 return lport->state == LPORT_ST_READY;
799 * @lport: The local port whose WWNN is to be set
802 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) argument
804 lport->wwnn = wwnn;
809 * @lport: The local port whose WWPN is to be set
812 static inline void fc_set_wwpn(struct fc_lport *lport, u6 argument
822 fc_lport_state_enter(struct fc_lport *lport, enum fc_lport_state state) argument
834 fc_lport_init_stats(struct fc_lport *lport) argument
846 fc_lport_free_stats(struct fc_lport *lport) argument
855 lport_priv(const struct fc_lport *lport) argument
871 struct fc_lport *lport; local
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c166 struct tcm_qla2xxx_lport *lport = tpg->lport; local
168 return lport->lport_naa_name;
788 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, local
796 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id);
804 btree_insert32(&lport->lport_fcport_map, nacl->nport_id,
811 * Now clear the se_nacl and session pointers from our HW lport lookup
819 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess);
912 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, local
914 struct scsi_qla_host *vha = lport
986 struct tcm_qla2xxx_lport *lport = container_of(wwn, local
1034 struct tcm_qla2xxx_lport *lport = tpg->lport; local
1055 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, local
1082 struct tcm_qla2xxx_lport *lport = container_of(wwn, local
1125 struct tcm_qla2xxx_lport *lport; local
1160 tcm_qla2xxx_set_sess_by_s_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, be_id_t s_id) argument
1230 struct tcm_qla2xxx_lport *lport; local
1265 tcm_qla2xxx_set_sess_by_loop_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, uint16_t loop_id) argument
1329 tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport *lport, struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess) argument
1346 struct tcm_qla2xxx_lport *lport; local
1371 struct tcm_qla2xxx_lport *lport = tpg->lport; local
1404 struct tcm_qla2xxx_lport *lport; local
1451 struct tcm_qla2xxx_lport *lport = vha->vha_tgt.target_lport_ptr; local
1542 tcm_qla2xxx_init_lport(struct tcm_qla2xxx_lport *lport) argument
1570 struct tcm_qla2xxx_lport *lport = local
1587 struct tcm_qla2xxx_lport *lport; local
1624 struct tcm_qla2xxx_lport *lport = container_of(wwn, local
1654 struct tcm_qla2xxx_lport *lport = local
1699 struct tcm_qla2xxx_lport *lport; local
1749 struct tcm_qla2xxx_lport *lport = container_of(wwn, local
[all...]
/linux-master/net/netfilter/
H A Dxt_TPROXY.c36 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, argument
57 if (!lport)
58 lport = hp->dest;
63 sk = nf_tproxy_handle_time_wait4(net, skb, laddr, lport, sk);
69 hp->source, lport,
89 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport,
98 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport,
112 __be16 lport; local
134 lport = tgi->lport
[all...]
/linux-master/drivers/scsi/fnic/
H A Dfnic_res.c33 shost_printk(KERN_ERR, fnic->lport->host, \
142 shost_printk(KERN_INFO, fnic->lport->host,
148 shost_printk(KERN_INFO, fnic->lport->host,
151 shost_printk(KERN_INFO, fnic->lport->host,
154 shost_printk(KERN_INFO, fnic->lport->host,
157 shost_printk(KERN_INFO, fnic->lport->host,
160 shost_printk(KERN_INFO, fnic->lport->host,
163 shost_printk(KERN_INFO, fnic->lport->host,
166 shost_printk(KERN_INFO, fnic->lport->host,
169 shost_printk(KERN_INFO, fnic->lport
[all...]

Completed in 612 milliseconds

12345