mrsas_mpt_cmd
struct mrsas_mpt_cmd *mpt_cmd;
extern void mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd);
extern struct mrsas_mpt_cmd *mrsas_get_mpt_cmd(struct mrsas_softc *sc);
struct mrsas_mpt_cmd *cmd_mpt, *r1_cmd = NULL;
void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd);
void mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd,
mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, union ccb *ccb_ptr, u_int8_t status,
struct mrsas_mpt_cmd *cmd;
sc->mpt_cmd_list = malloc(sizeof(struct mrsas_mpt_cmd *) * max_fw_cmds,
memset(sc->mpt_cmd_list, 0, sizeof(struct mrsas_mpt_cmd *) * max_fw_cmds);
sc->mpt_cmd_list[i] = malloc(sizeof(struct mrsas_mpt_cmd),
memset(cmd, 0, sizeof(struct mrsas_mpt_cmd));
struct mrsas_mpt_cmd *mpt_cmd;
struct mrsas_mpt_cmd *cmd_mpt;
struct mrsas_mpt_cmd *cmd_mpt;
struct mrsas_mpt_cmd *mpt_cmd;
struct mrsas_mpt_cmd *peer_cmd;
TAILQ_ENTRY(mrsas_mpt_cmd) next;
struct mrsas_mpt_cmd **mpt_cmd_list;
TAILQ_HEAD(, mrsas_mpt_cmd) mrsas_mpt_cmd_list_head;
struct mrsas_mpt_cmd *target_reset_pool[MRSAS_MAX_TM_TARGETS];
static boolean_t mrsas_is_prp_possible(struct mrsas_mpt_cmd *cmd,
static void mrsas_build_ieee_sgl(struct mrsas_mpt_cmd *cmd,
static void mrsas_build_prp_nvme(struct mrsas_mpt_cmd *cmd,
struct mrsas_mpt_cmd *mrsas_get_mpt_cmd(struct mrsas_softc *sc);
mrsas_build_ldio_nonrw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
static boolean_t mrsas_is_prp_possible(struct mrsas_mpt_cmd *cmd,
struct mrsas_mpt_cmd *cmd, union ccb *ccb)
struct mrsas_mpt_cmd *cmd);
mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd)
static void mrsas_build_ieee_sgl(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg)
static void mrsas_build_prp_nvme(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg)
struct mrsas_mpt_cmd *cmd = (struct mrsas_mpt_cmd *)arg;
mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim)
mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd)
struct mrsas_mpt_cmd *mpt_cmd = NULL;
struct mrsas_mpt_cmd *tm_mpt_cmd = NULL;
struct mrsas_mpt_cmd *tgt_mpt_cmd = NULL;
struct mrsas_mpt_cmd *cmd;
cmd = (struct mrsas_mpt_cmd *)data;
struct mrsas_mpt_cmd *cmd, *r1_cmd = NULL;
struct mrsas_mpt_cmd *cmd, union ccb *ccb);
mrsas_build_ldio_rw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
struct mrsas_mpt_cmd *
struct mrsas_mpt_cmd *cmd = NULL;
mrsas_build_ldio_nonrw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd)
mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
struct mrsas_mpt_cmd *cmd)
struct mrsas_mpt_cmd *r1_cmd;
mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
mrsas_build_ldio_rw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd);
void mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd);
void mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd);
mrsas_stream_detect(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim);
struct mrsas_mpt_cmd *r1_cmd = NULL;