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;
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 *, u16, struct scatterlist *,
499 int (*ddp_done)(struct fc_lport *, u16);
506 int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
513 void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
522 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
541 void (*lport_set_port_id)(struct fc_lport *, u32 port_id,
549 void (*rport_event_callback)(struct fc_lport *,
561 int (*fcp_cmd_send)(struct fc_lport *, struct fc_fcp_pkt *,
570 void (*fcp_cleanup)(struct fc_lport *);
577 void (*fcp_abort_io)(struct fc_lport *);
584 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
591 void (*disc_start)(void (*disc_callback)(struct fc_lport *,
593 struct fc_lport *);
601 void (*disc_stop) (struct fc_lport *);
610 void (*disc_stop_final) (struct fc_lport *);
643 void (*disc_callback)(struct fc_lport *,
701 struct fc_lport { struct
774 void (*recv)(struct fc_lport *, struct fc_frame *); argument
792 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
802 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
812 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn()
822 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
834 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
846 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
855 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
868 static inline struct fc_lport *
871 struct fc_lport *lport; in libfc_host_alloc()
897 int fc_lport_init(struct fc_lport *);
898 int fc_lport_destroy(struct fc_lport *);
899 int fc_fabric_logoff(struct fc_lport *);
900 int fc_fabric_login(struct fc_lport *);
901 void __fc_linkup(struct fc_lport *);
902 void fc_linkup(struct fc_lport *);
903 void __fc_linkdown(struct fc_lport *);
904 void fc_linkdown(struct fc_lport *);
905 void fc_vport_setlink(struct fc_lport *);
906 void fc_vports_linkchange(struct fc_lport *);
907 int fc_lport_config(struct fc_lport *);
908 int fc_lport_reset(struct fc_lport *);
909 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
910 int fc_set_mfs(struct fc_lport *, u32 mfs);
911 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
912 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
914 void fc_lport_set_local_id(struct fc_lport *, u32 port_id);
915 void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
921 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
923 struct fc_rport_priv *fc_rport_create(struct fc_lport *, u32);
927 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
933 void fc_disc_init(struct fc_lport *);
934 void fc_disc_config(struct fc_lport *, void *);
936 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport()
938 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
944 int fc_fcp_init(struct fc_lport *);
945 void fc_fcp_destroy(struct fc_lport *);
959 int fc_elsct_init(struct fc_lport *);
960 struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did,
978 int fc_exch_init(struct fc_lport *);
979 void fc_exch_update_stats(struct fc_lport *lport);
980 struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
993 struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
995 struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
999 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst);
1000 struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *, enum fc_class class,
1003 void fc_exch_mgr_free(struct fc_lport *);
1004 void fc_exch_recv(struct fc_lport *, struct fc_frame *);
1005 void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);
1006 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);