Home
last modified time | relevance | path

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

/titanic_50/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 …]
/titanic_50/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.c70 if (uscsi(fd, scmd) < 0) in read_toc_as_per_8020()
99 ret = uscsi(target->d_fd, scmd); in toshiba_read_audio()
157 if (uscsi(dev->d_fd, scmd) < 0) in toshiba_speed_ctrl()
179 if (uscsi(dev->d_fd, scmd) < 0) in toshiba_speed_ctrl()
H A Dtransport.h48 int uscsi(int fd, struct uscsi_cmd *scmd);
H A Dtransport.c57 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
/titanic_50/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 …]
/titanic_50/usr/src/lib/scsi/plugins/scsi/engines/uscsi/
H A DMakefile.com28 MODULE = uscsi
29 SRCS = uscsi.c
/titanic_50/usr/src/cmd/hal/utils/
H A Dcdutils.c52 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
153 return (uscsi(fd, &scmd) == 0); in mode_sense()
207 return (uscsi(fd, &scmd) == 0); in get_configuration()
382 if ((uscsi(fd, &scmd)) != 0) { in get_disc_info()
430 if ((uscsi(fd, &scmd)) != 0) { in read_format_capacity()
499 if ((uscsi(fd, &scmd)) != 0) { in read_toc()
H A Dcdutils.h42 int uscsi(int fd, struct uscsi_cmd *scmd);
/titanic_50/usr/src/lib/scsi/plugins/scsi/engines/
H A DMakefile30 uscsi
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c2727 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg; in vd_scsicmd_in() local
2742 uscsi->uscsi_flags = vd_scsi_debug; in vd_scsicmd_in()
2745 uscsi->uscsi_flags |= USCSI_ISOLATE; in vd_scsicmd_in()
2746 uscsi->uscsi_flags |= USCSI_DIAGNOSE; in vd_scsicmd_in()
2752 uscsi->uscsi_flags |= USCSI_HEAD; in vd_scsicmd_in()
2755 uscsi->uscsi_flags |= USCSI_HTAG; in vd_scsicmd_in()
2758 uscsi->uscsi_flags |= USCSI_OTAG; in vd_scsicmd_in()
2761 uscsi->uscsi_flags |= USCSI_NOTAG; in vd_scsicmd_in()
2766 uscsi->uscsi_timeout = vd_scsi->timeout; in vd_scsicmd_in()
2769 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 …]
/titanic_50/usr/src/man/man7i/
H A DMakefile40 uscsi.7i \
/titanic_50/usr/src/cmd/rmformat/
H A Drmf_misc.c102 int uscsi(int fd, struct uscsi_cmd *scmd);
1655 if ((uscsi_error = uscsi(fd, scmd)) < 0) in inquiry()
1670 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() function
1823 if ((uscsi_error = uscsi(fd, scmd)) < 0) in mode_sense()
/titanic_50/usr/src/uts/common/sys/
H A DMakefile913 uscsi.h \
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-library.mf466 file path=usr/lib/scsi/plugins/scsi/engines/$(ARCH64)/uscsi.so
467 file path=usr/lib/scsi/plugins/scsi/engines/uscsi.so
H A Dsystem-header.mf1365 file path=usr/include/sys/scsi/impl/uscsi.h
1936 file path=usr/share/man/man7i/uscsi.7i