Lines Matching refs:fc_lport

121 	struct fc_lport    *lp;
150 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *,
163 struct fc_lport *local_port;
197 struct fc_lport *local_port;
221 void (*lld_event_callback)(struct fc_lport *,
329 struct fc_lport *lp;
435 struct fc_lport *lp;
467 int (*frame_send)(struct fc_lport *, struct fc_frame *);
474 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did,
503 struct fc_seq *(*exch_seq_send)(struct fc_lport *, struct fc_frame *,
517 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *,
525 int (*ddp_done)(struct fc_lport *, u16);
532 int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
539 void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
545 int (*seq_send)(struct fc_lport *, struct fc_seq *,
599 struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *);
615 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
629 void (*lport_recv)(struct fc_lport *, struct fc_frame *);
636 int (*lport_reset)(struct fc_lport *);
655 void (*lport_set_port_id)(struct fc_lport *, u32 port_id,
663 struct fc_rport_priv *(*rport_create)(struct fc_lport *, u32);
691 void (*rport_recv_req)(struct fc_lport *, struct fc_frame *);
698 struct fc_rport_priv *(*rport_lookup)(const struct fc_lport *, u32);
711 void (*rport_event_callback)(struct fc_lport *,
723 int (*fcp_cmd_send)(struct fc_lport *, struct fc_fcp_pkt *,
732 void (*fcp_cleanup)(struct fc_lport *);
739 void (*fcp_abort_io)(struct fc_lport *);
746 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
753 void (*disc_start)(void (*disc_callback)(struct fc_lport *,
755 struct fc_lport *);
763 void (*disc_stop) (struct fc_lport *);
772 void (*disc_stop_final) (struct fc_lport *);
805 void (*disc_callback)(struct fc_lport *,
863 struct fc_lport { struct
935 void (*recv)(struct fc_lport *, struct fc_frame *); argument
953 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
963 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
973 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwnn) in fc_set_wwpn()
983 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
995 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
1007 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
1016 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
1029 static inline struct fc_lport *
1032 struct fc_lport *lport; in libfc_host_alloc()
1058 int fc_lport_init(struct fc_lport *);
1059 int fc_lport_destroy(struct fc_lport *);
1060 int fc_fabric_logoff(struct fc_lport *);
1061 int fc_fabric_login(struct fc_lport *);
1062 void __fc_linkup(struct fc_lport *);
1063 void fc_linkup(struct fc_lport *);
1064 void __fc_linkdown(struct fc_lport *);
1065 void fc_linkdown(struct fc_lport *);
1066 void fc_vport_setlink(struct fc_lport *);
1067 void fc_vports_linkchange(struct fc_lport *);
1068 int fc_lport_config(struct fc_lport *);
1069 int fc_lport_reset(struct fc_lport *);
1070 int fc_set_mfs(struct fc_lport *, u32 mfs);
1071 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
1072 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
1074 void fc_lport_set_local_id(struct fc_lport *, u32 port_id);
1075 void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
1080 int fc_rport_init(struct fc_lport *);
1086 void fc_disc_init(struct fc_lport *);
1087 void fc_disc_config(struct fc_lport *, void *);
1089 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport()
1091 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
1097 int fc_fcp_init(struct fc_lport *);
1098 void fc_fcp_destroy(struct fc_lport *);
1112 int fc_elsct_init(struct fc_lport *);
1113 struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did,
1131 int fc_exch_init(struct fc_lport *);
1132 void fc_exch_update_stats(struct fc_lport *lport);
1133 struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
1137 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst);
1138 struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *, enum fc_class class,
1141 void fc_exch_mgr_free(struct fc_lport *);
1142 void fc_exch_recv(struct fc_lport *, struct fc_frame *);
1143 void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);