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,
42 struct bnx2fc_cmd *io_req = container_of(work, struct bnx2fc_cmd,
162 static void bnx2fc_scsi_done(struct bnx2fc_cmd *io_req, int err_code)
215 struct bnx2fc_cmd *io_req;
234 len = (num_ios * (sizeof(struct bnx2fc_cmd *)));
260 cmgr->cmds = (struct bnx2fc_cmd **)(cmgr + 1);
296 /* Allocate pool of io_bdts - one for each bnx2fc_cmd */
380 struct bnx2fc_cmd *tmp, *io_req;
394 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type)
399 struct bnx2fc_cmd *io_req;
440 io_req = (struct bnx2fc_cmd *) listp;
464 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt)
469 struct bnx2fc_cmd *io_req;
494 io_req = (struct bnx2fc_cmd *) listp;
519 struct bnx2fc_cmd *io_req = container_of(ref,
520 struct bnx2fc_cmd, refcount);
544 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req)
579 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req)
667 struct bnx2fc_cmd *io_req;
819 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req)
827 struct bnx2fc_cmd *abts_io_req;
928 int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset,
934 struct bnx2fc_cmd *seq_clnp_req;
996 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req)
1001 struct bnx2fc_cmd *cleanup_io_req;
1081 static int bnx2fc_abts_cleanup(struct bnx2fc_cmd *io_req)
1127 struct bnx2fc_cmd *io_req;
1284 void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
1289 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req;
1319 void bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req,
1351 void bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req,
1451 static void bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req)
1455 struct bnx2fc_cmd *cmd, *tmp;
1489 static void bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req)
1492 struct bnx2fc_cmd *cmd, *tmp;
1520 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req,
1620 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
1645 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req)
1691 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req)
1721 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req)
1738 void bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req,
1757 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
1846 struct bnx2fc_cmd *io_req;
1904 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req,
2024 struct bnx2fc_cmd *io_req)