Lines Matching defs:libfc_function_template
461 struct libfc_function_template { struct
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 *,
553 void (*seq_els_rsp_send)(struct fc_frame *, enum fc_els_cmd,
566 int (*seq_exch_abort)(const struct fc_seq *,
575 void (*exch_done)(struct fc_seq *);
582 struct fc_seq *(*seq_start_next)(struct fc_seq *);
589 void (*seq_set_resp)(struct fc_seq *sp,
599 struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *);
606 void (*seq_release)(struct fc_seq *);
615 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
622 void (*rport_flush_queue)(void);
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);
676 int (*rport_login)(struct fc_rport_priv *);
684 int (*rport_logoff)(struct fc_rport_priv *);
691 void (*rport_recv_req)(struct fc_lport *, struct fc_frame *);
698 struct fc_rport_priv *(*rport_lookup)(const struct fc_lport *, u32);
704 void (*rport_destroy)(struct kref *);
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 *,
763 void (*disc_stop) (struct fc_lport *);
772 void (*disc_stop_final) (struct fc_lport *);