Home
last modified time | relevance | path

Searched refs:smrt_command_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/scsi/adapters/smrt/
H A Dsmrt.h229 typedef struct smrt_command smrt_command_t; typedef
360 smrt_command_t *smrt_event_cmd;
361 smrt_command_t *smrt_event_cancel_cmd;
621 smrt_command_t *smcms_command;
630 int smrt_submit(smrt_t *, smrt_command_t *);
631 void smrt_submit_simple(smrt_t *, smrt_command_t *);
634 int smrt_poll_for(smrt_t *, smrt_command_t *);
635 int smrt_preinit_command_simple(smrt_t *, smrt_command_t *);
698 void smrt_hba_complete(smrt_command_t *);
706 smrt_command_t *smrt_command_alloc(smrt_t *, smrt_command_type_t,
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_commands.c152 static smrt_command_t *
155 smrt_command_t *smcm; in smrt_command_alloc_impl()
204 smrt_command_t *
207 smrt_command_t *smcm; in smrt_command_alloc_preinit()
231 smrt_command_t *
234 smrt_command_t *smcm; in smrt_command_alloc()
253 smrt_command_attach_internal(smrt_t *smrt, smrt_command_t *smcm, size_t len, in smrt_command_attach_internal()
284 smrt_command_reuse(smrt_command_t *smcm) in smrt_command_reuse()
314 smrt_command_free(smrt_command_t *smcm) in smrt_command_free()
351 smrt_command_t *
[all …]
H A Dsmrt_ciss.c206 smrt_write_message_common(smrt_command_t *smcm, uint8_t type, int timeout_secs) in smrt_write_message_common()
227 smrt_write_message_abort_one(smrt_command_t *smcm, uint32_t tag) in smrt_write_message_abort_one()
256 smrt_write_message_abort_all(smrt_command_t *smcm, LUNAddr_t *addr) in smrt_write_message_abort_all()
274 smrt_write_message_event_notify(smrt_command_t *smcm) in smrt_write_message_event_notify()
297 smrt_write_message_cancel_event_notify(smrt_command_t *smcm) in smrt_write_message_cancel_event_notify()
319 smrt_write_message_reset_ctlr(smrt_command_t *smcm) in smrt_write_message_reset_ctlr()
330 smrt_write_message_nop(smrt_command_t *smcm, int timeout_secs) in smrt_write_message_nop()
393 for (smrt_command_t *smcm = avl_first(&smrt->smrt_inflight); in smrt_periodic()
480 smrt_set_new_tag(smrt_t *smrt, smrt_command_t *smcm) in smrt_set_new_tag()
518 smrt_submit(smrt_t *smrt, smrt_command_t *smcm) in smrt_submit()
[all …]
H A Dsmrt.c274 list_create(&smrt->smrt_commands, sizeof (smrt_command_t), in smrt_attach()
275 offsetof(smrt_command_t, smcm_link)); in smrt_attach()
276 list_create(&smrt->smrt_finishq, sizeof (smrt_command_t), in smrt_attach()
277 offsetof(smrt_command_t, smcm_link_finish)); in smrt_attach()
278 list_create(&smrt->smrt_abortq, sizeof (smrt_command_t), in smrt_attach()
279 offsetof(smrt_command_t, smcm_link_abort)); in smrt_attach()
287 sizeof (smrt_command_t), offsetof(smrt_command_t, in smrt_attach()
555 const smrt_command_t *l = lp; in smrt_command_comparator()
556 const smrt_command_t *r = rp; in smrt_command_comparator()
H A Dsmrt_ciss_simple.c90 smrt_command_t *smcm; in smrt_retrieve_simple()
117 smrt_submit_simple(smrt_t *smrt, smrt_command_t *smcm) in smrt_submit_simple()
131 smrt_preinit_command_simple(smrt_t *smrt, smrt_command_t *smcm) in smrt_preinit_command_simple()
H A Dsmrt_hba.c298 smrt_command_t *smcm; in smrt_tran_setup_pkt()
348 smrt_command_t *smcm = smcms->smcms_command; in smrt_tran_teardown_pkt()
396 smrt_fake_report_lun(smrt_command_t *smcm, struct scsi_pkt *pkt) in smrt_fake_report_lun()
450 smrt_command_t *smcm; in smrt_tran_start()
668 smrt_command_t *smcm; in smrt_tran_reset()
797 smrt_command_t *smcm = NULL; in smrt_tran_abort()
798 smrt_command_t *abort_smcm; in smrt_tran_abort()
904 smrt_hba_complete_status(smrt_command_t *smcm) in smrt_hba_complete_status()
975 smrt_hba_complete_log_error(smrt_command_t *smcm, const char *name) in smrt_hba_complete_log_error()
991 smrt_hba_complete(smrt_command_t *smcm) in smrt_hba_complete()
H A Dsmrt_sata.c37 smrt_command_t *smcm; in smrt_sata_determine_wwn()
H A Dsmrt_physical.c114 smrt_command_t *smcm = NULL; in smrt_phys_identify()
385 smrt_command_t *smcm; in smrt_phys_discover()
H A Dsmrt_logvol.c178 smrt_command_t *smcm; in smrt_logvol_discover()