Lines Matching refs:bnx2fc_cmd

19 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
21 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req);
22 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req);
23 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req);
24 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req);
25 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
29 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req, in bnx2fc_cmd_timer_set()
42 struct bnx2fc_cmd *io_req = container_of(work, struct bnx2fc_cmd, in bnx2fc_cmd_timeout()
162 static void bnx2fc_scsi_done(struct bnx2fc_cmd *io_req, int err_code) in bnx2fc_scsi_done()
215 struct bnx2fc_cmd *io_req; in bnx2fc_cmd_mgr_alloc()
234 len = (num_ios * (sizeof(struct bnx2fc_cmd *))); in bnx2fc_cmd_mgr_alloc()
260 cmgr->cmds = (struct bnx2fc_cmd **)(cmgr + 1); in bnx2fc_cmd_mgr_alloc()
380 struct bnx2fc_cmd *tmp, *io_req; in bnx2fc_cmd_mgr_free()
394 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) in bnx2fc_elstm_alloc()
399 struct bnx2fc_cmd *io_req; in bnx2fc_elstm_alloc()
440 io_req = (struct bnx2fc_cmd *) listp; in bnx2fc_elstm_alloc()
464 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt) in bnx2fc_cmd_alloc()
469 struct bnx2fc_cmd *io_req; in bnx2fc_cmd_alloc()
494 io_req = (struct bnx2fc_cmd *) listp; in bnx2fc_cmd_alloc()
519 struct bnx2fc_cmd *io_req = container_of(ref, in bnx2fc_cmd_release()
520 struct bnx2fc_cmd, refcount); in bnx2fc_cmd_release()
544 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req) in bnx2fc_free_mp_resc()
579 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) in bnx2fc_init_mp_req()
667 struct bnx2fc_cmd *io_req; in bnx2fc_initiate_tmf()
819 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_abts()
827 struct bnx2fc_cmd *abts_io_req; in bnx2fc_initiate_abts()
928 int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset, in bnx2fc_initiate_seq_cleanup()
934 struct bnx2fc_cmd *seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
996 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_cleanup()
1001 struct bnx2fc_cmd *cleanup_io_req; in bnx2fc_initiate_cleanup()
1081 static int bnx2fc_abts_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_abts_cleanup()
1127 struct bnx2fc_cmd *io_req; in bnx2fc_eh_abort()
1284 void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req, in bnx2fc_process_seq_cleanup_compl()
1289 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1319 void bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_cleanup_compl()
1351 void bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_abts_compl()
1451 static void bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_lun_reset_cmpl()
1455 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_lun_reset_cmpl()
1489 static void bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_tgt_reset_cmpl()
1492 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_tgt_reset_cmpl()
1520 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_tm_compl()
1620 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len, in bnx2fc_split_bd()
1645 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req) in bnx2fc_map_sg()
1691 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req) in bnx2fc_build_bd_list_from_sg()
1721 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req) in bnx2fc_unmap_sg_list()
1738 void bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, in bnx2fc_build_fcp_cmnd()
1757 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req, in bnx2fc_parse_fcp_rsp()
1846 struct bnx2fc_cmd *io_req; in bnx2fc_queuecommand()
1904 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_scsi_cmd_compl()
2024 struct bnx2fc_cmd *io_req) in bnx2fc_post_io_req()