Home
last modified time | relevance | path

Searched refs:uscsi (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c67 construct_scsi_pt_obj(struct uscsi_cmd *uscsi) in construct_scsi_pt_obj() argument
69 (void) memset(uscsi, 0, sizeof (struct uscsi_cmd)); in construct_scsi_pt_obj()
70 uscsi->uscsi_timeout = DEF_PT_TIMEOUT; in construct_scsi_pt_obj()
71 uscsi->uscsi_flags = USCSI_READ | USCSI_ISOLATE | USCSI_RQENABLE; in construct_scsi_pt_obj()
78 set_scsi_pt_cdb(struct uscsi_cmd *uscsi, const unsigned char *cdb, in set_scsi_pt_cdb() argument
81 uscsi->uscsi_cdb = (char *)cdb; in set_scsi_pt_cdb()
82 uscsi->uscsi_cdblen = cdb_len; in set_scsi_pt_cdb()
89 set_scsi_pt_sense(struct uscsi_cmd *uscsi, unsigned char *sense, in set_scsi_pt_sense() argument
93 uscsi->uscsi_rqbuf = (char *)sense; in set_scsi_pt_sense()
94 uscsi->uscsi_rqlen = max_sense_len; in set_scsi_pt_sense()
[all …]
/illumos-gate/usr/src/cmd/cdrw/
H A Dmmc.c48 if ((uscsi_error = uscsi(fd, scmd)) < 0) in test_unit_ready()
66 if ((uscsi_error = uscsi(fd, scmd)) < 0) in inquiry()
83 if ((uscsi_error = uscsi(fd, scmd)) < 0) in read_capacity()
110 if ((uscsi_error = uscsi(fd, scmd)) < 0) in mode_sense()
135 if ((uscsi_error = uscsi(fd, scmd)) < 0) in mode_select()
169 if ((uscsi_error = uscsi(fd, scmd)) < 0) in read_track_info()
190 if ((uscsi_error = uscsi(fd, scmd)) < 0) in read_toc()
221 if ((uscsi_error = uscsi(fd, scmd)) < 0) in read_header()
239 if ((uscsi_error = uscsi(fd, scmd)) < 0) in read_disc_info()
274 if ((uscsi_error = uscsi(fd, scmd)) < 0) in get_configuration()
[all …]
H A Dtoshiba.c68 if (uscsi(fd, scmd) < 0) in read_toc_as_per_8020()
97 ret = uscsi(target->d_fd, scmd); in toshiba_read_audio()
155 if (uscsi(dev->d_fd, scmd) < 0) in toshiba_speed_ctrl()
177 if (uscsi(dev->d_fd, scmd) < 0) in toshiba_speed_ctrl()
H A Dtransport.h46 int uscsi(int fd, struct uscsi_cmd *scmd);
H A Dtransport.c55 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c1752 iscsi_uscsi_t uscsi; in IMA_LuInquiry() local
1772 (void) memset(&uscsi, 0, sizeof (iscsi_uscsi_t)); in IMA_LuInquiry()
1773 uscsi.iu_vers = ISCSI_INTERFACE_VERSION; in IMA_LuInquiry()
1777 uscsi.iu_oid = deviceId.objectSequenceNumber; in IMA_LuInquiry()
1778 uscsi.iu_lun = 0; in IMA_LuInquiry()
1788 uscsi.iu_oid = (uint32_t)luProps.associatedTargetOid. in IMA_LuInquiry()
1790 uscsi.iu_lun = luProps.targetLun; in IMA_LuInquiry()
1793 uscsi.iu_ucmd.uscsi_flags = USCSI_READ; in IMA_LuInquiry()
1794 uscsi.iu_ucmd.uscsi_timeout = USCSI_TIMEOUT_IN_SEC; in IMA_LuInquiry()
1795 uscsi.iu_ucmd.uscsi_bufaddr = (char *)pOutputBuffer; in IMA_LuInquiry()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/
H A DMakefile.com28 MODULE = uscsi
29 SRCS = uscsi.c
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c52 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
158 return (uscsi(fd, &scmd) == 0); in mode_sense()
212 return (uscsi(fd, &scmd) == 0); in get_configuration()
387 if ((uscsi(fd, &scmd)) != 0) { in get_disc_info()
435 if ((uscsi(fd, &scmd)) != 0) { in read_format_capacity()
504 if ((uscsi(fd, &scmd)) != 0) { in read_toc()
H A Dcdutils.h40 int uscsi(int fd, struct uscsi_cmd *scmd);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c2728 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg; in vd_scsicmd_in() local
2743 uscsi->uscsi_flags = vd_scsi_debug; in vd_scsicmd_in()
2746 uscsi->uscsi_flags |= USCSI_ISOLATE; in vd_scsicmd_in()
2747 uscsi->uscsi_flags |= USCSI_DIAGNOSE; in vd_scsicmd_in()
2753 uscsi->uscsi_flags |= USCSI_HEAD; in vd_scsicmd_in()
2756 uscsi->uscsi_flags |= USCSI_HTAG; in vd_scsicmd_in()
2759 uscsi->uscsi_flags |= USCSI_OTAG; in vd_scsicmd_in()
2762 uscsi->uscsi_flags |= USCSI_NOTAG; in vd_scsicmd_in()
2767 uscsi->uscsi_timeout = vd_scsi->timeout; in vd_scsicmd_in()
2770 uscsi->uscsi_cdb = (caddr_t)VD_SCSI_DATA_CDB(vd_scsi); in vd_scsicmd_in()
[all …]
H A Dvdc.c5937 struct uscsi_cmd uscsi; in vdc_uscsi_cmd() local
5951 uscsi_cmd32touscsi_cmd((&uscsi32), (&uscsi)); in vdc_uscsi_cmd()
5953 if (ddi_copyin(arg, &uscsi, sizeof (struct uscsi_cmd), in vdc_uscsi_cmd()
5959 if (uscsi.uscsi_flags & (USCSI_RESET | USCSI_RESET_LUN | in vdc_uscsi_cmd()
5967 cdb_len = uscsi.uscsi_cdblen; in vdc_uscsi_cmd()
5970 if (uscsi.uscsi_flags & USCSI_READ) { in vdc_uscsi_cmd()
5971 datain_len = uscsi.uscsi_buflen; in vdc_uscsi_cmd()
5975 dataout_len = uscsi.uscsi_buflen; in vdc_uscsi_cmd()
5979 if (uscsi.uscsi_flags & USCSI_RQENABLE) in vdc_uscsi_cmd()
5980 sense_len = uscsi.uscsi_rqlen; in vdc_uscsi_cmd()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/
H A DMakefile30 uscsi
/illumos-gate/usr/src/man/man4i/
H A DMakefile40 uscsi.4i \
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c102 int uscsi(int fd, struct uscsi_cmd *scmd);
1657 if ((uscsi_error = uscsi(fd, scmd)) < 0) in inquiry()
1672 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
1825 if ((uscsi_error = uscsi(fd, scmd)) < 0) in mode_sense()
/illumos-gate/usr/src/uts/common/sys/
H A DMakefile944 uscsi.h \
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.p5m1029 file path=usr/lib/scsi/plugins/scsi/engines/$(ARCH64)/uscsi.so
1030 file path=usr/lib/scsi/plugins/scsi/engines/uscsi.so
H A Dsystem-header.p5m1298 file path=usr/include/sys/scsi/impl/uscsi.h
1943 file path=usr/share/man/man4i/uscsi.4i