/drivers/scsi/libfc/ |
H A D | fc_lport.c | 23 * These comments only apply to the 'port code' which consists of the lport, 28 * The lport, disc and rport blocks all have mutexes that are used to protect 30 * having an lport reset just before we send a frame. In that scenario the 31 * lport's FID would get set to zero and then we'd send a frame with an 41 * lport > disc, lport > rport, disc > rport 46 * from the rport (to either lport or disc) and a callback from disc 47 * (to the lport). 51 * cause the lport or disc to grab its lock we cannot hold the rport lock 58 * When discovery succeeds or fails a callback is made to the lport a 153 struct fc_lport *lport; member in struct:fc_bsg_info 165 fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) argument 180 fc_lport_rport_callback(struct fc_lport *lport, struct fc_rport_priv *rdata, enum fc_rport_event event) argument 224 fc_lport_state(struct fc_lport *lport) argument 241 fc_lport_ptp_setup(struct fc_lport *lport, u32 remote_fid, u64 remote_wwpn, u64 remote_wwnn) argument 267 struct fc_lport *lport = shost_priv(shost); local 290 struct fc_lport *lport = shost_priv(shost); local 303 struct fc_lport *lport = shost_priv(shost); local 352 fc_lport_flogi_fill(struct fc_lport *lport, struct fc_els_flogi *flogi, unsigned int op) argument 387 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 420 fc_lport_recv_echo_req(struct fc_lport *lport, struct fc_frame *in_fp) argument 456 fc_lport_recv_rnid_req(struct fc_lport *lport, struct fc_frame *in_fp) argument 515 fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument 529 fc_fabric_login(struct fc_lport *lport) argument 552 __fc_linkup(struct fc_lport *lport) argument 566 fc_linkup(struct fc_lport *lport) argument 583 __fc_linkdown(struct fc_lport *lport) argument 596 fc_linkdown(struct fc_lport *lport) argument 614 fc_fabric_logoff(struct fc_lport *lport) argument 640 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 721 fc_lport_enter_ready(struct fc_lport *lport) argument 744 fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument 769 fc_lport_set_local_id(struct fc_lport *lport, u32 port_id) argument 800 fc_lport_recv_flogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument 879 fc_lport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 946 fc_lport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 985 fc_lport_reset(struct fc_lport *lport) argument 1002 fc_lport_reset_locked(struct fc_lport *lport) argument 1029 fc_lport_enter_reset(struct fc_lport *lport) argument 1059 fc_lport_enter_disabled(struct fc_lport *lport) argument 1078 fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) argument 1119 struct fc_lport *lport = lp_arg; local 1195 struct fc_lport *lport = lp_arg; local 1273 struct fc_lport *lport = lp_arg; local 1315 fc_lport_enter_scr(struct fc_lport *lport) argument 1343 fc_lport_enter_ns(struct fc_lport *lport, enum fc_lport_state state) argument 1413 fc_lport_enter_dns(struct fc_lport *lport) argument 1443 fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state) argument 1530 fc_lport_enter_fdmi(struct fc_lport *lport) argument 1559 struct fc_lport *lport = local 1619 struct fc_lport *lport = lp_arg; local 1662 fc_lport_enter_logo(struct fc_lport *lport) argument 1698 struct fc_lport *lport = lp_arg; local 1803 fc_lport_enter_flogi(struct fc_lport *lport) argument 1834 fc_lport_config(struct fc_lport *lport) argument 1853 fc_lport_init(struct fc_lport *lport) argument 1898 struct fc_lport *lport = info->lport; local 1959 fc_lport_els_request(struct fc_bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument 2020 fc_lport_ct_request(struct fc_bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument 2080 struct fc_lport *lport = shost_priv(shost); local [all...] |
H A D | fc_elsct.c | 35 * @lport: The local port to send the frame on 43 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, argument 56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); 59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); 67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, 70 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); 76 * @lport: The local port to initialize the ELS/CT layer for 78 int fc_elsct_init(struct fc_lport *lport) argument 80 if (!lport [all...] |
H A D | fc_disc.c | 31 * be held when acquiring the lport lock. Refer to fc_lport.c for more 58 * fc_disc_stop_rports() - Delete all the remote ports associated with the lport 61 * Locking Note: This function expects that the lport mutex is locked before 66 struct fc_lport *lport; local 69 lport = fc_disc_lport(disc); 73 lport->tt.rport_logoff(rdata); 87 struct fc_lport *lport; local 98 lport = fc_disc_lport(disc); 140 dp->lp = lport; 153 lport 194 fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 247 fc_disc_start(void (*disc_callback)(struct fc_lport *, enum fc_disc_event), struct fc_lport *lport) argument 275 struct fc_lport *lport = fc_disc_lport(disc); local 313 struct fc_lport *lport = fc_disc_lport(disc); local 360 struct fc_lport *lport = fc_disc_lport(disc); local 394 struct fc_lport *lport; local 586 struct fc_lport *lport; local 652 fc_disc_gpn_id_req(struct fc_lport *lport, struct fc_rport_priv *rdata) argument 677 fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) argument 692 fc_disc_stop(struct fc_lport *lport) argument 708 fc_disc_stop_final(struct fc_lport *lport) argument 718 fc_disc_init(struct fc_lport *lport) argument [all...] |
H A D | fc_rport.c | 35 * either the lport or disc mutexes. The rport's mutex is considered lesser 36 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for 39 * The locking strategy is similar to the lport's strategy. The lock protects 95 * @lport: The local port to lookup the remote port on 100 static struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, argument 105 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) 113 * @lport: The local port this remote port will be associated with 120 static struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, argument 125 rdata = lport->tt.rport_lookup(lport, port_i 247 struct fc_lport *lport = rdata->local_port; local 619 struct fc_lport *lport = rdata->local_port; local 660 struct fc_lport *lport = rdata->local_port; local 722 struct fc_lport *lport = rdata->local_port; local 750 fc_rport_recv_flogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument 878 struct fc_lport *lport = rdata->local_port; local 938 struct fc_lport *lport = rdata->local_port; local 1071 struct fc_lport *lport = rdata->local_port; local 1194 struct fc_lport *lport = rdata->local_port; local 1224 struct fc_lport *lport = lport_arg; local 1242 struct fc_lport *lport = rdata->local_port; local 1322 struct fc_lport *lport = rdata->local_port; local 1353 struct fc_lport *lport = rdata->local_port; local 1392 struct fc_lport *lport = rdata->local_port; local 1455 fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument 1523 fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument 1567 fc_rport_recv_plogi_req(struct fc_lport *lport, struct fc_frame *rx_fp) argument 1687 struct fc_lport *lport = rdata->local_port; local 1806 struct fc_lport *lport = rdata->local_port; local 1874 fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument 1911 fc_rport_init(struct fc_lport *lport) argument 1952 struct fc_lport *lport = rdata->local_port; local 2037 struct fc_lport *lport = rpriv->local_port; local [all...] |
H A D | fc_fcp.c | 140 * @lport: The local port that the FCP packet is for 146 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) argument 148 struct fc_fcp_internal *si = fc_get_scsi_internal(lport); 154 fsp->lp = lport; 300 struct fc_lport *lport; local 302 lport = fsp->lp; 304 (lport->lro_enabled) && (lport->tt.ddp_setup)) { 305 if (lport->tt.ddp_setup(lport, xi 318 struct fc_lport *lport; local 337 fc_fcp_can_queue_ramp_up(struct fc_lport *lport) argument 379 fc_fcp_can_queue_ramp_down(struct fc_lport *lport) argument 414 fc_fcp_frame_alloc(struct fc_lport *lport, size_t len) argument 436 struct fc_lport *lport = fsp->lp; local 558 struct fc_lport *lport = fsp->lp; local 745 struct fc_lport *lport = fsp->lp; local 933 struct fc_lport *lport = fsp->lp; local 994 struct fc_lport *lport = fsp->lp; local 1012 fc_fcp_cleanup_each_cmd(struct fc_lport *lport, unsigned int id, unsigned int lun, int error) argument 1054 fc_fcp_abort_io(struct fc_lport *lport) argument 1067 fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) argument 1113 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 1231 struct fc_lport *lport = fsp->lp; local 1252 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) argument 1345 fc_fcp_cleanup(struct fc_lport *lport) argument 1392 struct fc_lport *lport; local 1640 struct fc_lport *lport = fsp->lp; local 1767 fc_fcp_lport_queue_ready(struct fc_lport *lport) argument 1783 struct fc_lport *lport = shost_priv(shost); local 1880 struct fc_lport *lport; local 2013 struct fc_lport *lport; local 2065 struct fc_lport *lport; local 2114 struct fc_lport *lport = shost_priv(shost); local 2213 fc_fcp_destroy(struct fc_lport *lport) argument 2253 fc_fcp_init(struct fc_lport *lport) argument [all...] |
H A D | fc_exch.c | 462 * @lport: The local port that the exchange will be sent on 466 static int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, argument 496 error = lport->tt.frame_send(lport, fp); 706 * @lport: The local port that the exchange is for 711 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, argument 774 ep->lp = lport; 791 * @lport: The local port that will own the exchange 799 static inline struct fc_exch *fc_exch_alloc(struct fc_lport *lport, argument 804 list_for_each_entry(ema, &lport 857 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 905 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1145 struct fc_lport *lport = ep->lp; local 1207 struct fc_lport *lport; local 1324 fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) argument 1357 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1682 struct fc_lport *lport; local 1709 struct fc_lport *lport; local 1770 fc_exch_pool_reset(struct fc_lport *lport, struct fc_exch_pool *pool, u32 sid, u32 did) argument 1815 fc_exch_mgr_reset(struct fc_lport *lport, u32 sid, u32 did) argument 1836 fc_exch_lookup(struct fc_lport *lport, u32 xid) argument 1854 struct fc_lport *lport; local 1977 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 2047 struct fc_lport *lport; local 2096 struct fc_lport *lport; local 2164 fc_exch_mgr_add(struct fc_lport *lport, struct fc_exch_mgr *mp, bool (*match)(struct fc_frame *)) argument 2238 fc_exch_mgr_alloc(struct fc_lport *lport, enum fc_class class, u16 min_xid, u16 max_xid, bool (*match)(struct fc_frame *)) argument 2332 fc_exch_mgr_free(struct fc_lport *lport) argument 2349 fc_find_ema(u32 f_ctl, struct fc_lport *lport, struct fc_frame_header *fh) argument 2377 fc_exch_recv(struct fc_lport *lport, struct fc_frame *fp) argument 2435 fc_exch_init(struct fc_lport *lport) argument [all...] |
H A D | fc_libfc.h | 24 #define FC_LPORT_LOGGING 0x02 /* lport layer logging */ 46 #define FC_LPORT_DBG(lport, fmt, args...) \ 48 printk(KERN_INFO "host%u: lport %6.6x: " fmt, \ 49 (lport)->host->host_no, \ 50 (lport)->port_id, ##args)) 58 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ 61 (lport)->host->host_no, \ 91 #define FC_SCSI_DBG(lport, fmt, args...) \ 94 (lport)->host->host_no, ##args))
|
H A D | fc_libfc.c | 235 * fc_fc4_conf_lport_params() - Modify "service_params" of specified lport 238 * @lport: Local port which service_params needs to be modified 241 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) argument 245 BUG_ON(!lport); 249 lport->service_params |= FCP_SPPF_TARG_FCN; 255 struct fc_lport *lport; local 258 list_for_each_entry(lport, &fc_local_ports, lport_list) 259 notify(lport, arg); 309 * @lport: The new local port. 311 void fc_fc4_add_lport(struct fc_lport *lport) argument 324 fc_fc4_del_lport(struct fc_lport *lport) argument [all...] |
H A D | fc_npiv.c | 55 * fc_vport_id_lookup() - find NPIV lport that matches a given fabric ID 59 * Returns: matching lport pointer or NULL if there is no match 63 struct fc_lport *lport = NULL; local 75 lport = vn_port; 81 return lport; 86 * When setting the link state of vports during an lport state change, it's
|
/drivers/scsi/fcoe/ |
H A D | fcoe.c | 496 fcoe_check_wait_queue(port->lport, skb); 498 fcoe_check_wait_queue(port->lport, skb); 514 * @lport: The local port to update the source MAC on 520 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) argument 522 struct fcoe_port *port = lport_priv(lport); 535 * fcoe_get_src_mac() - return the Ethernet source address for an lport 536 * @lport: libfc lport 538 static u8 *fcoe_get_src_mac(struct fc_lport *lport) argument 540 struct fcoe_port *port = lport_priv(lport); 551 fcoe_lport_config(struct fc_lport *lport) argument 582 fcoe_netdev_features_change(struct fc_lport *lport, struct net_device *netdev) argument 631 fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) argument 687 fcoe_shost_config(struct fc_lport *lport, struct device *dev) argument 729 fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) argument 842 fcoe_em_config(struct fc_lport *lport) argument 921 fcoe_if_destroy(struct fc_lport *lport) argument 975 fcoe_ddp_setup(struct fc_lport *lport, u16 xid, struct scatterlist *sgl, unsigned int sgc) argument 997 fcoe_ddp_target(struct fc_lport *lport, u16 xid, struct scatterlist *sgl, unsigned int sgc) argument 1017 fcoe_ddp_done(struct fc_lport *lport, u16 xid) argument 1040 struct fc_lport *lport, *n_port; local 1367 struct fc_lport *lport; local 1513 fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) argument 1657 fcoe_filter_frames(struct fc_lport *lport, struct fc_frame *fp) argument 1708 struct fc_lport *lport; local 1910 struct fc_lport *lport = NULL; local 2043 struct fc_lport *lport; local 2150 struct fc_lport *lport; local 2210 fcoe_link_speed_update(struct fc_lport *lport) argument 2244 fcoe_link_ok(struct fc_lport *lport) argument 2264 fcoe_percpu_clean(struct fc_lport *lport) argument 2301 struct fc_lport *lport = shost_priv(shost); local 2358 fcoe_hostlist_add(const struct fc_lport *lport) argument 2504 struct fc_lport *lport = exch->lp; local 2531 struct fc_lport *lport = arg; local 2548 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 2656 struct fc_lport *lport = vport->dd_data; local 2680 struct fc_lport *lport = vport->dd_data; local 2706 fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb) argument 2726 fcoe_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument [all...] |
H A D | fcoe_ctlr.c | 414 * @lport: libfc fc_lport to send from 426 struct fc_lport *lport, 472 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); 473 hton24(vn->fd_fc_id, lport->port_id); 474 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); 499 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, argument 520 if (lport->point_to_multipoint) { 556 memcpy(mac->fd_mac, fip->get_src_addr(lport), ETH_ALEN); 580 * @lport: libfc fc_lport to send from 593 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, argument 425 fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, struct fc_lport *lport, int ports, u8 *sa) argument 1010 struct fc_lport *lport = fip->lp; local 1194 struct fc_lport *lport = fip->lp; local 1735 fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, struct fc_frame *fp) argument 1950 fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, struct fc_rport_priv *rdata, enum fc_rport_event event) argument 1992 fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) argument 2006 fcoe_ctlr_disc_stop(struct fc_lport *lport) argument 2022 fcoe_ctlr_disc_stop_final(struct fc_lport *lport) argument 2303 struct fc_lport *lport = fip->lp; local 2348 struct fc_lport *lport = fip->lp; local 2433 struct fc_lport *lport = fip->lp; local 2483 struct fc_lport *lport = fip->lp; local 2573 fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp) argument 2595 fcoe_ctlr_disc_start(void (*callback)(struct fc_lport *, enum fc_disc_event), struct fc_lport *lport) argument 2620 struct fc_lport *lport = fip->lp; local 2722 fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, const struct libfc_function_template *tt, int init_fcp) argument [all...] |
H A D | fcoe.h | 90 * @lport: The local port to get the net device from 92 static inline struct net_device *fcoe_netdev(const struct fc_lport *lport) argument 95 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev;
|
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_debug.h | 7 #define LOG_HBA 0x04 /* lport events, link, mtu, etc' */ 32 if (!io_req || !io_req->port || !io_req->port->lport || \ 33 !io_req->port->lport->host) \ 39 (io_req)->port->lport->host, \ 46 if (!tgt || !tgt->port || !tgt->port->lport || \ 47 !tgt->port->lport->host || !tgt->rport) \ 53 (tgt)->port->lport->host, \ 59 #define BNX2FC_HBA_DBG(lport, fmt, arg...) \ 61 if (!lport || !lport [all...] |
H A D | bnx2fc_fcoe.c | 67 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev); 68 static int bnx2fc_lport_config(struct fc_lport *lport); 69 static int bnx2fc_em_config(struct fc_lport *lport); 87 static void bnx2fc_port_shutdown(struct fc_lport *lport); 102 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) argument 105 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev; 110 * @lport: the local port 113 static void bnx2fc_get_lesb(struct fc_lport *lport, argument 116 struct net_device *netdev = bnx2fc_netdev(lport); 118 __fcoe_get_lesb(lport, fc_les 155 bnx2fc_abort_io(struct fc_lport *lport) argument 165 bnx2fc_cleanup(struct fc_lport *lport) argument 240 bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) argument 404 struct fc_lport *lport; local 482 struct fc_lport *lport; local 628 struct fc_lport *lport = shost_priv(shost); local 665 bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) argument 696 bnx2fc_link_speed_update(struct fc_lport *lport) argument 725 bnx2fc_link_ok(struct fc_lport *lport) argument 757 bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) argument 824 struct fc_lport *lport; local 927 bnx2fc_libfc_config(struct fc_lport *lport) argument 940 bnx2fc_em_config(struct fc_lport *lport) argument 957 bnx2fc_lport_config(struct fc_lport *lport) argument 1014 bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr) argument 1026 bnx2fc_get_src_mac(struct fc_lport *lport) argument 1094 bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport) argument 1140 struct fc_lport *lport = vport->dd_data; local 1376 struct fc_lport *lport, *n_port; local 1482 struct fc_lport *lport = interface->ctlr.lp; local 1497 bnx2fc_if_destroy(struct fc_lport *lport) argument 1522 struct fc_lport *lport = interface->ctlr.lp; local 1571 struct fc_lport *lport; local 1649 struct fc_lport *lport; local 1671 bnx2fc_port_shutdown(struct fc_lport *lport) argument 1680 struct fc_lport *lport; local 1807 struct fc_lport *lport; local 1950 struct fc_lport *lport; local 2173 struct fc_lport *lport = shost_priv(shost); local [all...] |
H A D | bnx2fc_els.c | 63 struct fc_lport *lport = tgt->rdata->local_port; local 66 u32 r_a_tov = lport->r_a_tov; 178 struct fc_lport *lport = tgt->rdata->local_port; local 179 u32 r_a_tov = lport->r_a_tov; 206 struct fc_lport *lport = tgt->rdata->local_port; local 207 u32 r_a_tov = lport->r_a_tov; 234 struct fc_lport *lport = tgt->rdata->local_port; local 235 u32 r_a_tov = lport->r_a_tov; 579 struct fc_lport *lport = tgt->rdata->local_port; local 582 u32 r_a_tov = lport 621 struct fc_lport *lport = tgt->rdata->local_port; local 671 struct fc_lport *lport = port->lport; local 855 struct fc_lport *lport = exch->lp; local 896 struct fc_lport *lport = exch->lp; local 904 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...] |
H A D | bnx2fc_io.c | 42 struct fc_lport *lport; local 83 lport = io_req->port->lport; 97 mutex_lock(&lport->disc.disc_mutex); 98 lport->tt.rport_logoff(rdata); 99 mutex_unlock(&lport->disc.disc_mutex); 122 lport = io_req->port->lport; 136 mutex_lock(&lport->disc.disc_mutex); 137 lport 688 struct fc_lport *lport; local 831 struct fc_lport *lport; local 941 struct fc_lport *lport; local 1010 struct fc_lport *lport; local 1105 struct fc_lport *lport; local 1810 struct fc_lport *lport = shost_priv(host); local 1954 struct fc_lport *lport = port->lport; local [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 86 struct fc_lport *lport; local 91 lport = fr_dev(fp); 93 lport->tt.seq_release(fr_seq(fp)); 120 struct fc_lport *lport; local 128 lport = ep->lp; 130 fp = fc_frame_alloc(lport, len); 161 cmd->seq = lport->tt.seq_start_next(cmd->seq); 165 lport->tt.seq_send(lport, cmd->seq, fp); 166 lport 185 struct fc_lport *lport; local 290 ft_send_resp_status(struct fc_lport *lport, const struct fc_frame *rx_fp, u32 status, enum fcp_resp_rsp_codes code) argument 441 struct fc_lport *lport = sess->tport->lport; local [all...] |
H A D | tfc_io.c | 66 struct fc_lport *lport; local 87 lport = ep->lp; 88 cmd->seq = lport->tt.seq_start_next(cmd->seq); 115 * If lport's has capability of Large Send Offload LSO) 117 * if indicated transfer length is >= lport->lso_max 119 frame_len = (lport->seq_offload) ? lport->lso_max : 122 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); 173 error = lport->tt.seq_send(lport, cm 194 struct fc_lport *lport; local 324 struct fc_lport *lport = NULL; local [all...] |
H A D | tfc_sess.c | 55 static struct ft_tport *ft_tport_create(struct fc_lport *lport) argument 61 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], 66 tpg = ft_lport_find_tpg(lport); 79 tport->lport = lport; 85 rcu_assign_pointer(lport->prov[FC_TYPE_FCP], tport); 95 struct fc_lport *lport; local 99 lport = tport->lport; 100 BUG_ON(tport != lport 115 ft_lport_add(struct fc_lport *lport, void *arg) argument 126 ft_lport_del(struct fc_lport *lport, void *arg) argument 143 struct fc_lport *lport = arg; local 169 ft_sess_get(struct fc_lport *lport, u32 port_id) argument 480 ft_recv(struct fc_lport *lport, struct fc_frame *fp) argument [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 67 fnic->lport->host_stats.link_failure_count++; 69 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, 72 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, 82 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link up\n"); 86 fnic->lport->host_stats.link_failure_count++; 88 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link down\n"); 100 struct fc_lport *lp = fnic->lport; 197 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "update_mac %pM\n", new); 207 * @lport: local port. 210 void fnic_update_mac(struct fc_lport *lport, u argument 233 fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument [all...] |
H A D | fnic_main.c | 191 FNIC_MAIN_DBG(KERN_DEBUG, fnic->lport->host, 219 shost_printk(KERN_ERR, fnic->lport->host, 227 shost_printk(KERN_ERR, fnic->lport->host, 235 shost_printk(KERN_ERR, fnic->lport->host, 271 shost_printk(KERN_ERR, fnic->lport->host, 393 * @lport: local port. 395 static u8 *fnic_get_mac(struct fc_lport *lport) argument 397 struct fnic *fnic = lport_priv(lport); 425 fnic->lport = lp; 435 shost_printk(KERN_ERR, fnic->lport [all...] |
H A D | fnic_res.c | 45 shost_printk(KERN_ERR, fnic->lport->host, \ 146 shost_printk(KERN_INFO, fnic->lport->host, 152 shost_printk(KERN_INFO, fnic->lport->host, 155 shost_printk(KERN_INFO, fnic->lport->host, 158 shost_printk(KERN_INFO, fnic->lport->host, 161 shost_printk(KERN_INFO, fnic->lport->host, 164 shost_printk(KERN_INFO, fnic->lport->host, 167 shost_printk(KERN_INFO, fnic->lport->host, 170 shost_printk(KERN_INFO, fnic->lport->host, 173 shost_printk(KERN_INFO, fnic->lport [all...] |
H A D | fnic_scsi.c | 194 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 197 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 211 struct fc_lport *lp = fnic->lport; 239 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 245 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 486 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 492 fnic->lport->host, 507 fnic->lport->host, 557 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, 562 fnic->lport 1150 struct fc_lport *lport = rdata->local_port; local [all...] |
H A D | fnic_isr.c | 200 shost_printk(KERN_ERR, fnic->lport->host, 252 FNIC_ISR_DBG(KERN_DEBUG, fnic->lport->host, 279 FNIC_ISR_DBG(KERN_DEBUG, fnic->lport->host, 305 FNIC_ISR_DBG(KERN_DEBUG, fnic->lport->host,
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.h | 72 u8 lport; /* associated offload logical interface */ member in struct:l2t_entry
|