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;
495 io_req = (struct bnx2fc_cmd *) listp;
521 struct bnx2fc_cmd *io_req = container_of(ref,
522 struct bnx2fc_cmd, refcount);
546 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req)
581 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req)
669 struct bnx2fc_cmd *io_req;
821 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req)
829 struct bnx2fc_cmd *abts_io_req;
930 int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset,
936 struct bnx2fc_cmd *seq_clnp_req;
998 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req)
1003 struct bnx2fc_cmd *cleanup_io_req;
1083 static int bnx2fc_abts_cleanup(struct bnx2fc_cmd *io_req)
1129 struct bnx2fc_cmd *io_req;
1150 io_req = (struct bnx2fc_cmd *)sc_cmd->SCp.ptr;
1286 void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
1291 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req;
1321 void bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req,
1353 void bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req,
1453 static void bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req)
1457 struct bnx2fc_cmd *cmd, *tmp;
1491 static void bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req)
1494 struct bnx2fc_cmd *cmd, *tmp;
1522 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req,
1622 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
1647 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req)
1693 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req)
1723 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req)
1740 void bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req,
1759 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
1849 struct bnx2fc_cmd *io_req;
1907 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req,
2027 struct bnx2fc_cmd *io_req)