• Home
  • Raw
  • Download

Lines Matching refs:fc_lport

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 *, u16, struct scatterlist *,
490 int (*ddp_done)(struct fc_lport *, u16);
497 int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
504 void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
513 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
532 void (*lport_set_port_id)(struct fc_lport *, u32 port_id,
540 void (*rport_event_callback)(struct fc_lport *,
552 int (*fcp_cmd_send)(struct fc_lport *, struct fc_fcp_pkt *,
561 void (*fcp_cleanup)(struct fc_lport *);
568 void (*fcp_abort_io)(struct fc_lport *);
575 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
582 void (*disc_start)(void (*disc_callback)(struct fc_lport *,
584 struct fc_lport *);
592 void (*disc_stop) (struct fc_lport *);
601 void (*disc_stop_final) (struct fc_lport *);
634 void (*disc_callback)(struct fc_lport *,
692 struct fc_lport { struct
765 void (*recv)(struct fc_lport *, struct fc_frame *); argument
783 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
793 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
803 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn()
813 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
825 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
837 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
846 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
859 static inline struct fc_lport *
862 struct fc_lport *lport; in libfc_host_alloc()
888 int fc_lport_init(struct fc_lport *);
889 int fc_lport_destroy(struct fc_lport *);
890 int fc_fabric_logoff(struct fc_lport *);
891 int fc_fabric_login(struct fc_lport *);
892 void __fc_linkup(struct fc_lport *);
893 void fc_linkup(struct fc_lport *);
894 void __fc_linkdown(struct fc_lport *);
895 void fc_linkdown(struct fc_lport *);
896 void fc_vport_setlink(struct fc_lport *);
897 void fc_vports_linkchange(struct fc_lport *);
898 int fc_lport_config(struct fc_lport *);
899 int fc_lport_reset(struct fc_lport *);
900 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
901 int fc_set_mfs(struct fc_lport *, u32 mfs);
902 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
903 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
905 void fc_lport_set_local_id(struct fc_lport *, u32 port_id);
906 void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
912 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
914 struct fc_rport_priv *fc_rport_create(struct fc_lport *, u32);
918 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
924 void fc_disc_init(struct fc_lport *);
925 void fc_disc_config(struct fc_lport *, void *);
927 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport()
929 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
935 int fc_fcp_init(struct fc_lport *);
936 void fc_fcp_destroy(struct fc_lport *);
950 int fc_elsct_init(struct fc_lport *);
951 struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did,
969 int fc_exch_init(struct fc_lport *);
970 void fc_exch_update_stats(struct fc_lport *lport);
971 struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
984 struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
986 struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
990 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst);
991 struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *, enum fc_class class,
994 void fc_exch_mgr_free(struct fc_lport *);
995 void fc_exch_recv(struct fc_lport *, struct fc_frame *);
996 void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);
997 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);