mrsas_mpt_cmd
struct mrsas_mpt_cmd *cmd_mpt;
void mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, u_int8_t status,
extern void mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd);
void mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, u_int8_t status, u_int8_t extStatus)
extern void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd);
extern struct mrsas_mpt_cmd *mrsas_get_mpt_cmd(struct mrsas_softc *sc);
struct mrsas_mpt_cmd *cmd;
sc->mpt_cmd_list = kmalloc(sizeof(struct mrsas_mpt_cmd*)*max_cmd, M_MRSAS, M_NOWAIT);
memset(sc->mpt_cmd_list, 0, sizeof(struct mrsas_mpt_cmd *)*max_cmd);
sc->mpt_cmd_list[i] = kmalloc(sizeof(struct mrsas_mpt_cmd),
memset(cmd, 0, sizeof(struct mrsas_mpt_cmd));
struct mrsas_mpt_cmd *mpt_cmd;
struct mrsas_mpt_cmd *mpt_cmd;
struct mrsas_mpt_cmd *mpt_cmd;
TAILQ_ENTRY(mrsas_mpt_cmd) next;
struct mrsas_mpt_cmd **mpt_cmd_list;
TAILQ_HEAD(, mrsas_mpt_cmd) mrsas_mpt_cmd_list_head;
static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim)
void mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd)
struct mrsas_mpt_cmd *cmd;
cmd = (struct mrsas_mpt_cmd *)data;
struct mrsas_mpt_cmd *cmd;
struct mrsas_mpt_cmd* mrsas_get_mpt_cmd(struct mrsas_softc *sc)
struct mrsas_mpt_cmd *cmd = NULL;
int mrsas_map_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd);
void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd)
int mrsas_build_ldio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
int mrsas_build_dcdb(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
int mrsas_build_ldio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
int mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
int mrsas_setup_io(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);
static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim);
int mrsas_build_dcdb(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd,
struct mrsas_mpt_cmd * mrsas_get_mpt_cmd(struct mrsas_softc *sc);
int mrsas_map_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd)
void mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd)
struct mrsas_mpt_cmd *cmd = (struct mrsas_mpt_cmd *)arg;