Searched defs:uscsi (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cdrw/
H A Dtransport.c30 #include <sys/scsi/impl/uscsi.h>
57 uscsi(int fd, struct uscsi_cmd *scmd) function
115 * uscsi commands on the device.
/illumos-gate/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c67 construct_scsi_pt_obj(struct uscsi_cmd *uscsi) argument
69 (void) memset(uscsi, 0, sizeof (struct uscsi_cmd));
70 uscsi->uscsi_timeout = DEF_PT_TIMEOUT;
71 uscsi->uscsi_flags = USCSI_READ | USCSI_ISOLATE | USCSI_RQENABLE;
78 set_scsi_pt_cdb(struct uscsi_cmd *uscsi, const unsigned char *cdb, argument
81 uscsi->uscsi_cdb = (char *)cdb;
82 uscsi->uscsi_cdblen = cdb_len;
89 set_scsi_pt_sense(struct uscsi_cmd *uscsi, unsigned char *sense, argument
93 uscsi->uscsi_rqbuf = (char *)sense;
94 uscsi
101 set_scsi_pt_data_in(struct uscsi_cmd *uscsi, unsigned char *dxferp, int dxfer_len) argument
116 do_scsi_pt(struct uscsi_cmd *uscsi, int fd, int time_secs) argument
147 struct uscsi_cmd uscsi; local
440 set_scsi_pt_data_out(struct uscsi_cmd *uscsi, const unsigned char *dxferp, int dxfer_len) argument
468 struct uscsi_cmd uscsi; local
505 struct uscsi_cmd uscsi; local
[all...]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c19 #include <sys/scsi/impl/uscsi.h>
52 uscsi(int fd, struct uscsi_cmd *scmd) function
153 return (uscsi(fd, &scmd) == 0);
207 return (uscsi(fd, &scmd) == 0);
382 if ((uscsi(fd, &scmd)) != 0) {
430 if ((uscsi(fd, &scmd)) != 0) {
499 if ((uscsi(fd, &scmd)) != 0) {
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c67 int uscsi_error; /* used for debugging failed uscsi */
102 int uscsi(int fd, struct uscsi_cmd *scmd);
1655 if ((uscsi_error = uscsi(fd, scmd)) < 0)
1670 uscsi(int fd, struct uscsi_cmd *scmd) function
1706 * uscsi commands on the device.
1823 if ((uscsi_error = uscsi(fd, scmd)) < 0)
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c1752 iscsi_uscsi_t uscsi; local
1772 (void) memset(&uscsi, 0, sizeof (iscsi_uscsi_t));
1773 uscsi.iu_vers = ISCSI_INTERFACE_VERSION;
1777 uscsi.iu_oid = deviceId.objectSequenceNumber;
1778 uscsi.iu_lun = 0;
1782 * for this lun(deviceId) and put in uscsi.iu_oid
1788 uscsi.iu_oid = (uint32_t)luProps.associatedTargetOid.
1790 uscsi.iu_lun = luProps.targetLun;
1793 uscsi.iu_ucmd.uscsi_flags = USCSI_READ;
1794 uscsi
1843 iscsi_uscsi_t uscsi; local
1946 iscsi_uscsi_t uscsi; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c88 #include <sys/scsi/impl/uscsi.h>
5929 * Implemented the USCSICMD uscsi(7I) ioctl. This ioctl is converted to
5937 struct uscsi_cmd uscsi; local
5951 uscsi_cmd32touscsi_cmd((&uscsi32), (&uscsi));
5953 if (ddi_copyin(arg, &uscsi, sizeof (struct uscsi_cmd),
5958 /* a uscsi reset is converted to a VD_OP_RESET operation */
5959 if (uscsi.uscsi_flags & (USCSI_RESET | USCSI_RESET_LUN |
5967 cdb_len = uscsi.uscsi_cdblen;
5970 if (uscsi.uscsi_flags & USCSI_READ) {
5971 datain_len = uscsi
[all...]
H A Dvds.c54 #include <sys/scsi/impl/uscsi.h>
1394 * Build and execute the uscsi ioctl. We build a group0, group1
2727 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg; local
2742 uscsi->uscsi_flags = vd_scsi_debug;
2745 uscsi->uscsi_flags |= USCSI_ISOLATE;
2746 uscsi->uscsi_flags |= USCSI_DIAGNOSE;
2752 uscsi->uscsi_flags |= USCSI_HEAD;
2755 uscsi->uscsi_flags |= USCSI_HTAG;
2758 uscsi->uscsi_flags |= USCSI_OTAG;
2761 uscsi
2804 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg; local
3517 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl->arg; local
3610 struct uscsi_cmd uscsi = {0}; local
3793 struct uscsi_cmd uscsi = { 0 }; local
[all...]

Completed in 110 milliseconds