Searched refs:un_sd (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 258 struct scsi_device *un_sd; member 670 _NOTE(READ_ONLY_DATA(sd_lun::un_sd)) 757 #define SD_SCSI_DEVP(un) ((un)->un_sd) 758 #define SD_DEVINFO(un) ((un)->un_sd->sd_dev) 759 #define SD_INQUIRY(un) ((un)->un_sd->sd_inq) 760 #define SD_MUTEX(un) (&((un)->un_sd->sd_mutex)) 761 #define SD_ADDRESS(un) (&((un)->un_sd->sd_address))
|
H A D | stdef.h | 957 struct scsi_device *un_sd; /* back pointer to SCSI_DEVICE */ member 1167 _NOTE(SCHEME_PROTECTS_DATA("stable data", scsi_tape::un_sd)) 1342 #define ST_SCSI_DEVP (un->un_sd)
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 1730 un->un_sd = devp; in st_doattach() 1929 if (scsi_ifgetcap(&un->un_sd->sd_address, in st_known_tape_type() 3653 if (un->un_sd->sd_inq->inq_ansi < 2) { in st_close() 6822 ASSERT(MUTEX_HELD(&un->un_sd->sd_mutex)); in st_done_and_mutex_exit() 6824 _NOTE(LOCK_RELEASED_AS_SIDE_EFFECT(&un->un_sd->sd_mutex)) in st_done_and_mutex_exit() 7320 (un->un_sd->sd_inq->inq_ansi > 1)) { in st_get_density() 7606 ASSERT(MUTEX_HELD(&un->un_sd->sd_mutex)); in st_cmd() 8979 FILL_SCSI1_LUN(un->un_sd, pkt); in st_make_cmd() 13172 ASSERT(MUTEX_HELD(&un->un_sd->sd_mutex)); in st_validate_tapemarks() 14413 if (un->un_sd->sd_inq->inq_ansi < 3) { in st_read_attributes() [all …]
|
H A D | sd.c | 3923 sd_inq = un->un_sd->sd_inq; in sd_sdconf_id_match() 4008 p2 = un->un_sd->sd_inq->inq_vid; in sd_blank_cmp() 6804 un->un_sd = devp; in sd_unit_attach() 8558 (void) strncpy(stp->sd_vid.value.c, un->un_sd->sd_inq->inq_vid, 8); in sd_set_errstats() 8559 (void) strncpy(stp->sd_pid.value.c, un->un_sd->sd_inq->inq_pid, 16); in sd_set_errstats() 8561 un->un_sd->sd_inq->inq_revision, 4); in sd_set_errstats() 18105 dip = un->un_sd->sd_dev; 22913 sinq = un->un_sd->sd_inq; 29916 SD_CONDSET(un->un_sd->sd_inq, un, inq_rmb, "inq_rmb"); 30244 ASSERT(un->un_sd); [all …]
|