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()
495 io_req = (struct bnx2fc_cmd *) listp; in bnx2fc_cmd_alloc()
521 struct bnx2fc_cmd *io_req = container_of(ref, in bnx2fc_cmd_release()
522 struct bnx2fc_cmd, refcount); in bnx2fc_cmd_release()
546 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req) in bnx2fc_free_mp_resc()
581 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) in bnx2fc_init_mp_req()
669 struct bnx2fc_cmd *io_req; in bnx2fc_initiate_tmf()
820 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_abts()
828 struct bnx2fc_cmd *abts_io_req; in bnx2fc_initiate_abts()
929 int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset, in bnx2fc_initiate_seq_cleanup()
936 struct bnx2fc_cmd *seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
999 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_cleanup()
1005 struct bnx2fc_cmd *cleanup_io_req; in bnx2fc_initiate_cleanup()
1083 static int bnx2fc_abts_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_abts_cleanup()
1128 struct bnx2fc_cmd *io_req; in bnx2fc_eh_abort()
1149 io_req = (struct bnx2fc_cmd *)sc_cmd->SCp.ptr; in bnx2fc_eh_abort()
1281 void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req, in bnx2fc_process_seq_cleanup_compl()
1286 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1316 void bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_cleanup_compl()
1329 void bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_abts_compl()
1419 static void bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_lun_reset_cmpl()
1423 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_lun_reset_cmpl()
1457 static void bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_tgt_reset_cmpl()
1460 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_tgt_reset_cmpl()
1488 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_tm_compl()
1587 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len, in bnx2fc_split_bd()
1612 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req) in bnx2fc_map_sg()
1657 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req) in bnx2fc_build_bd_list_from_sg()
1677 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req) in bnx2fc_unmap_sg_list()
1694 void bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, in bnx2fc_build_fcp_cmnd()
1713 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req, in bnx2fc_parse_fcp_rsp()
1818 struct bnx2fc_cmd *io_req; in bnx2fc_queuecommand()
1876 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_scsi_cmd_compl()
1974 struct bnx2fc_cmd *io_req) in bnx2fc_post_io_req()