Lines Matching defs:fdisk
106 struct fdisk { struct
107 struct fcu_obj *d_obj;
108 int d_media; /* drive media capacities */
109 struct kstat *d_iostat; /* pointer to iostat statistics */
110 int d_bpsshf; /* shift count for bytes to sector */
112 ksema_t d_ocsem; /* sem for serializing opens/closes */
114 struct buf *d_actf; /* head of wait list */
115 struct buf *d_actl; /* tail of wait list */
116 struct buf *d_current; /* currently active buf */
117 struct partition d_part[NDKMAP]; /* partitions descriptions */
123 ulong_t d_regopen[OTYPCNT - 1];
124 ulong_t d_lyropen[NDKMAP]; /* Layered open counters */
134 ulong_t d_exclmask; /* set to indicate exclusive open */
141 signed char d_curfdtype;
142 uchar_t d_deffdtype;
144 uchar_t d_bsec; /* encoded bytes_per_sector */
145 uchar_t d_drate; /* encoded data_rate */
146 uchar_t d_motor; /* motor-on bit */
148 uchar_t d_hutsrt; /* encoded head unload & step_rate */
149 uchar_t d_hlt; /* encoded head load time */
150 uchar_t d_dtl; /* dtl code */
152 int d_media_timeout; /* media detection timeout */
153 timeout_id_t d_media_timeout_id; /* media detection timeout id */
154 enum dkio_state d_media_state; /* up-to-date media state */
155 int d_ejected;
156 kcondvar_t d_statecv; /* condition var for media state */
158 ulong_t d_vtoc_bootinfo[3]; /* from label */
159 ulong_t d_vtoc_version;
160 time_t d_vtoc_timestamp[NDKMAP];
161 char d_vtoc_volume[LEN_DKL_VVOL];
162 char d_vtoc_asciilabel[LEN_DKL_ASCII];