/freebsd-13-stable/sys/dev/ida/ |
H A D | idaio.h | 9 int drive; member in struct:ida_user_command
|
H A D | idavar.h | 53 u_int8_t drive; /* logical drive */ member in struct:ida_hdr 97 #define IDA_CONTROLLER 0 /* drive "number" for controller */ 173 * drive flags 181 int drive; /* per controller */ member in struct:idad_softc 204 int datasize, int drive, u_int32_t pblkno, int flags);
|
/freebsd-13-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-13-stable/sys/geom/vinum/ |
H A D | geom_vinum_create.c | 49 * Create a new drive object, either by user request, during taste of the drive 69 /* The drive already has a consumer if it was tasted before. */ 76 G_VINUM_DEBUG(0, "drive '%s' already exists", d->name); 100 G_VINUM_DEBUG(0, "create drive '%s': unable to attach", 112 * If this was just a "referenced" drive, we're almost finished, but 113 * insert this drive not on the head of the drives list, as 114 * gv_drive_is_newer() expects a "real" drive from LIST_FIRST(). 120 LIST_INSERT_HEAD(&sc->drives, d, drive); 122 LIST_INSERT_AFTER(d2, d, drive); 319 char *drive, buf[30], *vol; local 384 char *drive, buf[30], *vol; local 477 char *vol, *drive, buf[30]; local 554 char *drive, buf[30], *vol; local [all...] |
H A D | geom_vinum_rm.c | 138 gctl_error(req, "drive '%s' is open", d->name); 142 /* A drive with subdisks needs a recursive removal. */ 145 gctl_error(req, "drive '%s' still has subdisks" 173 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { 188 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) 301 /* Remove a drive. */ 362 LIST_REMOVE(d, drive); 379 LIST_REMOVE(d, drive); 382 LIST_INSERT_HEAD(&sc->drives, d, drive); 384 LIST_INSERT_AFTER(d2, d, drive); [all...] |
H A D | geom_vinum_move.c | 72 gctl_error(req, "destination '%s' is not a drive", destination); 79 * destination drive. 122 G_VINUM_DEBUG(0, "consumers on current and destination drive " 134 G_VINUM_DEBUG(1, "subdisk '%s' already on drive '%s'", 166 strlcpy(newsd->drive, destination->name, sizeof(newsd->drive));
|
/freebsd-13-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-13-stable/contrib/kyua/drivers/ |
H A D | debug_test.hpp | 71 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
|
H A D | list_tests.hpp | 84 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
|
H A D | scan_results.hpp | 98 result drive(const utils::fs::path&, const std::set< engine::test_filter >&,
|
H A D | run_tests.hpp | 98 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
|
H A D | list_tests.cpp | 62 drivers::list_tests::drive(const fs::path& kyuafile_path, function in class:drivers::list_tests
|
H A D | scan_results.cpp | 70 drivers::scan_results::drive(const fs::path& store_path, function in class:drivers::scan_results
|
/freebsd-13-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-13-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-13-stable/contrib/kyua/cli/ |
H A D | cmd_report_junit.cpp | 84 drivers::scan_results::drive(results_file,
|
H A D | cmd_debug.cpp | 85 const drivers::debug_test::result result = drivers::debug_test::drive(
|
/freebsd-13-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-13-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-13-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-13-stable/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 95 * drives that are not part of a volume nor a spare drive. It 101 * found via IOC2, 2) a drive that is neither a volume member nor a spare 106 * routine to add each drive encountered. It quietly succeeds if the 107 * drive is already present in the list. It also sorts the list as it 117 * seen this drive. 127 * 'i' is our slot for the 'new' drive. Make room and then 128 * read the drive info. 165 warn("Failed to fetch drive list"); 259 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive, argument 267 val = strtol(drive, 329 drive_set_state(char *drive, U8 Action, U8 State, const char *name) argument [all...] |
/freebsd-13-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-13-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; 588 gdsk.dsk.drive = (gdsk.dsk.type <= TYPE_MAXHARD
|