Lines Matching defs:dcd_disk

112 struct dcd_disk {  struct
113 struct dcd_device *un_dcd; /* back pointer to dcd_device */
114 struct dcd_drivetype *un_dp; /* drive type table */
115 struct buf *un_sbufp; /* for use in special io */
116 char *un_srqbufp; /* sense buffer for special io */
117 kcondvar_t un_sbuf_cv; /* Conditional Variable on sbufp */
118 kcondvar_t un_state_cv; /* Conditional variable for state */
119 union ocmap un_ocmap; /* open partition map, block && char */
120 uchar_t un_last_pkt_reason; /* used for suppressing multiple msgs */
121 struct diskhd un_utab; /* for queuing */
122 struct kstat *un_stats; /* for statistics */
123 struct kstat *un_pstats[NDKMAP]; /* for partition statistics */
124 ksema_t un_semoclose; /* lock for serializing opens/closes */
125 uint_t un_err_blkno; /* disk block where error occurred */
126 int un_diskcapacity; /* capacity as returned by drive */
127 int un_lbasize; /* logical (i.e. device) block size */
128 int un_lbadiv; /* log2 of lbasize */
129 int un_blknoshift; /* log2 of multiple of DEV_BSIZE */
131 int un_secsize; /* sector size (allow request on */
133 int un_secdiv; /* log2 of secsize */
134 uchar_t un_exclopen; /* exclusive open bits */
135 uchar_t un_mediastate; /* Is it really needed XXX */
136 uchar_t un_state; /* current state */
137 uchar_t un_last_state; /* last state */
138 uchar_t un_format_in_progress; /* disk is formatting currently */
139 uchar_t un_flush_not_supported; /* disk doesn't support flush cmd */
140 uchar_t un_write_cache_enabled; /* disk has write caching enabled */
141 clock_t un_timestamp; /* Time of last device access */
142 short un_ncmds; /* number of cmds in transport */
143 short un_throttle; /* This is used for throttling if */
145 short un_sbuf_busy; /* Busy wait flag for the sbuf */
146 int un_cmd_flags; /* cache some frequently used values */
147 int un_cmd_stat_size; /* in make_sd_cmd */
148 int un_dcvb_timeid; /* timeout id for dlyd cv broadcast */
149 void *un_devid; /* device id */
150 uint_t un_max_xfer_size; /* max transfer size */
151 uchar_t un_bus_master; /* Indicates that the HBA enables */
153 timeout_id_t un_reissued_timeid;
155 kstat_t *un_errstats; /* For Error statsistics */
156 kcondvar_t un_suspend_cv; /* Cond Var on power management */
157 kcondvar_t un_disk_busy_cv; /* Cond var to wait for IO */
158 short un_power_level; /* Power Level */
159 short un_save_state; /* Save the state for suspend/resume */
183 _NOTE(MUTEX_PROTECTS_DATA(dcd_device::dcd_mutex, dcd_disk)) argument