/freebsd-9.3-release/sbin/gvinum/ |
H A D | gvinum.c | 364 } else if (!strcmp(token[0], "drive")) { 367 warnx("line %d: invalid drive definition:", 375 snprintf(buf1, sizeof(buf1), "drive%d", drives); 415 /* Create a drive quick and dirty. */ 451 warnx("error creating drive: %s", errstr); 472 warnx("error creating drive"); 515 /* Assume it's a drive. */ 516 snprintf(buf, sizeof(buf), "drive%d", drives++); 518 /* First we create the drive. */ 606 name = find_pattern(line, "drive"); 1262 char *drive, *sdname; local [all...] |
/freebsd-9.3-release/sys/geom/vinum/ |
H A D | geom_vinum_rename.c | 109 gctl_error(req, "unknown drive '%s'", object); 131 G_VINUM_DEBUG(1, "drive name '%s' already in use", newname); 140 strlcpy(s->drive, d->name, sizeof(s->drive));
|
H A D | geom_vinum_var.h | 133 #define GV_ERR_NOSPACE (-11) /* No space left on drive/subdisk. */ 147 char name[GV_MAXDRIVENAME]; /* Our name of the drive. */ 153 /* The 'header' of each valid vinum drive. */ 165 /* A single freelist entry of a drive. */ 168 off_t offset; /* Offset on the drive. */ 245 /* softc for a drive. */ 247 char name[GV_MAXDRIVENAME]; /* The name of this drive. */ 249 int state; /* The state of this drive. */ 253 off_t size; /* Size of this drive. */ 258 #define GV_DRIVE_REFERENCED 0x01 /* The drive is 269 LIST_ENTRY(gv_drive) drive; /* Entry in the vinum config. */ member in struct:gv_drive 298 char drive[GV_MAXDRIVENAME]; /* Name of underlying drive. */ member in struct:gv_sd [all...] |
H A D | geom_vinum_list.c | 134 gctl_error(req, "'%s' is not a drive", 414 s->drive, 432 sbuf_printf(sb, "D: %-12s Size: %s\n", s->drive, 448 LIST_FOREACH(d, &sc->drives, drive) 451 sbuf_printf(sb, "%d drive%s:\n", i, i == 1 ? "" : "s"); 455 LIST_FOREACH(d, &sc->drives, drive) 460 /* List a single drive. */
|
H A D | geom_vinum_drive.c | 161 /* Not a gvinum drive. */ 282 LIST_FOREACH(d, &sc->drives, drive) { 284 * We can't save the config on a drive that isn't up, but 293 G_VINUM_DEBUG(0, "drive '%s' has no consumer!", 300 G_VINUM_DEBUG(0, "drive '%s' has no header", 312 "drive %s, errno %d", d->name, error); 320 G_VINUM_DEBUG(0, "writing vhdr failed on drive %s, " 332 "drive %s, errno %d", d->name, error); 343 "drive %s, errno %d", d->name, error);
|
H A D | geom_vinum.c | 143 LIST_FOREACH(d, &sc->drives, drive) { 148 LIST_FOREACH(d2, &sc->drives, drive) { 338 /* First, handle drive definitions ... */ 340 snprintf(buf, sizeof(buf), "drive%d", i); 343 gctl_error(req, "no drive definition given"); 347 * Make sure that the device specified in the drive config is 359 gctl_error(req, "drive '%s' already exists", d2->name); 621 /* Check if what we've been given is a valid vinum drive. */ 653 G_VINUM_DEBUG(2, "event 'drive tasted'"); 659 G_VINUM_DEBUG(2, "event 'drive los [all...] |
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | boot1.S | 79 ebpb: .byte 0 # BIOS physical drive number (W) 88 * %dl - byte - drive to read from 136 * If we are on a hard drive, then load the MBR and look for the first 143 cmpb $0x80,%dl # Hard drive? 168 * Floppies use partition 0 of drive 0. 170 main.4: xor %dx,%dx # Partition:drive 172 * Ok, we have a slice and drive in %dx now, so use that to locate and load 265 * fetch the drive parameters from the BIOS and divide it out ourselves. 268 * %dl - byte - drive number 273 cmpb $0x80,%dl # Hard drive [all...] |
/freebsd-9.3-release/contrib/less/ |
H A D | filename.c | 690 DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) 699 _splitpath(filename, drive, dir, fname, ext); 704 n = strlen(drive) + strlen(dir) + strlen(fnd.GLOB_NAME) + 1; 706 SNPRINTF3(pathname, n, "%s%s%s", drive, dir, fnd.GLOB_NAME);
|
/freebsd-9.3-release/sys/dev/mlx/ |
H A D | mlxvar.h | 235 #define MLXD_OPEN (1<<0) /* drive is open (can't shut down) */ 243 struct mlx_sysdrive *drive, u_long cmd,
|
H A D | mlx.c | 104 static int mlx_check(struct mlx_softc *sc, int drive); 510 device_printf(sc->mlx_dev, "error fetching drive status\n"); 518 /* are we already attached to this drive? */ 520 /* pick up drive information */ 572 if (mlxd->mlxd_flags & MLXD_OPEN) { /* drive is mounted, abort detach */ 750 * Enumerate connected system drives; returns the first system drive's 779 * Disconnect from the specified drive; it may be about to go 782 case MLX_DETACH_DRIVE: /* detach one drive */ 801 /* nuke drive */ 900 * Return the per-controller system drive numbe 922 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd, caddr_t addr, int32_t flag, struct thread *td) argument 1601 mlx_check(struct mlx_softc *sc, int drive) argument [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 187 dm_descriptor_t *drive, *media, *slice; local 193 * Get the drive associated with this disk. This should never fail, 196 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE, 197 &err)) == NULL || *drive == NULL) { 203 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA, 205 dm_free_descriptors(drive); 211 dm_free_descriptors(drive); 214 * It is possible that the user has specified a removable media drive, 219 vdev_error(gettext("'%s' has no media in drive\n"), name);
|
/freebsd-9.3-release/usr.sbin/boot0cfg/ |
H A D | boot0cfg.c | 58 int drive; member in struct:opt_offsets 72 #define OFF_DRIVE (b0_ofs[b0_ver].drive) /* setdrv drive */ 219 /* set the drive */ 427 printf("version=%d.%d drive=0x%x mask=0x%x ticks=%u", 492 /* the drive id */ 571 "usage: boot0cfg [-Bv] [-b boot0] [-d drive] [-f file] [-m mask]",
|
/freebsd-9.3-release/sys/dev/ata/ |
H A D | ata-raid.c | 3663 int count, disk, drive, error = 0; local 3753 for (drive = 0; drive < rdp->total_disks; drive++) { 3754 meta->raid.disk[drive].flags = 0; 3755 if (rdp->disks[drive].flags & AR_DF_PRESENT) 3756 meta->raid.disk[drive].flags |= PR_F_VALID; 3757 if (rdp->disks[drive].flags & AR_DF_ASSIGNED) 3758 meta->raid.disk[drive].flags |= PR_F_ASSIGNED; 3759 if (rdp->disks[drive] 3965 int array, disk_number, drive, retval = 0; local [all...] |
/freebsd-9.3-release/sys/cam/ |
H A D | README.quirks | 51 drive to write out all changes to disk before shutting down. Some 103 o NO_TEST_UNIT_READY - The drive does not support Test Unit Ready. 107 o RS_NO_CLEAR_UA - The drive does not reset the Unit Attention state 183 * Subject: QUIRK: FooCo USB DVD-RAM drive
|
/freebsd-9.3-release/usr.sbin/mfiutil/ |
H A D | mfiutil.h | 150 int mfi_lookup_drive(int fd, char *drive, uint16_t *device_id);
|
/freebsd-9.3-release/usr.sbin/mptutil/ |
H A D | mptutil.h | 125 int mpt_lookup_drive(struct mpt_drive_list *list, const char *drive,
|
/freebsd-9.3-release/sys/dev/isp/ |
H A D | Hardware.txt | 162 for an unpopulated (no disk drive) A5X00. 193 single drive connector that goes from DB-9 FC to the 40-pin SCA 194 connector- primarily for you to try and evaluate a single FC drive.
|
/freebsd-9.3-release/sys/boot/pc98/cdboot/ |
H A D | cdboot.S | 188 mov (DAUA),%al /* Read drive */ 351 mov %al,drive 368 mov drive,%dl # Store BIOS boot device 680 mov drive,%al 771 drive: .byte 0 label
|
/freebsd-9.3-release/sys/boot/i386/cdboot/ |
H A D | cdboot.S | 113 mov %dl,drive # Save BIOS boot device 128 mov drive,%dl # Store BIOS boot device 419 mov drive,%dl # BIOS Device 566 drive: .byte 0 label
|
/freebsd-9.3-release/sys/boot/i386/zfsboot/ |
H A D | zfsldr.S | 89 * Ok, we have a slice and drive in %dx now, so use that to locate and 167 * %dl - byte - drive to read from 217 check_edd: cmpb $0x80,%dl # Hard drive?
|
/freebsd-9.3-release/sys/boot/pc98/boot0.5/ |
H A D | disk.s | 241 # Check whether drive exist.
|
/freebsd-9.3-release/sys/dev/ciss/ |
H A D | cissreg.h | 370 struct ciss_notify_drive drive; member in union:ciss_notify::__anon7306 492 * the MSB is set in the drive ID field, in which case the 516 * logical drive number. 527 * to be the physical drive ID, so we define accordingly.
|
H A D | ciss.c | 1249 ciss_printf(sc, " %d logical drive%s configured\n", 1367 ciss_printf(sc, "error detecting logical drive configuration (%s)\n", 1414 * Save logical drive information. 1417 ciss_printf(sc, "%d logical drive%s\n", 1458 * If the drive has had media exchanged, we should bring it online. 1683 ciss_printf(sc, "Error detecting logical drive geometry (%s)\n", 1694 * Identify a logical drive, initialise state related to it. 1709 * Build a BMIC request to fetch the drive ID. 1737 ciss_printf(sc, "data over/underrun reading logical drive ID\n"); 1739 ciss_printf(sc, "error reading logical drive I [all...] |
/freebsd-9.3-release/contrib/bmake/mk/ |
H A D | dirdeps.mk | 51 # dependency graph that will drive the build later.
|