/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | setpci.c | 69 {0, 'd', 0, N_("Select device by vendor and device IDs."), 70 N_("[vendor]:[device]"), ARG_TYPE_STRING}, 71 {0, 's', 0, N_("Select device by its position on the bus."), 79 static int bus, device, function; variable 98 if (check_device && grub_pci_get_device (dev) != device) 216 device = grub_strtoul (ptr, (char **) &ptr, 16);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | file.c | 29 #include <grub/device.h> 45 /* Get the device part of the filename NAME. It is enclosed by parentheses. */ 75 grub_device_t device = 0; local 92 device = grub_device_open (device_name); 94 if (! device) 101 file->device = device; 103 if (device->disk && file_name[0] != '/') 108 file->fs = grub_fs_probe (device); 139 if (device) [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/ |
H A D | init.c | 80 char **device, 83 grub_machine_get_bootlocation (char **device, char **path) argument 97 /* Transform an OF device path to a GRUB path. */ 113 grub_ieee1275_net_config (canon, device, path); 118 *device = grub_ieee1275_encode_devname (bootpath);
|
H A D | openfw.c | 122 /* Iterate through all device aliases. This function can be used to 123 find a device of a specific type. */ 163 /* Sun's OpenBoot often doesn't zero terminate the device alias 195 /* NAND device don't have device_type property. */ 276 /* Get the device arguments of the Open Firmware node name `path'. */ 288 /* Get the device path of the Open Firmware node name `path'. */ 313 /* Try to find an alias for this device. */ 326 char *device = grub_ieee1275_get_devname (path); local 330 /* We need to know what type of device it is in order to parse the full 332 if (grub_ieee1275_finddevice (device, 441 char *device = grub_ieee1275_get_devname (path); local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | file.h | 25 #include <grub/device.h> 31 /* The underlying device. */ 32 grub_device_t device; member in struct:grub_file 49 /* This is called when a sector is read. Used only for a disk device. */ 107 /* Get a device name from NAME. */
|
H A D | raid.h | 35 grub_disk_t device; /* Array of total_devs devices. */ member in struct:grub_raid_member 37 /* Start of each device, in 512 byte sectors. */ 42 int number; /* The device number, taken from md_minor so we 43 are consistent with the device name in 52 unsigned int index; /* Index of current device. */ 54 char *uuid; /* The UUID of the device. */
|
H A D | pci.h | 95 int device; member in struct:grub_pci_device 108 return dev.device;
|
/osnet-11/usr/src/cmd/hal/addons/network-devices/ |
H A D | snmp.c | 36 char device[128]; local 38 snprintf(device, sizeof (device), "socket://%s:9100", name); 40 add_network_printer(ctx, parent, name, device, community); 45 * device capabilities. scanners, removable media, storage, ... 58 /* have we already seen this network device */
|
H A D | common.c | 168 char *device, char *community) 214 if ((uri != NULL) || (device != NULL)) 216 "printer.device", (uri ? uri : device), &error); 167 add_network_printer(LibHalContext *ctx, char *base, char *hostaddr, char *device, char *community) argument
|
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal-storage-eject.c | 78 char *device; local 97 device = getenv ("HAL_PROP_BLOCK_DEVICE"); 98 if (device == NULL)
|
H A D | hal-storage-zpool.c | 55 int result, const char *auth_used, const char *pool, const char *device) 73 event->adt_pool_export.device = (char *)device; 78 event->adt_pool_import.device = (char *)device; 104 char *subcmd, const char *pool, const char *device, 121 printf ("device = %s\n", device); 130 (strncmp (device, "/dev/lofi", 9) == 0)) { 157 "solaris.device 54 audit_pool(const adt_export_data_t *imported_state, au_event_t event_id, int result, const char *auth_used, const char *pool, const char *device) argument 100 handle_zpool(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, char *subcmd, const char *pool, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument 176 char *device; local [all...] |
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfslabel.c | 57 char *device; /* Device/File to work with */ member in struct:options 93 ntfs_log_info("\nUsage: %s [options] device [label]\n" 137 if (!err && !opts.device) 138 opts.device = argv[optind-1]; 187 if (opts.device == NULL) { 189 ntfs_log_error("You must specify a device.\n"); 211 * @dev: device to read the label from 212 * @mnt_flags: mount flags of the device or 0 if not mounted 213 * @mnt_point: mount point of the device or NULL 215 * Print the label of the device [all...] |
H A D | ntfscp.c | 62 char *device; /* Device/File to work with */ member in struct:options 104 ntfs_log_info("\nUsage: %s [options] device src_file dest_file\n\n" 151 opts.device = NULL; 163 if (!opts.device) { 164 opts.device = argv[optind - 1]; 245 if (!opts.device) { 246 ntfs_log_error("You must specify a device.\n"); 354 vol = utils_mount_volume(opts.device, flags);
|
H A D | ntfsundelete.h | 41 char *device; /* Device/File to work with */ member in struct:options
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 414 mounted(char *device) argument 426 for (s = target; i < NSC_MAXPATH && (*s = *device++); i++) { 427 if (*s == 'r' && rdsk == 0 && strncmp(device, "dsk/", 4) == 0) 480 dgettext("librdc", "%s is not a character device"), 495 "%s is not a character device"), rdc->sfile);
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 539 * disk -The disk device to be evaluated for partitions 542 * opath -The device path 561 char *device; /* name of fixed disk drive */ local 629 if ((device = malloc(len)) == NULL) 632 (void) snprintf(device, len, "%s", 635 if ((ret = libfdisk_init(&epp, device, &iparts[i], 651 free(device); 655 free(device); 659 free(device); 685 /* free the device an [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | pata.c | 44 /* IO addresses on which the registers for this device can be 49 to select device 0 (commonly known as "master") or device 1 51 int device; member in struct:grub_pata_device 166 grub_pata_regset (dev, GRUB_ATA_REG_DISK, (dev->device << 4) 277 grub_pata_regset (dev, GRUB_ATA_REG_DISK, dev->device << 4); 282 was preserved, there is a device connected. */ 288 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no device connected"); 290 /* The above test may detect a second (slave) device 292 (master) device 300 grub_pata_device_initialize(int port, int device, int addr) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/efi/ |
H A D | efinet.c | 351 grub_efi_net_config_real (grub_efi_handle_t hnd, char **device, argument 383 1, device, path);
|
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/ieee1275/ |
H A D | ofnet.c | 130 grub_ieee1275_net_config_real (const char *devpath, char **device, char **path) argument 181 1, device, path);
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | completion.c | 192 /* Complete a device. */ 196 /* Check if this is a device or a partition. */ 238 char *device; 245 device = grub_file_get_device_name (current_word); 249 dev = grub_device_open (device); 263 dir = grub_strchr (current_word + (device ? 2 + grub_strlen (device) : 0), 311 grub_free (device); 448 /* Complete a device. */ 237 char *device; local
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | deviceiter.c | 53 # define HDIO_GETGEO 0x0301 /* get device geometry */ 86 # define BLKGETSIZE _IO(0x12,96) /* return device size */ 228 0 /* char device */ 275 0 /* char device */ 389 check_device_readable_unique (const char *device) argument 400 if (*device == 0) 403 /* Have we seen this device already? */ 404 real_device = canonicalize_file_name (device); 410 device, real_device); 414 fp = fopen (device, " [all...] |
/osnet-11/usr/src/grub/grub2/util/ieee1275/ |
H A D | ofpath.c | 1 /* ofpath.c - calculate OpenFirmware path names given an OS device */ 145 strcat(rpath, "/device"); 171 const char *device, int devno) 179 digit_string = trailing_digits (device); 213 const char *device, 226 ret = __of_path_common(of_path, sysfs_path, device, devno); 234 const char *devname __attribute__((unused)), const char *device, 248 ret = __of_path_common(of_path, sysfs_path, device, 2 * chan + devno); 323 const char *devname __attribute__((unused)), const char *device, 342 ret = __of_path_common(of_path, sysfs_path, device, tg 170 __of_path_common(char *of_path, char *sysfs_path, const char *device, int devno) argument 211 of_path_of_vdisk(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument 233 of_path_of_ide(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument 322 of_path_of_scsi(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument 396 char *name_buf, *device, *devnode, *devicenode, *ofpath; local [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | pci.c | 209 uint32_t class, uint16_t vendor, uint16_t device, 228 (device == driver->ids[i].dev_id)) { 268 uint16_t vendor, device; local 299 else if (!(hdr_type & 0x80)) /* not a multi-function device */ 307 device = (l >> 16) & 0xffff; 316 vendor, device); 333 scan_drivers(type, class, vendor, device, first_driver, dev); 347 dev->dev_id = device; 390 * Set device to be a busmaster in case BIOS neglected to do so. 403 "The PCI BIOS has not enabled this device!\ 207 scan_drivers( int type, uint32_t class, uint16_t vendor, uint16_t device, const struct pci_driver *last_driver, struct pci_device *dev) argument [all...] |
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | device_store.c | 109 hal_device_store_init (HalDeviceStore *device) argument 149 emit_device_property_changed (HalDevice *device, argument 158 device, key, added, removed); 162 emit_device_capability_added (HalDevice *device, argument 169 device, capability); 173 hal_device_store_add (HalDeviceStore *store, HalDevice *device) argument 177 if (strncmp(device->udi, buf, sizeof (buf) - 1) != 0) { 184 g_object_ref (device)); 186 g_signal_connect (device, "property_changed", 188 g_signal_connect (device, "capability_adde 198 hal_device_store_remove(HalDeviceStore *store, HalDevice *device) argument 256 hal_device_store_print_foreach_fn(HalDeviceStore *store, HalDevice *device, gpointer user_data) argument 396 match_device_async(HalDeviceStore *store, HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument 421 store_changed(HalDeviceStore *store, HalDevice *device, gboolean added, gpointer user_data) argument 461 HalDevice *device; local [all...] |
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 40 * also manage new file Devconfig, allows per-device setup. 120 setdevcfg(char *service, char *device) argument 122 scancfg(service, device); 230 scancfg(char *service, char *device) argument 234 /* (re)initialize device-specific information */ 247 if (namematch("device=", tok, device)) { 288 * given a label (e.g., "service=", "device="), a name ("cu", "uucico"),
|