/illumos-gate/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 314 bd_create_inquiry_props(dev_info_t *dip, bd_drive_t *drive) argument 316 if (drive->d_vendor_len > 0) 318 drive->d_vendor, drive->d_vendor_len); 320 if (drive->d_product_len > 0) 322 drive->d_product, drive->d_product_len); 324 if (drive->d_serial_len > 0) 326 drive->d_serial, drive 334 bd_create_errstats(bd_t *bd, int inst, bd_drive_t *drive) argument 433 bd_init_errstats(bd_t *bd, bd_drive_t *drive) argument 464 bd_drive_t drive; local 1774 bd_drive_t drive = { 0 }; local [all...] |
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 2910 nvme_bd_driveinfo(void *arg, bd_drive_t *drive) argument 2921 drive->d_qsize = nvme->n_ioq_count * nvme->n_io_queue_len 2929 drive->d_removable = B_FALSE; 2930 drive->d_hotpluggable = B_FALSE; 2932 bcopy(ns->ns_eui64, drive->d_eui64, sizeof (drive->d_eui64)); 2933 drive->d_target = ns->ns_id; 2934 drive->d_lun = 0; 2936 drive->d_model = nvme->n_idctl->id_model; 2937 drive [all...] |
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | sun4i-a10.dtsi | 100 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
|
H A D | sun7i-a20.dtsi | 125 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 136 allwinner,drive = <SUN4I_PINCTRL_40_MA>;
|
/illumos-gate/usr/src/boot/sys/boot/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...] |
/illumos-gate/usr/src/boot/sys/boot/i386/cdboot/ |
H A D | cdboot.S | 122 mov %dl,drive # Save BIOS boot device 137 mov drive,%dl # Store BIOS boot device 428 mov drive,%dl # BIOS Device 575 drive: .byte 0 label
|
/illumos-gate/usr/src/boot/sys/boot/i386/common/ |
H A D | drv.c | 43 v86.edx = dskp->drive; 75 v86.edx = dskp->drive; 85 v86.edx = nblk << 8 | dskp->drive; 109 v86.edx = dskp->drive;
|
H A D | drv.h | 33 unsigned int drive; member in struct:dsk
|
/illumos-gate/usr/src/boot/sys/boot/i386/pmbr/ |
H A D | pmbr.s | 84 # Validate drive number in %dl. 89 addb $0x80,%dh # drive number available 92 main.1: movb $0x80,%dl # Assume drive 0x80 100 pushw %dx # save drive 104 popw %dx # restore drive
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 30 extern int biosdisk_int13_extensions (int ax, int drive, void *dap); 31 extern int biosdisk_standard (int ah, int drive, 34 extern int check_int13_extensions (int drive); 35 extern int get_diskinfo_standard (int drive, 40 extern int get_diskinfo_floppy (int drive, 54 biosdisk (int read, int drive, struct geometry *geometry, 88 err = biosdisk_int13_extensions ((read + 0x42) << 8, drive, &dap); 107 return biosdisk (read, drive, geometry, sector, nsec, segment); 126 err = biosdisk_standard (read + 0x02, drive, 136 get_cdinfo (int drive, struc 52 biosdisk(int read, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument 134 get_cdinfo(int drive, struct geometry *geometry) argument 211 get_diskinfo(int drive, struct geometry *geometry) argument [all...] |
H A D | builtins.c | 80 /* The BIOS drive map. */ 308 /* Exchage SAVED_DRIVE with the mapped drive. */ 847 char *drive = arg; 850 /* Get the drive number from DRIVE. */ 851 if (! set_device (drive)) 855 device = skip_to (0, drive); 877 "Specify DEVICE as the actual drive for a BIOS drive DRIVE. This command" 1536 " is a drive, or in the \"bootloader\" area if DEVICE is a FFS partition." 1597 set_root (char *root, unsigned long drive, unsigne 837 char *drive = arg; local 1578 set_root(char *root, unsigned long drive, unsigned long part) argument 1598 unsigned long drive; local 4553 sprint_device(int drive, int partition) argument 4573 embed_stage1_5(char *stage1_5, int drive, int partition) argument [all...] |
H A D | disk_io.c | 158 rawread(int drive, unsigned long long sector, int byte_offset, int byte_len, argument 177 if (buf_drive != drive) 179 if (get_diskinfo (drive, &buf_geom)) 184 buf_drive = drive; 222 bios_err = biosdisk (BIOSDISK_READ, drive, &buf_geom, 237 || biosdisk (BIOSDISK_READ, drive, &buf_geom, 263 if (biosdisk (BIOSDISK_READ, drive, &buf_geom, 334 * -- It takes an extra parameter, the drive number. 346 rawwrite(int drive, unsigned long long sector, char *buf) argument 350 if (biosdisk (BIOSDISK_READ, drive, 596 next_partition(unsigned long drive, unsigned long dest, unsigned long *partition, int *type, unsigned long long *start, unsigned long long *len, unsigned long long *offset, int *entry, unsigned long long *ext_offset, unsigned long long *gpt_offset, int *gpt_count, int *gpt_size, char *buf) argument 1111 int drive = (dev >> 24) & 0xFF; local [all...] |
H A D | shared.h | 147 /* The size of the drive map. */ 631 extern void assign_device_name (int drive, const char *device); 790 /* Copy MAP to the drive map and set up int13_handler. */ 800 void track_int13 (int drive); 890 int get_diskinfo (int drive, struct geometry *geometry); 891 int biosdisk (int subfunc, int drive, struct geometry *geometry, 1009 int rawread (int drive, unsigned long long sector, int byte_offset, int byte_len, 1012 int rawwrite (int drive, unsigned long long sector, char *buf); 1020 int next_partition (unsigned long drive, unsigned long dest,
|
H A D | common.c | 159 int drive; local 270 /* Get the drive info. */ 279 for (drive = 0x80; drive < 0x88; drive++) 285 /* Get the geometry. This ensures that the drive is present. */ 286 if (get_diskinfo (drive, &geom)) 297 track_int13 (drive); 301 info->drive_number = drive; 340 /* Set boot drive an [all...] |
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 1156 * Called by an HBA drive from _fini() routine. 2556 * STOPPED state, then the drive is not capable 3299 * Some cfgadm operations involve drive commands, so reset condition 8687 * This function uses READ LOG EXT command when drive supports LBA48, and 9804 * But specify it only if drive supports DMA and DMA mode is 10426 sata_drive_info_t *drive; local 10508 drive = SATA_CPORTINFO_DRV_INFO(cportinfo); 10509 drive->satadrv_addr = cportinfo->cport_addr; 10510 drive->satadrv_addr.qual = SATA_ADDR_DCPORT; 10511 drive 10561 sata_drive_info_t *drive = NULL; local [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 186 dm_descriptor_t *drive, *media, *slice; local 192 * Get the drive associated with this disk. This should never fail, 195 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE, 196 &err)) == NULL || *drive == NULL) { 202 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA, 204 dm_free_descriptors(drive); 210 dm_free_descriptors(drive); 213 * It is possible that the user has specified a removable media drive, 218 vdev_error(gettext("'%s' has no media in drive\n"), name);
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 238 assign_device_name (int drive, const char *device) argument 241 if (device_map[drive]) 242 free (device_map[drive]); 245 if (disks[drive].flags != -1) 247 close (disks[drive].flags); 248 disks[drive].flags = -1; 253 device_map[drive] = 0; 255 device_map[drive] = strdup (device); 346 /* Copy MAP to the drive map and set up the int13 handler. */ 445 track_int13 (int drive) argument 762 get_diskinfo(int drive, struct geometry *geometry) argument 933 biosdisk(int subfunc, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 496 * slices for the named disk drive. 499 dm_get_slices(char *drive, dm_descriptor_t **slices, int *errp) argument 508 if (drive == NULL) { 512 alias = dm_get_descriptor_by_name(DM_ALIAS, drive, errp);
|
H A D | libdiskmgt.h | 130 * If a drive goes up or down this could be returned as event type "change". 131 * The application could get the drive information to see that the "status" 134 * return events for all drive related changes, events will not necessarily be 141 * In general the API means "the parent node of the drive in the device tree" 143 * the drive controller depending on the type of the drive. 151 * mpxio. With mpxio the drive will have a unique name and a single controller 152 * (scsi_vhci). The physical controllers, the paths to the drive, can be 153 * obtained by calling dm_get_associated_descriptors with a drive descriptor and 155 * possibly some future similar feature, is controlling the drive [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 677 bz,pt %xcc, 8f ! if we got it, drive on 1075 bg,a,pt %xcc, 2f ! Yes, drive on. 1090 bg,a,pt %xcc, 2f ! Yes, drive on.
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 523 bz,pt %xcc, 8f ! if we got it, drive on 914 bg,a,pt %xcc, 2f ! Yes, drive on. 927 bg,a,pt %xcc, 2f ! Yes, drive on.
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 123 static void skd_bd_driveinfo(void *arg, bd_drive_t *drive); 574 Dcmn_err(CE_NOTE, "drive BUSY state\n"); 1090 cmn_err(CE_WARN, "!drive busy sanitize[%x], driver[%x]\n", 1115 * For now, we fault the drive. Could attempt resets to 1166 * For now, we fault the drive. Could attempt resets to 1178 * - if the drive state is faulted 1180 * - if the drive registers are dead (state = FF) 2288 * Name: skd_drive_fault, set the drive state to DRV_STATE_FAULT. 2305 * Name: skd_drive_disappeared, set the drive state to DISAPPEARED.. 2768 Dcmn_err(CE_NOTE, "(%s) drive sof 5104 skd_bd_driveinfo(void *arg, bd_drive_t *drive) argument [all...] |
/illumos-gate/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 168 static void vioblk_driveinfo(void *arg, bd_drive_t *drive); 436 vioblk_driveinfo(void *arg, bd_drive_t *drive) argument 440 drive->d_qsize = sc->sc_vq->vq_num; 441 drive->d_removable = B_FALSE; 442 drive->d_hotpluggable = B_TRUE; 443 drive->d_target = 0; 444 drive->d_lun = 0; 446 drive->d_vendor = "Virtio"; 447 drive->d_vendor_len = strlen(drive [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_share.c | 63 char drive; member in struct:smb_transient 906 return (ts->drive); 960 * format of <drive letter>:\<dir>
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/ |
H A D | nv_sata.c | 182 static void nv_sgp_drive_connect(nv_ctl_t *nvc, int drive); 183 static void nv_sgp_drive_disconnect(nv_ctl_t *nvc, int drive); 184 static void nv_sgp_drive_active(nv_ctl_t *nvc, int drive); 185 static void nv_sgp_locate(nv_ctl_t *nvc, int drive, int value); 186 static void nv_sgp_error(nv_ctl_t *nvc, int drive, int value); 1048 int drive; local 1089 drive = led.led_number; 1095 nv_sgp_error(nvc, drive, TR_ERROR_DISABLE); 1097 nv_sgp_locate(nvc, drive, TR_LOCATE_DISABLE); 1108 nv_sgp_error(nvc, drive, TR_ERROR_ENABL 6944 nv_sgp_drive_connect(nv_ctl_t *nvc, int drive) argument 6965 nv_sgp_drive_disconnect(nv_ctl_t *nvc, int drive) argument 6986 nv_sgp_drive_active(nv_ctl_t *nvc, int drive) argument 7008 nv_sgp_locate(nv_ctl_t *nvc, int drive, int value) argument 7049 nv_sgp_error(nv_ctl_t *nvc, int drive, int value) argument 7087 int drive, i; local [all...] |