Searched refs:tmf (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_scsi.c | 360 struct pci_vtscsi_ctrl_tmf *tmf; in pci_vtscsi_control_handle() local 372 if (bufsize != sizeof(*tmf)) { in pci_vtscsi_control_handle() 376 tmf = (struct pci_vtscsi_ctrl_tmf *)buf; in pci_vtscsi_control_handle() 377 return (pci_vtscsi_tmf_handle(sc, tmf)); in pci_vtscsi_control_handle() 394 struct pci_vtscsi_ctrl_tmf *tmf) in pci_vtscsi_tmf_handle() argument 404 io->io_hdr.nexus.targ_lun = pci_vtscsi_get_lun(tmf->lun); in pci_vtscsi_tmf_handle() 406 io->taskio.tag_num = tmf->id; in pci_vtscsi_tmf_handle() 409 switch (tmf->subtype) { in pci_vtscsi_tmf_handle() 455 tmf->response = io->taskio.task_status; in pci_vtscsi_tmf_handle()
|
/illumos-gate/usr/src/uts/common/io/vioscsi/ |
H A D | vioscsi.c | 90 vioscsi_tmf_req_t *tmf; in vioscsi_tmf() local 98 tmf = &req.vr_req->tmf; in vioscsi_tmf() 99 res = &req.vr_res->tmf; in vioscsi_tmf() 101 tmf->type = VIRTIO_SCSI_T_TMF; in vioscsi_tmf() 102 tmf->subtype = func; in vioscsi_tmf() 103 tmf->lun[0] = 1; in vioscsi_tmf() 104 tmf->lun[1] = target; in vioscsi_tmf() 105 tmf->lun[2] = 0x40 | (lun >> 8); in vioscsi_tmf() 106 tmf->lun[3] = lun & 0xff; in vioscsi_tmf() 107 tmf->tag = (uint64_t)task; in vioscsi_tmf() [all …]
|
H A D | vioscsi.h | 212 struct virtio_scsi_ctrl_tmf_req tmf; member 218 struct virtio_scsi_ctrl_tmf_resp tmf; member
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 5053 pmcs_ssp_tmf(pmcs_hw_t *pwp, pmcs_phy_t *pptr, uint8_t tmf, uint32_t tag, in pmcs_ssp_tmf() argument 5081 if (tmf == SAS_ABORT_TASK || tmf == SAS_QUERY_TASK) { in pmcs_ssp_tmf() 5086 msg[4] = LE_32(tmf); in pmcs_ssp_tmf() 5113 pmcs_tmf2str(tmf), pmcs_status_str in pmcs_ssp_tmf() 5122 pmcs_tmf2str(tmf), pptr->path, (unsigned long long) lun, tag); in pmcs_ssp_tmf() 5152 __func__, pmcs_status_str(status), pmcs_tmf2str(tmf), in pmcs_ssp_tmf() 5517 pmcs_tmf2str(int tmf) in pmcs_tmf2str() argument 5519 switch (tmf) { in pmcs_tmf2str()
|