Lines Matching refs:fc_fcp_pkt
51 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr)
81 static void fc_fcp_recv_data(struct fc_fcp_pkt *, struct fc_frame *);
83 static void fc_fcp_resp(struct fc_fcp_pkt *, struct fc_frame *);
84 static void fc_fcp_complete_locked(struct fc_fcp_pkt *);
86 static void fc_fcp_error(struct fc_fcp_pkt *, struct fc_frame *);
87 static void fc_fcp_recovery(struct fc_fcp_pkt *, u8 code);
89 static void fc_fcp_rec(struct fc_fcp_pkt *);
90 static void fc_fcp_rec_error(struct fc_fcp_pkt *, struct fc_frame *);
92 static void fc_io_compl(struct fc_fcp_pkt *);
94 static void fc_fcp_srr(struct fc_fcp_pkt *, enum fc_rctl, u32);
96 static void fc_fcp_srr_error(struct fc_fcp_pkt *, struct fc_frame *);
135 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
138 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc()
163 static void fc_fcp_pkt_release(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_release()
176 static void fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_hold()
214 static inline int fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp) in fc_fcp_lock_pkt()
231 static inline void fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp) in fc_fcp_unlock_pkt()
242 static void fc_fcp_timer_set(struct fc_fcp_pkt *fsp, unsigned long delay) in fc_fcp_timer_set()
250 static void fc_fcp_abort_done(struct fc_fcp_pkt *fsp) in fc_fcp_abort_done()
266 static int fc_fcp_send_abort(struct fc_fcp_pkt *fsp) in fc_fcp_send_abort()
299 static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp, int status_code) in fc_fcp_retry_cmd()
317 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) in fc_fcp_ddp_setup()
335 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) in fc_fcp_ddp_done()
459 static inline unsigned int get_fsp_rec_tov(struct fc_fcp_pkt *fsp) in get_fsp_rec_tov()
474 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_recv_data()
594 static int fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, in fc_fcp_send_data()
741 static void fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_abts_resp()
780 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; in fc_fcp_recv()
853 static void fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_resp()
983 static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) in fc_fcp_complete_locked()
1046 static void fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error) in fc_fcp_cleanup_cmd()
1068 struct fc_fcp_pkt *fsp; in fc_fcp_cleanup_each_cmd()
1134 static int fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) in fc_fcp_pkt_send()
1167 static int fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, in fc_fcp_cmd_send()
1220 static void fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_error()
1249 static int fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_abort()
1291 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); in fc_lun_reset_send()
1313 static int fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, in fc_lun_reset()
1369 struct fc_fcp_pkt *fsp = arg; in fc_tm_done()
1424 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); in fc_fcp_timeout()
1460 static void fc_fcp_rec(struct fc_fcp_pkt *fsp) in fc_fcp_rec()
1511 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; in fc_fcp_rec_resp()
1653 static void fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_rec_error()
1697 static void fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) in fc_fcp_recovery()
1718 static void fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset) in fc_fcp_srr()
1774 struct fc_fcp_pkt *fsp = arg; in fc_fcp_srr_resp()
1819 static void fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_srr_error()
1865 struct fc_fcp_pkt *fsp; in fc_queuecommand()
1958 static void fc_io_compl(struct fc_fcp_pkt *fsp) in fc_io_compl()
2105 struct fc_fcp_pkt *fsp; in fc_eh_abort()
2159 struct fc_fcp_pkt *fsp; in fc_eh_device_reset()
2273 sizeof(struct fc_fcp_pkt), in fc_setup_fcp()