Searched refs:drive (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-current/libexec/rc/rc.d/
H A Dnuageinit21 # according to the specification of the config drive
25 drive="/dev/$f/[cC][oO][nN][fF][iI][gG]-2"
26 if [ -e $drive ]; then
30 drive="/dev/$f/[cC][iI][dD][aA][tT][aA]"
31 if [ -e $drive ]; then
35 unset drive
37 if [ -z "$drive" ]; then
42 fs=$(fstyp $drive)
43 mount -t $fs $drive /media/nuageinit
60 if [ -n "$drive" ]; the
[all...]
/freebsd-current/stand/i386/common/
H A Ddrv.h31 unsigned int drive; member in struct:dsk
H A Ddrv.c36 v86.edx = dskp->drive;
64 v86.edx = dskp->drive;
89 v86.edx = dskp->drive;
/freebsd-current/sys/dev/ida/
H A Didaio.h8 int drive; member in struct:ida_user_command
H A Didavar.h51 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);
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_create.c46 * 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);
315 char *drive, buf[30], *vol; local
380 char *drive, buf[30], *vol; local
473 char *vol, *drive, buf[30]; local
550 char *drive, buf[30], *vol; local
[all...]
H A Dgeom_vinum_rm.c135 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...]
/freebsd-current/contrib/less/
H A Dlglob.h51 #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]; \
/freebsd-current/contrib/kyua/drivers/
H A Dscan_results.hpp98 result drive(const utils::fs::path&, const std::set< engine::test_filter >&,
H A Dlist_tests.hpp84 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
H A Ddebug_test.hpp71 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
H A Drun_tests.hpp98 result drive(const utils::fs::path&, const utils::optional< utils::fs::path >,
H A Dscan_results.cpp70 drivers::scan_results::drive(const fs::path& store_path, function in class:drivers::scan_results
/freebsd-current/tests/ci/
H A DMakefile.powerpc6411 QEMU_DEVICES=-device virtio-blk,drive=hd0
H A DMakefile.powerpc64le11 QEMU_DEVICES=-device virtio-blk,drive=hd0
H A DMakefile.aarch6411 QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci
H A DMakefile.armv711 QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci
H A DMakefile.riscv6411 QEMU_DEVICES=-device virtio-blk-device,drive=hd0
/freebsd-current/tools/boot/
H A Dfull-test.sh354 -drive file=${img},if=none,id=drive0,cache=writeback,format=raw \\
355 -device virtio-blk,drive=drive0,bootindex=0 \\
356 -drive file=${bios_code},format=raw,if=pflash \\
357 -drive file=${bios_vars},format=raw,if=pflash \\
368 -drive file=${img},if=none,id=drive0,cache=writeback \\
369 -device virtio-blk,drive=drive0,bootindex=0 \\
370 -drive file=${raw},if=none,id=drive1,cache=writeback \\
371 -device nvme,serial=fboot,drive=drive1,bootindex=1 \\
372 -drive file=${bios_code},format=raw,if=pflash \\
373 -drive fil
[all...]
/freebsd-current/contrib/file/src/
H A Dapptype.c49 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-current/contrib/kyua/cli/
H A Dcmd_report_junit.cpp84 drivers::scan_results::drive(results_file,
H A Dcmd_debug.cpp85 const drivers::debug_test::result result = drivers::debug_test::drive(
/freebsd-current/usr.sbin/mfiutil/
H A Dmfi_drive.c47 MFI_TABLE(top, drive);
50 * Print the name of a drive either by drive number as %2u or by enclosure:slot
81 /* Get the info for this drive. */
83 warn("Failed to fetch info for drive %2u", device_id);
161 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) argument
171 val = strtol(drive, &cp, 0);
180 if (toupper(drive[0]) == 'E' || toupper(drive[0]) == 'S') {
181 if (drive[
382 drive_set_state(char *drive, uint16_t new_state) argument
[all...]
/freebsd-current/stand/i386/boot0/
H A Dboot0.S59 * (called 'packet') or CHS mode, whether to force a drive number,
84 * %dl drive number (0x80, 0x81, ... )
94 * to store the original drive number (%dl) passed to us, and to construct a
145 .set _NXTDRV, B0_OFF+6 # Next drive
211 * If the 'setdrv' flag is set in the boot sector, use the drive
215 * or a ZIP/flash drive in floppy emulation).
218 testb $SETDRV,_FLAGS(%bp) # Set drive number?
219 #ifndef CHECK_DRIVE /* disable drive checks */
227 * Disable updates if the drive number is forced.
230 movb _SETDRV(%bp),%dl # Use stored drive numbe
656 drive: .ascii "Drive " label
[all...]
/freebsd-current/stand/i386/isoboot/
H A Disoboot.c233 dsk.drive = *(uint8_t *)PTOV(ARGS);
234 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD;
235 dsk.unit = dsk.drive & DRV_MASK;
243 bootinfo.bi_bios_dev = dsk.drive;
292 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit,
337 kname, dsk.drive & DRV_MASK, dev_nm[dsk.type],
414 bootinfo.bi_bios_dev = dsk.drive;
506 dsk.drive = (dsk.type <= TYPE_MAXHARD

Completed in 165 milliseconds

123