Lines Matching refs:fc_lport

127 	struct fc_lport    *lp;
156 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *,
169 struct fc_lport *local_port;
203 struct fc_lport *local_port;
227 void (*lld_event_callback)(struct fc_lport *,
335 struct fc_lport *lp;
443 struct fc_lport *lp;
475 int (*frame_send)(struct fc_lport *, struct fc_frame *);
482 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did,
494 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *,
502 int (*ddp_done)(struct fc_lport *, u16);
509 int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
516 void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
525 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
544 void (*lport_set_port_id)(struct fc_lport *, u32 port_id,
552 void (*rport_event_callback)(struct fc_lport *,
564 int (*fcp_cmd_send)(struct fc_lport *, struct fc_fcp_pkt *,
573 void (*fcp_cleanup)(struct fc_lport *);
580 void (*fcp_abort_io)(struct fc_lport *);
587 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
594 void (*disc_start)(void (*disc_callback)(struct fc_lport *,
596 struct fc_lport *);
604 void (*disc_stop) (struct fc_lport *);
613 void (*disc_stop_final) (struct fc_lport *);
646 void (*disc_callback)(struct fc_lport *,
704 struct fc_lport { struct
777 void (*recv)(struct fc_lport *, struct fc_frame *); argument
795 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
805 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
815 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn()
825 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
837 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
849 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
858 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
871 static inline struct fc_lport *
874 struct fc_lport *lport; in libfc_host_alloc()
900 int fc_lport_init(struct fc_lport *);
901 int fc_lport_destroy(struct fc_lport *);
902 int fc_fabric_logoff(struct fc_lport *);
903 int fc_fabric_login(struct fc_lport *);
904 void __fc_linkup(struct fc_lport *);
905 void fc_linkup(struct fc_lport *);
906 void __fc_linkdown(struct fc_lport *);
907 void fc_linkdown(struct fc_lport *);
908 void fc_vport_setlink(struct fc_lport *);
909 void fc_vports_linkchange(struct fc_lport *);
910 int fc_lport_config(struct fc_lport *);
911 int fc_lport_reset(struct fc_lport *);
912 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
913 int fc_set_mfs(struct fc_lport *, u32 mfs);
914 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
915 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
917 void fc_lport_set_local_id(struct fc_lport *, u32 port_id);
918 void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
924 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
926 struct fc_rport_priv *fc_rport_create(struct fc_lport *, u32);
930 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
936 void fc_disc_init(struct fc_lport *);
937 void fc_disc_config(struct fc_lport *, void *);
939 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport()
941 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
947 int fc_fcp_init(struct fc_lport *);
948 void fc_fcp_destroy(struct fc_lport *);
962 int fc_elsct_init(struct fc_lport *);
963 struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did,
981 int fc_exch_init(struct fc_lport *);
982 void fc_exch_update_stats(struct fc_lport *lport);
983 struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
996 struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
998 struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
1002 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst);
1003 struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *, enum fc_class class,
1006 void fc_exch_mgr_free(struct fc_lport *);
1007 void fc_exch_recv(struct fc_lport *, struct fc_frame *);
1008 void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);
1009 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);