/osnet-11/usr/src/grub/grub2/include/grub/powerpc/ieee1275/ |
H A D | biosdisk.h | 26 int drive; member in struct:grub_biosdisk_data 33 int grub_biosdisk_rw_int13_extensions (int ah, int drive, void *dap); 34 int grub_biosdisk_rw_standard (int ah, int drive, int coff, int hoff, 36 int grub_biosdisk_check_int13_extensions (int drive); 37 int grub_biosdisk_get_diskinfo_int13_extensions (int drive, void *drp); 38 int grub_biosdisk_get_diskinfo_standard (int drive,
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | main.c | 149 /* We have a partition, but still need to fill in the drive. */ 155 char *drive = grub_strndup (fwdevice, comma - fwdevice); local 156 new_device = grub_xasprintf ("%s%s", drive, device); 157 grub_free (drive);
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | common.c | 160 int drive; local 271 /* Get the drive info. */ 280 for (drive = 0x80; drive < 0x88; drive++) 286 /* Get the geometry. This ensures that the drive is present. */ 287 if (get_diskinfo (drive, &geom)) 298 track_int13 (drive); 302 info->drive_number = drive; 341 /* Set boot drive an [all...] |
H A D | bios.c | 27 extern int biosdisk_int13_extensions (int ax, int drive, void *dap); 28 extern int biosdisk_standard (int ah, int drive, 31 extern int check_int13_extensions (int drive); 32 extern int get_diskinfo_standard (int drive, 37 extern int get_diskinfo_floppy (int drive, 51 biosdisk (int read, int drive, struct geometry *geometry, 85 err = biosdisk_int13_extensions ((read + 0x42) << 8, drive, &dap); 104 return biosdisk (read, drive, geometry, sector, nsec, segment); 123 err = biosdisk_standard (read + 0x02, drive, 133 get_cdinfo (int drive, struc 49 biosdisk(int read, int drive, struct geometry *geometry, unsigned int sector, int nsec, int segment) argument 131 get_cdinfo(int drive, struct geometry *geometry) argument 208 get_diskinfo(int drive, struct geometry *geometry) argument [all...] |
H A D | disk_io.c | 157 rawread(int drive, unsigned int sector, int byte_offset, int byte_len, argument 176 if (buf_drive != drive) 178 if (get_diskinfo (drive, &buf_geom)) 183 buf_drive = drive; 221 bios_err = biosdisk (BIOSDISK_READ, drive, &buf_geom, 236 || biosdisk (BIOSDISK_READ, drive, &buf_geom, 262 if (biosdisk (BIOSDISK_READ, drive, &buf_geom, 333 * -- It takes an extra parameter, the drive number. 345 rawwrite(int drive, unsigned int sector, char *buf) argument 349 if (biosdisk (BIOSDISK_READ, drive, 588 next_partition(unsigned long drive, unsigned long dest, unsigned long *partition, int *type, unsigned long *start, unsigned long *len, unsigned long *offset, int *entry, unsigned long *ext_offset, char *buf) argument 1022 int drive = (dev >> 24) & 0xFF; local [all...] |
/osnet-11/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-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-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-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");
|
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-mount.c | 453 LibHalVolume *volume, LibHalDrive *drive, const char *device, 586 append_ro = libhal_device_get_property_bool (hal_ctx, libhal_drive_get_udi(drive), 647 model = libhal_drive_get_model (drive); 648 drive_type = libhal_drive_get_type_textual (drive); 804 if (libhal_drive_is_hotpluggable (drive) || libhal_drive_uses_removable_media (drive)) 906 /* non-pollable drive; force auto */ 1183 LibHalDrive *drive; local 1185 drive = libhal_drive_from_udi (hal_ctx, udi); 1186 if (drive 448 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 1199 LibHalDrive *drive; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/ |
H A D | chainloader.c | 149 int drive = -1; local 203 drive = grub_get_root_biosnumber (); 225 grub_chainloader_patch_bpb ((void *) 0x7C00, dev, drive); 233 boot_drive = drive;
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/i386/pc/ |
H A D | biosdisk.c | 35 static int grub_biosdisk_rw_int13_extensions (int ah, int drive, void *dap); 40 int drive; local 49 for (drive = 0; drive < 2; drive++) 52 regs.edx = drive; 60 /* check if this drive exists */ 65 return drive; 75 grub_biosdisk_rw_int13_extensions (int ah, int drive, void *dap) argument 82 regs.edx = drive; 95 grub_biosdisk_rw_standard(int ah, int drive, int coff, int hoff, int soff, int nsec, int segment) argument 147 grub_biosdisk_check_int13_extensions(int drive) argument 175 grub_biosdisk_get_diskinfo_standard(int drive, unsigned long *cylinders, unsigned long *heads, unsigned long *sectors) argument 207 grub_biosdisk_get_diskinfo_real(int drive, void *drp, grub_uint16_t ax) argument 234 grub_biosdisk_get_cdinfo_int13_extensions(int drive, void *cdrp) argument 244 grub_biosdisk_get_diskinfo_int13_extensions(int drive, void *drp) argument 252 unsigned long drive; local 275 grub_biosdisk_call_hook(int (*hook) (const char *name), int drive) argument 292 int drive; local 335 int drive; local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/ |
H A D | biosdisk.h | 38 int drive; member in struct:grub_biosdisk_data 77 writes a garbage to the tail of drive parameters,
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | deviceiter.c | 332 get_dac960_disk_name (char *name, int controller, int drive) argument 334 sprintf (name, "/dev/rd/c%dd%d", controller, drive); 338 get_acceleraid_disk_name (char *name, int controller, int drive) argument 340 sprintf (name, "/dev/rs/c%dd%d", controller, drive); 356 get_cciss_disk_name (char *name, int controller, int drive) argument 358 sprintf (name, "/dev/cciss/c%dd%d", controller, drive); 362 get_ida_disk_name (char *name, int controller, int drive) argument 364 sprintf (name, "/dev/ida/c%dd%d", controller, drive); 446 /* Check if DEVICE is a CD-ROM drive by the HDIO_GETGEO ioctl. */ 879 /dev/rd/c<controller>d<logical drive> [all...] |
H A D | grub-probe.c | 261 print_full_name (const char *drive, grub_device_t dev) argument 266 printf ("%s,%s", drive, pname); 270 printf ("%s", drive); 345 grub_util_info("Looking for a drive for %s", device_name); 348 grub_util_error (_("cannot find a GRUB drive for %s. Check your device.map"), 627 -t, --target=(fs|fs_uuid|fs_label|drive|device|partmap|abstraction|cryptodisk_uuid)\n\ 628 print filesystem module, GRUB drive, system device, partition map module, abstraction module or CRYPTO UUID [default=fs]\n\ 678 else if (!strcmp (optarg, "drive"))
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/efi/ |
H A D | efidisk.c | 283 grub_printf ("adding a hard drive by a partition: "); 326 is a floppy drive. */ 336 CDROM drive. */ 345 /* The default is a hard drive. */ 347 grub_printf ("adding a hard drive by guessing: "); 427 unsigned long drive; local 432 drive = grub_strtoul (name + 2, 0, 10); 436 return (int) drive ; 764 /* Find a partition which matches the hard drive device path. */
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | omitted.c | 866 int drive; local 896 drive = nat[0]; 927 drive = 'C': 937 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); 981 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix);
|
/osnet-11/usr/src/lib/libuefi_rt/common/ |
H A D | libuefi_rt_impl.h | 68 * signature type in hard drive media path 75 * partition type in hard drive media path 150 uint8_t drive; member in struct:uefi_atapi_device_path
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_error.c | 574 char *drive, 585 ip->drive = ((drive != NULL) ? Strdup(drive) : NULL); 678 dgettext(TEXT_DOMAIN, "drive specified more than once")); 748 "invalid slice number for drive name")); 764 dgettext(TEXT_DOMAIN, "not a valid drive name")); 1822 "drive %s is not common with host %s"), 1823 ip->drive, ip->node); 1827 "drive 569 mddserror( md_error_t *ep, md_ds_errno_t errnum, set_t setno, char *node, char *drive, char *name ) argument [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 613 * slices for the named disk drive. 616 dm_get_slices(char *drive, dm_descriptor_t **slices, int *errp) argument 625 if (drive == NULL) { 629 alias = dm_get_descriptor_by_name(DM_ALIAS, drive, errp);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/ |
H A D | hostdisk.c | 146 char *drive; member in struct:__anon481 182 driver takes a while to abort when there is no floppy in the drive. */ 232 if (map[i].drive && unescape_cmp (map[i].drive, name) == 0) 245 if (! map[i].drive) 261 if (map[i].drive && hook (map[i].drive)) 363 int drive; local 367 drive = find_grub_drive (name); 368 if (drive < 1158 int drive; local 1263 make_device_name(int drive, int dos_part, int bsd_part) argument 1847 int drive; local [all...] |
/osnet-11/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 235 assign_device_name (int drive, const char *device) argument 238 if (device_map[drive]) 239 free (device_map[drive]); 242 if (disks[drive].flags != -1) 244 close (disks[drive].flags); 245 disks[drive].flags = -1; 250 device_map[drive] = 0; 252 device_map[drive] = strdup (device); 343 /* Copy MAP to the drive map and set up the int13 handler. */ 442 track_int13 (int drive) argument 759 get_diskinfo(int drive, struct geometry *geometry) argument 930 biosdisk(int subfunc, int drive, struct geometry *geometry, unsigned int sector, int nsec, int segment) argument [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_vdev.c | 197 dm_descriptor_t *drive, *media, *slice; local 202 * Get the drive associated with this disk. This should never fail, 205 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE, 206 &err)) == NULL || *drive == NULL) { 212 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA, 214 dm_free_descriptors(drive); 220 dm_free_descriptors(drive); 223 * It is possible that the user has specified a removable media drive, 229 gettext("'%s' has no media in drive\n"), name);
|