Lines Matching refs:fc_fcp_pkt
63 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr)
93 static void fc_fcp_recv_data(struct fc_fcp_pkt *, struct fc_frame *);
95 static void fc_fcp_resp(struct fc_fcp_pkt *, struct fc_frame *);
96 static void fc_fcp_complete_locked(struct fc_fcp_pkt *);
98 static void fc_fcp_error(struct fc_fcp_pkt *, struct fc_frame *);
99 static void fc_fcp_recovery(struct fc_fcp_pkt *, u8 code);
101 static void fc_fcp_rec(struct fc_fcp_pkt *);
102 static void fc_fcp_rec_error(struct fc_fcp_pkt *, struct fc_frame *);
104 static void fc_io_compl(struct fc_fcp_pkt *);
106 static void fc_fcp_srr(struct fc_fcp_pkt *, enum fc_rctl, u32);
108 static void fc_fcp_srr_error(struct fc_fcp_pkt *, struct fc_frame *);
147 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
150 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc()
175 static void fc_fcp_pkt_release(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_release()
188 static void fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_hold()
226 static inline int fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp) in fc_fcp_lock_pkt()
243 static inline void fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp) in fc_fcp_unlock_pkt()
254 static void fc_fcp_timer_set(struct fc_fcp_pkt *fsp, unsigned long delay) in fc_fcp_timer_set()
262 static void fc_fcp_abort_done(struct fc_fcp_pkt *fsp) in fc_fcp_abort_done()
278 static int fc_fcp_send_abort(struct fc_fcp_pkt *fsp) in fc_fcp_send_abort()
310 static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp, int status_code) in fc_fcp_retry_cmd()
328 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) in fc_fcp_ddp_setup()
346 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) in fc_fcp_ddp_done()
470 static inline unsigned int get_fsp_rec_tov(struct fc_fcp_pkt *fsp) in get_fsp_rec_tov()
485 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_recv_data()
605 static int fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq, in fc_fcp_send_data()
752 static void fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_abts_resp()
791 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; in fc_fcp_recv()
864 static void fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_resp()
994 static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) in fc_fcp_complete_locked()
1057 static void fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error) in fc_fcp_cleanup_cmd()
1079 struct fc_fcp_pkt *fsp; in fc_fcp_cleanup_each_cmd()
1145 static int fc_fcp_pkt_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp) in fc_fcp_pkt_send()
1178 static int fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, in fc_fcp_cmd_send()
1231 static void fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_error()
1260 static int fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) in fc_fcp_pkt_abort()
1302 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); in fc_lun_reset_send()
1324 static int fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, in fc_lun_reset()
1380 struct fc_fcp_pkt *fsp = arg; in fc_tm_done()
1435 struct fc_fcp_pkt *fsp = from_timer(fsp, t, timer); in fc_fcp_timeout()
1471 static void fc_fcp_rec(struct fc_fcp_pkt *fsp) in fc_fcp_rec()
1522 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; in fc_fcp_rec_resp()
1664 static void fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_rec_error()
1707 static void fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) in fc_fcp_recovery()
1727 static void fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset) in fc_fcp_srr()
1783 struct fc_fcp_pkt *fsp = arg; in fc_fcp_srr_resp()
1828 static void fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) in fc_fcp_srr_error()
1874 struct fc_fcp_pkt *fsp; in fc_queuecommand()
1970 static void fc_io_compl(struct fc_fcp_pkt *fsp) in fc_io_compl()
2117 struct fc_fcp_pkt *fsp; in fc_eh_abort()
2171 struct fc_fcp_pkt *fsp; in fc_eh_device_reset()
2285 sizeof(struct fc_fcp_pkt), in fc_setup_fcp()