/freebsd-11-stable/stand/pc98/boot0.5/ |
H A D | Makefile | 6 SRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \
|
/freebsd-11-stable/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 76 warnx("Error: Boot disk information must be in the " 87 warnx("supply boot disk information in the format " 111 warnx("boot disk system must be " 161 /* Add boot disk */ 211 } else if (strcmp(option_string, "hard-disk-boot") == 0) { 274 cd9660_boot_setup_default_entry(struct cd9660_boot_image *disk) argument 286 ie->boot_indicator[0] = disk->bootable; 287 ie->media_type[0] = disk->targetMode; 288 cd9660_721(disk->loadSegment, ie->load_segment); 289 ie->system_type[0] = disk 324 cd9660_boot_setup_section_entry(struct cd9660_boot_image *disk) argument [all...] |
/freebsd-11-stable/stand/common/ |
H A D | zfs_cmd.c | 37 #include <sys/disk.h>
|
/freebsd-11-stable/stand/uboot/lib/ |
H A D | libuboot.h | 30 #include <disk.h>
|
/freebsd-11-stable/tools/regression/geom/ |
H A D | RunTest.sh | 13 for f in Data/disk.*.xml
|
/freebsd-11-stable/tools/tools/nanobsd/rescue/ |
H A D | merge.sh | 19 dd if=${D64}/_.disk.image of=/dev/${MD}s2 bs=128k
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/ |
H A D | disk-list.sh | 70 # Now loop through these devices, and list the disk drives 86 NEWLINE=$(geom disk list $DEV 2>/dev/null | sed -ne 's/^ descr: *//p') 101 # Save the disk list
|
H A D | send-logs.sh | 62 for i in `pc-sysinstall disk-list | cut -d ':' -f 1`
|
H A D | disk-part.sh | 28 # Query a disk for partitions and display them 32 . ${PROGDIR}/backend/functions-disk.sh 36 echo "Error: No disk specified!" 56 # No partitions on this disk, display entire disk size and exit 72 # Get a listing of partitions on this disk
|
/freebsd-11-stable/sbin/newfs/ |
H A D | mkfs.c | 77 #define sblock disk.d_fs 78 #define acg disk.d_cg 104 do_sbwrite(struct uufsd *disk) argument 106 if (!disk->d_sblock) 107 disk->d_sblock = disk->d_fs.fs_sblockloc / disk->d_bsize; 108 return (pwrite(disk->d_fd, &disk->d_fs, SBLOCKSIZE, (off_t)((part_ofs + 109 disk [all...] |
/freebsd-11-stable/release/ |
H A D | Makefile.gce | 5 # Makefile for uploading Google Compute Engine disk images. 58 cd ${.OBJDIR} && mv gce.raw disk.raw 60 ${GCE_TARGET:S,${.OBJDIR}/,,}.tar.gz disk.raw 61 cd ${.OBJDIR} && mv disk.raw gce.raw
|
/freebsd-11-stable/sbin/dump/ |
H A D | main.c | 238 (void)fprintf(stderr, "Must specify disk or file system\n"); 241 disk = *argv++; 323 * disk can be either the full special file name, 328 dt = fstabsearch(disk); 330 disk = rawname(dt->fs_spec); 331 if (disk == NULL) 336 (void)strncpy(spcl.c_dev, disk, NAMELEN); 343 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) { 391 if ((diskfd = open(disk, O_RDONLY)) < 0) 392 err(X_STARTUP, "Cannot open %s", disk); [all...] |
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-disk.sh | 28 # Functions related to disk operations using gpart 30 # See if device is a full disk or partition/slice 48 fdisk ${DISK} >${TMPDIR}/disk-${DISK} 2>/dev/null 70 done < ${TMPDIR}/disk-${DISK} 71 rm ${TMPDIR}/disk-${DISK} 82 fdisk ${DISK} >${TMPDIR}/disk-${DISK} 2>/dev/null 104 done < ${TMPDIR}/disk-${DISK} 105 rm ${TMPDIR}/disk-${DISK} 116 gpart show ${DISK} >${TMPDIR}/disk-${DISK} 124 done <${TMPDIR}/disk [all...] |
/freebsd-11-stable/sys/dev/hptmv/ |
H A D | gui_lib.c | 284 pSataChannel = pVDevice->u.disk.mv; 300 if (pVDevice->u.disk.df_user_mode_set) 301 pDiskInfo->DeviceModeSetting = pVDevice->u.disk.bDeUserSelectMode; 302 else if (((((PIDENTIFY_DATA)pVDevice->u.disk.mv->identifyDevice)->SataCapability) & 3)==2) 305 p = (char *)&((PIDENTIFY_DATA)pVDevice->u.disk.mv->identifyDevice)->ModelNumber; 310 pDiskInfo->DeviceModeSetting = pVDevice->u.disk.bDeModeSetting; 313 pDiskInfo->UsableMode = pVDevice->u.disk.bDeUsable_Mode; 320 if(!pVDevice->u.disk.df_on_line) 323 /* disk has a active partition */ 327 /* disk ha [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_diskstorage_tbl.c | 39 #include <sys/disk.h> 96 #define HR_DISKSTORAGE_MD 0x004 /* it is a MD (memory disk) */ 170 * Delete a disk table entry. 186 * this is needed for disk devices that are not 195 * Find a disk storage entry given its index. 210 * Get the disk parameters 299 * Avoid false disk devices. For example adw(4) and 436 char *disk = NULL; local 439 disk = strsep(&disk_list, " "); 440 if (disk [all...] |
/freebsd-11-stable/sys/geom/raid/ |
H A D | tr_raid1e.c | 53 "Amount of the disk to rebuild each read/write cycle of the rebuild."); 59 "Fraction of the I/O bandwidth to use when disk busy for rebuild."); 141 int *disk, off_t *offset, off_t *start) 152 *disk = (nstrip * N) % vol->v_disks_count; 153 /* Strip start position in disk. */ 158 P2V(struct g_raid_volume *vol, int disk, off_t offset, argument 168 nstrip = (offset / strip_size) * vol->v_disks_count + disk; 331 struct g_raid_disk *disk) 337 * We don't fail the last disk in the pack, since it still has decent 338 * data on it and that's better than failing the disk i 140 V2P(struct g_raid_volume *vol, off_t virt, int *disk, off_t *offset, off_t *start) argument 330 g_raid_tr_raid1e_fail_disk(struct g_raid_softc *sc, struct g_raid_subdisk *sd, struct g_raid_disk *disk) argument 430 int disk, copy, best; local 890 int error, do_write, copy, disk, best; local [all...] |
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_da.c | 331 struct disk *disk; member in struct:da_softc 1514 daopen(struct disk *dp) 1538 /* Wait for the disk size update. */ 1539 error = cam_periph_sleep(periph, &softc->disk->d_mediasize, PRIBIO, 1566 daclose(struct disk *dp) 1581 /* Flush disk cache. */ 1592 softc->disk->d_devstat); 1611 softc->disk->d_devstat->flags |= DEVSTAT_BS_UNAVAILABLE; 1668 * Place it in the queue of disk activitie [all...] |
/freebsd-11-stable/sys/cam/ata/ |
H A D | ata_da.c | 251 struct disk *disk; member in struct:ada_softc 796 static void adadiskgonecb(struct disk *dp); 871 #define ata_disk_firmware_geom_adjust(disk) 895 &ada_read_ahead, 0, "Enable disk read-ahead"); 897 &ada_write_cache, 0, "Enable disk write cache"); 928 adaopen(struct disk *dp) 958 adaclose(struct disk *dp) 993 /*sense_flags*/0, softc->disk->d_devstat); 1058 * Place it in the queue of disk activitie [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | bio.h | 69 struct disk; 87 struct disk *bio_disk; /* Valid below geom_disk.c only */
|
/freebsd-11-stable/contrib/libarchive/tar/ |
H A D | write.c | 252 * uncompressed files on disk. 526 struct archive *disk = bsdtar->diskreader; local 530 * of the entry because the disk reader bsdtar->diskreader 533 * with the disk reader consequently must fail. And we 537 r = archive_read_disk_open(disk, 540 lafe_warnc(archive_errno(disk), 541 "%s", archive_error_string(disk)); 552 r = archive_read_next_header2(disk, entry2); 555 lafe_warnc(archive_errno(disk), 556 "%s", archive_error_string(disk)); 865 struct archive *disk = bsdtar->diskreader; local [all...] |
/freebsd-11-stable/usr.sbin/mptutil/ |
H A D | mpt_show.c | 242 print_standalone(struct mpt_standalone_disk *disk, int state_len, int location) argument 246 humanize_number(buf, sizeof(buf), (disk->maxlba + 1) * 512, 252 if (disk->inqstring[0] != '\0') 253 printf(" %s", disk->inqstring); 256 printf(" bus %d id %d", disk->bus, disk->target); 287 RAID_VOL0_PHYS_DISK *disk; local 348 disk = vinfo->PhysDisk; 349 for (j = 0; j < vinfo->NumPhysDisks; disk++, j++) { 350 printf(" drive %u ", disk [all...] |
/freebsd-11-stable/sys/dev/mfi/ |
H A D | mfi_syspd.c | 49 #include <sys/disk.h> 181 mfi_syspd_open(struct disk *dp) 199 mfi_syspd_close(struct disk *dp) 270 struct disk *dp;
|
/freebsd-11-stable/share/examples/bhyve/ |
H A D | vmrun.sh | 56 "[-d <disk file>]" 68 echo " -A: use AHCI disk emulation instead of ${DEFAULT_DISK}" 261 echo "virtio disk device file \"${virtio_diskdev}\" does not exist." 267 echo "virtio disk device file \"${virtio_diskdev}\" is not readable" 272 echo "virtio disk device file \"${virtio_diskdev}\" is not writable" 310 eval "disk=\$disk_dev${i}" 311 if [ -r ${disk} ] ; then 312 BOOTDISKS="$BOOTDISKS -d ${disk} " 329 # Build up args for additional tap and disk devices now. 332 devargs="" # accumulate disk/ta [all...] |
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.h | 61 int wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
|
/freebsd-11-stable/usr.sbin/nandtool/ |
H A D | nand_readoob.c | 38 #include <sys/disk.h>
|