Lines Matching defs:drive
135 #define GV_ERR_NOSPACE (-11) /* No space left on drive/subdisk. */
149 char name[GV_MAXDRIVENAME]; /* Our name of the drive. */
155 /* The 'header' of each valid vinum drive. */
167 /* A single freelist entry of a drive. */
170 off_t offset; /* Offset on the drive. */
247 /* softc for a drive. */
249 char name[GV_MAXDRIVENAME]; /* The name of this drive. */
251 int state; /* The state of this drive. */
255 off_t size; /* Size of this drive. */
260 #define GV_DRIVE_REFERENCED 0x01 /* The drive isn't really existing,
263 #define GV_DRIVE_ORPHANED 0x02 /* The drive was orphaned. */
265 struct gv_hdr *hdr; /* The drive header. */
267 struct g_consumer *consumer; /* Consumer attached to this drive. */
272 LIST_HEAD(,gv_sd) subdisks; /* Subdisks on this drive. */
273 LIST_ENTRY(gv_drive) drive; /* Entry in the vinum config. */
282 off_t drive_offset; /* Offset in the underlying drive. */
302 char drive[GV_MAXDRIVENAME]; /* Name of underlying drive. */
305 struct gv_drive *drive_sc; /* Pointer to underlying drive. */
308 LIST_ENTRY(gv_sd) from_drive; /* Subdisk list of underlying drive. */