/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/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 2036 char *drive; local 2092 drive = sa_get_share_attr(share, "drive-letter"); 2093 if (drive != NULL) { 2094 if (strlen(drive) > 0) 2096 drive); 2097 sa_free_attr_string(drive);
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-closetray.c | 81 LibHalDrive *drive; local 158 if ((drive = libhal_drive_from_udi (hal_ctx, udi)) == NULL) { 159 unknown_closetray_error ("Cannot get drive"); 167 libhal_drive_get_udi (drive), 168 drive, 169 libhal_drive_get_device_file (drive),
|
H A D | hal-storage-eject.c | 80 LibHalDrive *drive; local 167 unknown_eject_error ("Cannot get drive udi"); 169 if ((drive = libhal_drive_from_udi (hal_ctx, drive_udi)) == NULL) { 170 unknown_eject_error ("Cannot get drive from udi"); 174 volume_udis = libhal_drive_find_all_volumes (hal_ctx, drive, &num_volumes); 184 printf ("processing drive's volume %s (%d of %d)\n", volume_udi, i + 1, num_volumes); 205 volume_udi, volume_to_unmount, drive, 226 libhal_drive_get_udi (drive), 227 drive, 228 libhal_drive_get_device_file (drive), [all...] |
H A D | hal-storage-mount.c | 450 LibHalVolume *volume, LibHalDrive *drive, const char *device, 579 append_ro = libhal_device_get_property_bool (hal_ctx, libhal_drive_get_udi(drive), 640 model = libhal_drive_get_model (drive); 641 drive_type = libhal_drive_get_type_textual (drive); 779 if (libhal_drive_is_hotpluggable (drive) || libhal_drive_uses_removable_media (drive)) 877 /* non-pollable drive; force auto */ 1116 LibHalDrive *drive; local 1118 drive = libhal_drive_from_udi (hal_ctx, udi); 1119 if (drive 445 handle_mount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument 1132 LibHalDrive *drive; local [all...] |
H A D | hal-storage-shared.c | 264 LibHalVolume *volume, LibHalDrive *drive, const char *device, 538 LibHalDrive *drive, const char *device, 259 handle_unmount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean option_lazy, gboolean option_force, DBusConnection *system_bus) argument 533 handle_eject(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean closetray, DBusConnection *system_bus) argument
|
H A D | hal-storage-shared.h | 59 LibHalVolume *volume, LibHalDrive *drive, const char *device, 69 LibHalDrive *drive, const char *device,
|
H A D | hal-storage-unmount.c | 172 LibHalDrive *drive; local 174 drive = libhal_drive_from_udi (hal_ctx, udi); 175 if (drive == NULL) { 182 udi, NULL, drive, device, invoked_by_uid, 189 LibHalDrive *drive; local 195 drive = libhal_drive_from_udi (hal_ctx, drive_udi); 196 if (drive == NULL) 197 unknown_error ("Cannot get drive from hal"); 203 udi, volume, drive, device, invoked_by_uid,
|
H A D | hal-storage-zpool.c | 178 LibHalDrive *drive; local 228 unknown_zpool_error ("Cannot get drive udi"); 230 if ((drive = libhal_drive_from_udi (hal_ctx, drive_udi)) == NULL) { 231 unknown_zpool_error ("Cannot get drive from udi");
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_set.c | 43 * add drive to set 66 * delete drive from set 282 /* idle the drive */ 313 /* add drive to set */ 355 * find drive 373 /* for each drive */ 602 * at least a single drive reserved. 621 /* old style per drive failfast */ 803 statusp->drive = Strdup(dp->dr_rname);
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaimport.c | 298 * And we need to make sure the drive isn't 338 /* is the current drive on the skip list? */ 343 /* drive on the skip list ? */ 380 * list. If so go to the next available drive. 381 * And we need to make sure the drive isn't 556 * Read remaining arguments into drive name list, otherwise 589 * the system in question has at least one drive detected by the 611 * Doctor the drive string in the error structure to list all of the 622 sizecnt += strlen(ip->drive) + 1; 630 (void) strlcpy(dlist, ip->drive, sizecn [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_resume.s | 86 bz,pt %icc, 1f ! nope drive on...
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_info.c | 93 * get the info about this drive 98 tlm_drive_t *drive; local 104 drive = library->tl_drive; 105 while (drive != NULL) { 106 if (drv == drive->td_number) { 107 return (drive); 109 drive = drive->td_next; 340 * add a new tape drive data blob to the list of drives in a library 341 * returns the new tape drive dat 347 tlm_drive_t *drive = ndmp_malloc(sizeof (tlm_drive_t)); local [all...] |
H A D | tlm_init.c | 338 * Make the tape drive not part of a tape library (stand alone) 353 NDMP_LOG(LOG_DEBUG, "Internal error: drive not found %d", d); 357 /* For stand-alone drives, the element number is the drive number. */ 396 /* Not part of any library, this is a newly found tape drive. */ 411 tlm_drive_t *drive; local 423 /* This tape drive was not found inside any robot. */ 444 if ((drive = tlm_drive(l, d)) != NULL) { 445 drive->td_exists = TRUE; 446 drive->td_slink = slink; 511 "Error getting drive( [all...] |
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmm_common.c | 164 LibHalDrive *drive; local 180 if (((drive = rmm_hal_volume_findby(hal_ctx, 182 ((drive = rmm_hal_volume_findby(hal_ctx, 184 ((drive = rmm_hal_volume_findby(hal_ctx, 186 ((drive = rmm_hal_volume_findby(hal_ctx, 195 if ((drive = rmm_hal_volume_findby(hal_ctx, 200 drive = rmm_hal_volume_findby_nickname(hal_ctx, name, volumes); 206 return (drive); 216 LibHalDrive *drive; local 223 if ((drive 254 LibHalDrive *drive = NULL; local 433 LibHalDrive *drive = NULL; local 981 LibHalDrive *drive = NULL; local [all...] |
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadp.c | 37 to examine disk drive's I/O queue. 39 it reads the circular output queue for each drive 41 usage : sadp [-th][-d device[-drive]] s [n] 96 "Invalid drive specified for device %s, valid drives are: " 239 char drive[30]; variable 460 * Make sure device and drive specified is legitimate. 525 * Get current I/O count for each drive. 542 * If no drives are selected or illegal drive number 853 * Get drive number routine. 861 strcpy(drive, empt [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/grub/grub-0.97/lib/ |
H A D | device.c | 138 /* Get the geometry of a drive DRIVE. */ 140 get_drive_geometry (struct geometry *geom, char **map, int drive) argument 146 fd = open (map[drive], O_RDONLY); 257 if (drive & 0x80) 428 get_dac960_disk_name (char *name, int controller, int drive) argument 430 sprintf (name, "/dev/rd/c%dd%d", controller, drive); 484 /* Check if DEVICE is a CD-ROM drive by the HDIO_GETGEO ioctl. */ 550 int drive; local 578 show_error (line_number, "Bad drive name"); 586 drive 809 int controller, drive; local 859 is_disk_device(char **map, int drive) argument 870 write_to_partition(char **map, int drive, int partition, int sector, int size, const char *buf) argument [all...] |