Lines Matching refs:bnx2fc_cmd
18 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
20 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req);
21 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req);
22 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req);
23 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req);
24 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
28 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req, in bnx2fc_cmd_timer_set()
41 struct bnx2fc_cmd *io_req = container_of(work, struct bnx2fc_cmd, in bnx2fc_cmd_timeout()
161 static void bnx2fc_scsi_done(struct bnx2fc_cmd *io_req, int err_code) in bnx2fc_scsi_done()
202 struct bnx2fc_cmd *io_req; in bnx2fc_cmd_mgr_alloc()
221 len = (num_ios * (sizeof(struct bnx2fc_cmd *))); in bnx2fc_cmd_mgr_alloc()
247 cmgr->cmds = (struct bnx2fc_cmd **)(cmgr + 1); in bnx2fc_cmd_mgr_alloc()
367 struct bnx2fc_cmd *tmp, *io_req; in bnx2fc_cmd_mgr_free()
381 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) in bnx2fc_elstm_alloc()
386 struct bnx2fc_cmd *io_req; in bnx2fc_elstm_alloc()
427 io_req = (struct bnx2fc_cmd *) listp; in bnx2fc_elstm_alloc()
451 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt) in bnx2fc_cmd_alloc()
456 struct bnx2fc_cmd *io_req; in bnx2fc_cmd_alloc()
482 io_req = (struct bnx2fc_cmd *) listp; in bnx2fc_cmd_alloc()
508 struct bnx2fc_cmd *io_req = container_of(ref, in bnx2fc_cmd_release()
509 struct bnx2fc_cmd, refcount); in bnx2fc_cmd_release()
533 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req) in bnx2fc_free_mp_resc()
568 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) in bnx2fc_init_mp_req()
656 struct bnx2fc_cmd *io_req; in bnx2fc_initiate_tmf()
807 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_abts()
815 struct bnx2fc_cmd *abts_io_req; in bnx2fc_initiate_abts()
916 int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset, in bnx2fc_initiate_seq_cleanup()
923 struct bnx2fc_cmd *seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
986 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_initiate_cleanup()
992 struct bnx2fc_cmd *cleanup_io_req; in bnx2fc_initiate_cleanup()
1070 int bnx2fc_abts_cleanup(struct bnx2fc_cmd *io_req) in bnx2fc_abts_cleanup()
1104 struct bnx2fc_cmd *io_req; in bnx2fc_eh_abort()
1125 io_req = (struct bnx2fc_cmd *)sc_cmd->SCp.ptr; in bnx2fc_eh_abort()
1250 void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req, in bnx2fc_process_seq_cleanup_compl()
1255 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1285 void bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_cleanup_compl()
1298 void bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_abts_compl()
1388 static void bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_lun_reset_cmpl()
1392 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_lun_reset_cmpl()
1426 static void bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req) in bnx2fc_tgt_reset_cmpl()
1429 struct bnx2fc_cmd *cmd, *tmp; in bnx2fc_tgt_reset_cmpl()
1457 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_tm_compl()
1556 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len, in bnx2fc_split_bd()
1581 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req) in bnx2fc_map_sg()
1626 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req) in bnx2fc_build_bd_list_from_sg()
1646 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req) in bnx2fc_unmap_sg_list()
1663 void bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, in bnx2fc_build_fcp_cmnd()
1682 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req, in bnx2fc_parse_fcp_rsp()
1787 struct bnx2fc_cmd *io_req; in bnx2fc_queuecommand()
1845 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req, in bnx2fc_process_scsi_cmd_compl()
1942 struct bnx2fc_cmd *io_req) in bnx2fc_post_io_req()