/kernel/linux/linux-5.10/include/scsi/ |
H A D | libfc.h | 115 struct fc_lport *lp; 144 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *, 157 struct fc_lport *local_port; 191 struct fc_lport *local_port; 215 void (*lld_event_callback)(struct fc_lport *, 323 struct fc_lport *lp; 431 struct fc_lport *lp; 463 int (*frame_send)(struct fc_lport *, struct fc_frame *); 470 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did, 482 int (*ddp_setup)(struct fc_lport *, u1 692 struct fc_lport { global() struct [all...] |
H A D | libfcoe.h | 80 * @lp: &fc_lport: libfc local port. 120 struct fc_lport *lp; 151 void (*update_mac)(struct fc_lport *, u8 *addr); 152 u8 * (*get_src_addr)(struct fc_lport *); 246 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *); 248 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *, 254 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, 259 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, 263 int fcoe_link_speed_update(struct fc_lport *); 264 void fcoe_get_lesb(struct fc_lport *, struc [all...] |
/kernel/linux/linux-6.6/include/scsi/ |
H A D | libfc.h | 115 struct fc_lport *lp; 144 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *, 157 struct fc_lport *local_port; 191 struct fc_lport *local_port; 215 void (*lld_event_callback)(struct fc_lport *, 323 struct fc_lport *lp; 440 struct fc_lport *lp; 472 int (*frame_send)(struct fc_lport *, struct fc_frame *); 479 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did, 491 int (*ddp_setup)(struct fc_lport *, u1 701 struct fc_lport { global() struct [all...] |
H A D | libfcoe.h | 81 * @lp: &fc_lport: libfc local port. 121 struct fc_lport *lp; 152 void (*update_mac)(struct fc_lport *, u8 *addr); 153 u8 * (*get_src_addr)(struct fc_lport *); 247 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *); 249 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *, 255 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, 260 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, 264 int fcoe_link_speed_update(struct fc_lport *); 265 void fcoe_get_lesb(struct fc_lport *, struc [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() 24 struct fc_lport *n_port = shost_priv(shost); in libfc_vport_create() 25 struct fc_lport *vn_port; in libfc_vport_create() 49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup() 51 struct fc_lport *lport = NULL; in fc_vport_id_lookup() 52 struct fc_lport *vn_port; in fc_vport_id_lookup() 91 static void __fc_vport_setlink(struct fc_lport *n_port, in __fc_vport_setlink() 92 struct fc_lport *vn_port) in __fc_vport_setlink() 117 void fc_vport_setlink(struct fc_lport *vn_por [all...] |
H A D | fc_lport.c | 98 static void fc_lport_error(struct fc_lport *, struct fc_frame *); 100 static void fc_lport_enter_reset(struct fc_lport *); 101 static void fc_lport_enter_flogi(struct fc_lport *); 102 static void fc_lport_enter_dns(struct fc_lport *); 103 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state); 104 static void fc_lport_enter_scr(struct fc_lport *); 105 static void fc_lport_enter_ready(struct fc_lport *); 106 static void fc_lport_enter_logo(struct fc_lport *); 107 static void fc_lport_enter_fdmi(struct fc_lport *lport); 108 static void fc_lport_enter_ms(struct fc_lport *, enu [all...] |
H A D | fc_disc.c | 19 * be held when acquiring the lport lock. Refer to fc_lport.c for more 44 static int fc_disc_single(struct fc_lport *, struct fc_disc_port *); 72 struct fc_lport *lport; in fc_disc_recv_rscn_req() 181 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 233 static void fc_disc_start(void (*disc_callback)(struct fc_lport *, in fc_disc_start() 235 struct fc_lport *lport) in fc_disc_start() 257 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() 301 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() 345 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() 381 struct fc_lport *lpor in fc_disc_gpn_ft_parse() [all...] |
H A D | fc_libfc.c | 229 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params() 241 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg) in fc_lport_iterate() 243 struct fc_lport *lport; in fc_lport_iterate() 299 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport() 312 void fc_fc4_del_lport(struct fc_lport *lport) in fc_fc4_del_lport()
|
H A D | fc_exch.c | 87 struct fc_lport *lport; 464 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked() 526 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send() 813 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc() 907 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc() 930 struct fc_lport *lport = mp->lport; in fc_exch_find() 992 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp() 1040 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip() 1283 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() 1348 struct fc_lport *lpor in fc_exch_send_ba_rjt() [all...] |
H A D | fc_rport.c | 24 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for 75 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *); 78 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *); 104 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, in fc_rport_lookup() 128 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) in fc_rport_create() 265 struct fc_lport *lport = rdata->local_port; in fc_rport_work() 505 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff() 615 struct fc_lport *lport = rdata->local_port; in fc_rport_error() 701 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() 742 struct fc_lport *lpor in fc_rport_flogi_resp() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() 24 struct fc_lport *n_port = shost_priv(shost); in libfc_vport_create() 25 struct fc_lport *vn_port; in libfc_vport_create() 49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup() 51 struct fc_lport *lport = NULL; in fc_vport_id_lookup() 52 struct fc_lport *vn_port; in fc_vport_id_lookup() 91 static void __fc_vport_setlink(struct fc_lport *n_port, in __fc_vport_setlink() 92 struct fc_lport *vn_port) in __fc_vport_setlink() 117 void fc_vport_setlink(struct fc_lport *vn_por [all...] |
H A D | fc_lport.c | 101 static void fc_lport_error(struct fc_lport *, struct fc_frame *); 103 static void fc_lport_enter_reset(struct fc_lport *); 104 static void fc_lport_enter_flogi(struct fc_lport *); 105 static void fc_lport_enter_dns(struct fc_lport *); 106 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state); 107 static void fc_lport_enter_scr(struct fc_lport *); 108 static void fc_lport_enter_ready(struct fc_lport *); 109 static void fc_lport_enter_logo(struct fc_lport *); 110 static void fc_lport_enter_fdmi(struct fc_lport *lport); 111 static void fc_lport_enter_ms(struct fc_lport *, enu [all...] |
H A D | fc_disc.c | 19 * be held when acquiring the lport lock. Refer to fc_lport.c for more 44 static int fc_disc_single(struct fc_lport *, struct fc_disc_port *); 72 struct fc_lport *lport; in fc_disc_recv_rscn_req() 178 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 230 static void fc_disc_start(void (*disc_callback)(struct fc_lport *, in fc_disc_start() 232 struct fc_lport *lport) in fc_disc_start() 254 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() 298 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() 342 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() 378 struct fc_lport *lpor in fc_disc_gpn_ft_parse() [all...] |
H A D | fc_libfc.c | 229 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params() 241 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg) in fc_lport_iterate() 243 struct fc_lport *lport; in fc_lport_iterate() 299 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport() 312 void fc_fc4_del_lport(struct fc_lport *lport) in fc_fc4_del_lport()
|
H A D | fc_exch.c | 86 struct fc_lport *lport; 463 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked() 525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send() 812 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc() 905 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc() 928 struct fc_lport *lport = mp->lport; in fc_exch_find() 990 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp() 1038 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip() 1281 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() 1346 struct fc_lport *lpor in fc_exch_send_ba_rjt() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe.c | 73 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 76 static void fcoe_percpu_clean(struct fc_lport *); 77 static int fcoe_link_ok(struct fc_lport *); 79 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *); 80 static int fcoe_hostlist_add(const struct fc_lport *); 81 static void fcoe_hostlist_del(const struct fc_lport *); 95 static void fcoe_update_src_mac(struct fc_lport *, u8 *); 96 static u8 *fcoe_get_src_mac(struct fc_lport *); 99 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *, 101 static int fcoe_ddp_done(struct fc_lport *, u1 [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe.c | 73 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 76 static void fcoe_percpu_clean(struct fc_lport *); 77 static int fcoe_link_ok(struct fc_lport *); 79 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *); 80 static int fcoe_hostlist_add(const struct fc_lport *); 81 static void fcoe_hostlist_del(const struct fc_lport *); 95 static void fcoe_update_src_mac(struct fc_lport *, u8 *); 96 static u8 *fcoe_get_src_mac(struct fc_lport *); 99 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *, 101 static int fcoe_ddp_done(struct fc_lport *, u1 [all...] |
/kernel/linux/linux-5.10/drivers/scsi/qedf/ |
H A D | qedf_attr.c | 16 struct fc_lport *lport; in qedf_get_base_qedf() 17 struct fc_lport *base_lport; in qedf_get_base_qedf() 31 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fcoe_mac_show() 49 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fka_period_show() 104 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() 123 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump()
|
/kernel/linux/linux-6.6/drivers/scsi/qedf/ |
H A D | qedf_attr.c | 16 struct fc_lport *lport; in qedf_get_base_qedf() 17 struct fc_lport *base_lport; in qedf_get_base_qedf() 30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show() 47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fka_period_show() 111 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() 130 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump()
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | fnic.h | 218 struct fc_lport *lport; 331 int fnic_send(struct fc_lport *, struct fc_frame *); 341 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *); 342 void fnic_update_mac(struct fc_lport *, u8 *new); 350 void fnic_scsi_cleanup(struct fc_lport *); 351 void fnic_scsi_abort_io(struct fc_lport *); 352 void fnic_empty_scsi_cleanup(struct fc_lport *); 353 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | fnic.h | 219 struct fc_lport *lport; 336 int fnic_send(struct fc_lport *, struct fc_frame *); 346 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *); 347 void fnic_update_mac(struct fc_lport *, u8 *new); 355 void fnic_scsi_cleanup(struct fc_lport *); 356 void fnic_scsi_abort_io(struct fc_lport *); 357 void fnic_empty_scsi_cleanup(struct fc_lport *); 358 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 74 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev); 75 static int bnx2fc_lport_config(struct fc_lport *lport); 76 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba); 81 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, 94 static void bnx2fc_port_shutdown(struct fc_lport *lport); 131 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev() 147 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue() 177 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io() 187 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup() 262 static int bnx2fc_xmit(struct fc_lport *lpor [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 76 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); 83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, 96 static void bnx2fc_port_shutdown(struct fc_lport *lport); 133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev() 149 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue() 179 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io() 189 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup() 264 static int bnx2fc_xmit(struct fc_lport *lpor [all...] |
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
H A D | tcm_fc.h | 55 struct fc_lport *lport; 137 void ft_lport_add(struct fc_lport *, void *); 138 void ft_lport_del(struct fc_lport *, void *); 157 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
|
/kernel/linux/linux-6.6/drivers/target/tcm_fc/ |
H A D | tcm_fc.h | 55 struct fc_lport *lport; 137 void ft_lport_add(struct fc_lport *, void *); 138 void ft_lport_del(struct fc_lport *, void *); 156 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
|