lmrc_mpt_cmd_t
lmrc_mpt_cmd_t *mpt;
lmrc_mpt_cmd_t *mpt;
lmrc_mpt_cmd_t *
lmrc_mpt_cmd_t *mpt;
lmrc_put_mpt(lmrc_mpt_cmd_t *mpt)
lmrc_build_atomic_request(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt, uint8_t flags)
lmrc_poll_for_reply(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt)
lmrc_mpt_cmd_t *mpt = lmrc->l_mpt_cmds[smid - 1];
static void lmrc_process_mptmfi_passthru(lmrc_t *, lmrc_mpt_cmd_t *);
lmrc_mpt_cmd_t *mpt;
lmrc_process_mptmfi_passthru(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt)
typedef void (lmrc_mpt_cmd_cb_t)(lmrc_t *, lmrc_mpt_cmd_t *);
lmrc_mpt_cmd_t *mfi_mpt;
lmrc_mpt_cmd_t *sc_mpt;
lmrc_mpt_cmd_t **l_mpt_cmds;
void lmrc_dma_build_sgl(lmrc_t *, lmrc_mpt_cmd_t *, const ddi_dma_cookie_t *,
lmrc_atomic_req_desc_t lmrc_build_atomic_request(lmrc_t *, lmrc_mpt_cmd_t *,
int lmrc_poll_for_reply(lmrc_t *, lmrc_mpt_cmd_t *);
int lmrc_abort_mpt(lmrc_t *, lmrc_tgt_t *, lmrc_mpt_cmd_t *);
lmrc_mpt_cmd_t *lmrc_get_mpt(lmrc_t *);
void lmrc_put_mpt(lmrc_mpt_cmd_t *);
static inline lmrc_mpt_cmd_t *
lmrc_mpt_cmd_t *mpt = list_head(&tgt->tgt_mpt_active);
static inline lmrc_mpt_cmd_t *
lmrc_tgt_next_active_mpt(lmrc_tgt_t *tgt, lmrc_mpt_cmd_t *mpt)
lmrc_mpt_cmd_t *nextmpt;
lmrc_tgt_add_active_mpt(lmrc_tgt_t *tgt, lmrc_mpt_cmd_t *mpt)
lmrc_tgt_rem_active_mpt(lmrc_tgt_t *tgt, lmrc_mpt_cmd_t *mpt)
kmem_free(cmd, sizeof (lmrc_mpt_cmd_t));
lmrc_mpt_cmd_t *cmd;
kmem_free(cmd, sizeof (lmrc_mpt_cmd_t));
kmem_free(lmrc->l_mpt_cmds, ncmd * sizeof (lmrc_mpt_cmd_t *));
lmrc_dma_build_sgl(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt,
list_create(&lmrc->l_mpt_cmd_list, sizeof (lmrc_mpt_cmd_t),
offsetof(lmrc_mpt_cmd_t, mpt_node));
list_create(&tgt->tgt_mpt_active, sizeof (lmrc_mpt_cmd_t),
offsetof(lmrc_mpt_cmd_t, mpt_node));
lmrc_mpt_cmd_t **cmds;
lmrc_mpt_cmd_t *cmd;
kmem_zalloc(ncmd * sizeof (lmrc_mpt_cmd_t *), KM_SLEEP);
cmd = kmem_zalloc(sizeof (lmrc_mpt_cmd_t), KM_SLEEP);
lmrc_mpt_cmd_t *mpt;
lmrc_mpt_cmd_t *mpt;
lmrc_abort_mpt(lmrc_t *lmrc, lmrc_tgt_t *tgt, lmrc_mpt_cmd_t *mpt)
lmrc_mpt_cmd_t *mpt;
lmrc_mpt_cmd_t *mpt;
lmrc_mpt_cmd_t *mpt;