/freebsd-11-stable/sys/dev/ida/ |
H A D | idaio.h | 9 int drive; member in struct:ida_user_command
|
H A D | idavar.h | 51 u_int8_t drive; /* logical drive */ member in struct:ida_hdr 95 #define IDA_CONTROLLER 0 /* drive "number" for controller */ 171 * drive flags 179 int drive; /* per controller */ member in struct:idad_softc 202 int datasize, int drive, u_int32_t pblkno, int flags);
|
H A D | ida_disk.c | 137 length, drv->drive, offset / DEV_BSIZE, DMA_DATA_OUT); 179 drv->drive = (intptr_t)device_get_ivars(dev); 183 &dinfo, sizeof(dinfo), drv->drive, 0, DMA_DATA_IN);
|
/freebsd-11-stable/stand/i386/common/ |
H A D | drv.h | 33 unsigned int drive; member in struct:dsk
|
H A D | drv.c | 39 v86.edx = dskp->drive; 67 v86.edx = dskp->drive; 92 v86.edx = dskp->drive;
|
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_create.c | 46 * Create a new drive object, either by user request, during taste of the drive 66 /* The drive already has a consumer if it was tasted before. */ 73 G_VINUM_DEBUG(0, "drive '%s' already exists", d->name); 97 G_VINUM_DEBUG(0, "create drive '%s': unable to attach", 109 * If this was just a "referenced" drive, we're almost finished, but 110 * insert this drive not on the head of the drives list, as 111 * gv_drive_is_newer() expects a "real" drive from LIST_FIRST(). 117 LIST_INSERT_HEAD(&sc->drives, d, drive); 119 LIST_INSERT_AFTER(d2, d, drive); 316 char *drive, buf[30], *vol; local 381 char *drive, buf[30], *vol; local 474 char *vol, *drive, buf[30]; local 551 char *drive, buf[30], *vol; local [all...] |
H A D | geom_vinum_rm.c | 135 gctl_error(req, "drive '%s' is open", d->name); 139 /* A drive with subdisks needs a recursive removal. */ 142 gctl_error(req, "drive '%s' still has subdisks" 170 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { 185 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) 298 /* Remove a drive. */ 359 LIST_REMOVE(d, drive); 376 LIST_REMOVE(d, drive); 379 LIST_INSERT_HEAD(&sc->drives, d, drive); 381 LIST_INSERT_AFTER(d2, d, drive); [all...] |
H A D | geom_vinum_move.c | 69 gctl_error(req, "destination '%s' is not a drive", destination); 76 * destination drive. 119 G_VINUM_DEBUG(0, "consumers on current and destination drive " 131 G_VINUM_DEBUG(1, "subdisk '%s' already on drive '%s'", 163 strlcpy(newsd->drive, destination->name, sizeof(newsd->drive));
|
H A D | geom_vinum_share.c | 437 /* Get a new drive object. */ 471 /* We assume this is the drive name. */ 624 } else if (!strcmp(token[j], "drive")) { 630 strlcpy(s->drive, token[j], sizeof(s->drive)); 684 if (strlen(s->drive) == 0)
|
H A D | geom_vinum_events.c | 111 G_VINUM_DEBUG(2, "tasted drive on '%s'", pp->name); 146 * Setup the drive before we parse the on-disk configuration, so that 147 * we already know about the drive then. 158 G_VINUM_DEBUG(2, "drive '%s' is already known", d->name); 162 /* Add the consumer and header to the new drive. */ 209 * When losing a drive (e.g. hardware failure), we cut down the consumer 210 * attached to the underlying device and bring the drive itself to a 229 G_VINUM_DEBUG(2, "dead drive '%s' has still active " 257 /* Put the subdisk in tasted mode, and remove from drive list. */ 264 * Don't forget that gv_is_newer wants a "real" drive a [all...] |
H A D | geom_vinum_subr.c | 153 * possibly reference a drive that isn't in our config 188 * We don't need the drive configuration if we're not writing the 192 LIST_FOREACH(d, &sc->drives, drive) { 224 sbuf_printf(sb, "sd name %s drive %s len %jds driveoffset " 225 "%jds", s->name, s->drive, s->size / 512, 563 * Give a subdisk to a drive, check and adjust several parameters, adjust 582 /* Check if this subdisk was already given to this drive. */ 630 /* Assign drive offset, if not given. */ 646 /* No drive offset given, try to calculate it. */ 649 /* Add offsets and sizes from other subdisks on this drive [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | lglob.h | 51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 53 char drive[_MAX_DRIVE]; \ 66 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 68 char drive[_MAX_DRIVE]; \ 82 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 84 char drive[MAXDRIVE]; \
|
H A D | main.c | 102 char *drive = getenv("HOMEDRIVE"); local 104 if (drive != NULL && path != NULL) 106 char *env = (char *) ecalloc(strlen(drive) + 109 strcat(env, drive);
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | fsaccess.c | 61 char drive[255]; local 81 strncpy(drive, filename, 3); 82 drive[3] = '\0'; 90 strcpy(drive, "\\\\"); 91 strcat(drive, machinename); 92 strcat(drive, "\\"); 93 strcat(drive, sharename); 94 strcat(drive, "\\"); 100 GetVolumeInformation(drive, NULL, 0, NULL, 0, NULL, FSType,
|
/freebsd-11-stable/contrib/file/src/ |
H A D | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], local 61 _splitpath(filename, drive, dir, fname, ext); 62 (void)sprintf(path, "%s%s%s%s", drive,
|
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_drive.c | 49 MFI_TABLE(top, drive); 52 * Print the name of a drive either by drive number as %2u or by enclosure:slot 83 /* Get the info for this drive. */ 85 warn("Failed to fetch info for drive %2u", device_id); 163 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) argument 173 val = strtol(drive, &cp, 0); 182 if (toupper(drive[0]) == 'E' || toupper(drive[0]) == 'S') { 183 if (drive[ 384 drive_set_state(char *drive, uint16_t new_state) argument [all...] |
/freebsd-11-stable/stand/i386/boot0/ |
H A D | boot0.S | 68 * (called 'packet') or CHS mode, whether to force a drive number, 93 * %dl drive number (0x80, 0x81, ... ) 103 * to store the original drive number (%dl) passed to us, and to construct a 154 .set _NXTDRV, B0_OFF+6 # Next drive 220 * If the 'setdrv' flag is set in the boot sector, use the drive 224 * or a ZIP/flash drive in floppy emulation). 227 testb $SETDRV,_FLAGS(%bp) # Set drive number? 228 #ifndef CHECK_DRIVE /* disable drive checks */ 236 * Disable updates if the drive number is forced. 239 movb _SETDRV(%bp),%dl # Use stored drive numbe 665 drive: .ascii "Drive " label [all...] |
/freebsd-11-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 236 dsk.drive = *(uint8_t *)PTOV(ARGS); 237 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 238 dsk.unit = dsk.drive & DRV_MASK; 246 bootinfo.bi_bios_dev = dsk.drive; 295 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, 340 kname, dsk.drive & DRV_MASK, dev_nm[dsk.type], 417 bootinfo.bi_bios_dev = dsk.drive; 509 dsk.drive = (dsk.type <= TYPE_MAXHARD
|
/freebsd-11-stable/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 93 * drives that are not part of a volume nor a spare drive. It 99 * found via IOC2, 2) a drive that is neither a volume member nor a spare 104 * routine to add each drive encountered. It quietly succeeds if the 105 * drive is already present in the list. It also sorts the list as it 115 * seen this drive. 125 * 'i' is our slot for the 'new' drive. Make room and then 126 * read the drive info. 163 warn("Failed to fetch drive list"); 257 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive, argument 265 val = strtol(drive, 327 drive_set_state(char *drive, U8 Action, U8 State, const char *name) argument [all...] |
/freebsd-11-stable/stand/i386/boot2/ |
H A D | boot2.c | 95 unsigned drive; member in struct:dsk 211 dsk.drive = *(uint8_t *)PTOV(ARGS); 212 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 213 dsk.unit = dsk.drive & DRV_MASK; 258 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, 351 bootinfo.bi_bios_dev = dsk.drive; 452 dsk.drive = (dsk.type <= TYPE_MAXHARD 598 v86.edx = nblk << 8 | dsk.drive;
|
/freebsd-11-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 285 gdsk.dsk.drive = *(uint8_t *)PTOV(ARGS); 286 gdsk.dsk.type = gdsk.dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 287 gdsk.dsk.unit = gdsk.dsk.drive & DRV_MASK; 295 bootinfo.bi_bios_dev = gdsk.dsk.drive; 354 gdsk.dsk.drive & DRV_MASK, dev_nm[gdsk.dsk.type], 401 kname, gdsk.dsk.drive & DRV_MASK, 478 bootinfo.bi_bios_dev = gdsk.dsk.drive; 586 gdsk.dsk.drive = (gdsk.dsk.type <= TYPE_MAXHARD
|
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | warmup.sh | 39 drive.google.com 40 drive.mail.ru
|
H A D | warmup.cmd | 44 drive.google.com
45 drive.mail.ru
|
/freebsd-11-stable/stand/i386/zfsboot/ |
H A D | zfsboot.c | 448 int13probe(int drive) argument 453 v86.edx = drive; 457 ((v86.edx & 0xff) != (drive & DRV_MASK))) { /* unit # OK */ 499 v86.edx = dskp->drive; 504 (v86.edx & 0xff) <= (unsigned)(dskp->drive & 0x7f)) /* unit # bad */ 517 v86.edx = dskp->drive; 728 zdsk->dsk.drive = *(uint8_t *)PTOV(ARGS); 729 zdsk->dsk.type = zdsk->dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 730 zdsk->dsk.unit = zdsk->dsk.drive & DRV_MASK; 741 bootinfo.bi_bios_dev = zdsk->dsk.drive; [all...] |
/freebsd-11-stable/stand/i386/libi386/ |
H A D | biosdisk.c | 108 int bd_type; /* BIOS 'drive type' (floppy only) */ 263 int drive; local 265 for (drive = 0; drive < MAXBDDEV; drive++) { 266 bd_reset_disk(drive); 271 v86.edx = drive; 281 return (drive); 302 /* Use std diskinfo for floppy drive */ 310 printf("BIOS drive 700 char drive; local [all...] |