Searched refs:lmrc_mpt_cmd_t (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc.h | 33 typedef struct lmrc_mpt_cmd lmrc_mpt_cmd_t; typedef 104 typedef void (lmrc_mpt_cmd_cb_t)(lmrc_t *, lmrc_mpt_cmd_t *); 146 lmrc_mpt_cmd_t *mfi_mpt; 152 lmrc_mpt_cmd_t *sc_mpt; 181 lmrc_mpt_cmd_t **l_mpt_cmds; 276 void lmrc_dma_build_sgl(lmrc_t *, lmrc_mpt_cmd_t *, const ddi_dma_cookie_t *, 291 lmrc_atomic_req_desc_t lmrc_build_atomic_request(lmrc_t *, lmrc_mpt_cmd_t *, 313 int lmrc_poll_for_reply(lmrc_t *, lmrc_mpt_cmd_t *); 316 int lmrc_abort_mpt(lmrc_t *, lmrc_tgt_t *, lmrc_mpt_cmd_t *); 317 lmrc_mpt_cmd_t *lmrc_get_mpt(lmrc_t *); [all …]
|
H A D | lmrc_ddi.c | 355 list_create(&lmrc->l_mpt_cmd_list, sizeof (lmrc_mpt_cmd_t), in lmrc_ctrl_attach() 356 offsetof(lmrc_mpt_cmd_t, mpt_node)); in lmrc_ctrl_attach() 386 list_create(&tgt->tgt_mpt_active, sizeof (lmrc_mpt_cmd_t), in lmrc_ctrl_attach() 387 offsetof(lmrc_mpt_cmd_t, mpt_node)); in lmrc_ctrl_attach() 937 lmrc_mpt_cmd_t **cmds; in lmrc_alloc_mpt_cmds() 938 lmrc_mpt_cmd_t *cmd; in lmrc_alloc_mpt_cmds() 952 kmem_zalloc(ncmd * sizeof (lmrc_mpt_cmd_t *), KM_SLEEP); in lmrc_alloc_mpt_cmds() 954 cmd = kmem_zalloc(sizeof (lmrc_mpt_cmd_t), KM_SLEEP); in lmrc_alloc_mpt_cmds() 1013 kmem_free(cmd, sizeof (lmrc_mpt_cmd_t)); in lmrc_alloc_mpt_cmds() 1023 lmrc_mpt_cmd_t *cmd; in lmrc_free_mpt_cmds() [all …]
|
H A D | lmrc_scsa.c | 234 lmrc_mpt_cmd_t *mpt; in lmrc_tran_start() 388 lmrc_mpt_cmd_t *mpt; in lmrc_task_mgmt() 481 lmrc_abort_mpt(lmrc_t *lmrc, lmrc_tgt_t *tgt, lmrc_mpt_cmd_t *mpt) in lmrc_abort_mpt() 502 lmrc_mpt_cmd_t *mpt; in lmrc_tran_abort() 629 lmrc_mpt_cmd_t *mpt; in lmrc_tran_setup_pkt() 707 lmrc_mpt_cmd_t *mpt; in lmrc_tran_teardown_pkt()
|
H A D | lmrc.c | 48 static void lmrc_process_mptmfi_passthru(lmrc_t *, lmrc_mpt_cmd_t *); 211 lmrc_build_atomic_request(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt, uint8_t flags) in lmrc_build_atomic_request() 373 lmrc_poll_for_reply(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt) in lmrc_poll_for_reply() 439 lmrc_mpt_cmd_t *mpt = lmrc->l_mpt_cmds[smid - 1]; in lmrc_process_replies() 540 lmrc_mpt_cmd_t *mpt; in lmrc_build_mptmfi_passthru() 580 lmrc_process_mptmfi_passthru(lmrc_t *lmrc, lmrc_mpt_cmd_t *mpt) in lmrc_process_mptmfi_passthru() 1079 lmrc_mpt_cmd_t *mpt; in lmrc_tgt_complete_cmds() 1114 lmrc_mpt_cmd_t *mpt; in lmrc_tgt_timeout_cmds() 1878 lmrc_mpt_cmd_t * 1881 lmrc_mpt_cmd_t *mpt; in lmrc_get_mpt() [all …]
|