/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 36 char device_file[HAL_PATH_MAX] = "/devices"; local 46 strlcat(device_file, devfs_path, HAL_PATH_MAX); 48 device_file, udi); 49 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 50 fprintf(stderr, "Cannot open %s: %s", device_file,
|
H A D | hal-system-lcd-set-brightness-sunos.c | 37 char device_file[HAL_PATH_MAX] = "/devices"; local 46 strlcat(device_file, devfs_path, HAL_PATH_MAX); 48 device_file, udi); 50 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 51 fprintf(stderr, "Cannot open %s: %s", device_file,
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 37 char device_file[HAL_PATH_MAX] = "/devices"; local 46 strlcat(device_file, devfs_path, HAL_PATH_MAX); 55 device_file, udi)); 57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 58 HAL_DEBUG(("Cannot open %s: %s", device_file, strerror(errno)));
|
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 39 prnio_printer_info(char *device_file, char **manufacturer, char **model, argument 51 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) { 109 char *device_file; local 121 if ((device_file = getenv("HAL_PROP_PRINTER_DEVICE")) == NULL) 122 device_file = prnio_device_name(); 124 if (device_file == NULL) 139 ret = prnio_printer_info(device_file, &manufacturer, &model, 143 device_file, strerror(errno))); 149 serial_number, command_set, device_file); 152 device_file, ud [all...] |
/illumos-gate/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 143 char *device_file; local 164 device_file = libhal_device_get_property_string (ctx, udi, "block.device", &error); 165 if (device_file != NULL) { 166 libhal_free_string (device_file); 234 * @param device_file Special device file, e.g. /dev/cdrom 239 is_mounted (const char *device_file) argument 251 mpref.mnt_special = (char *)device_file; 316 char *device_file, *raw_device_file; local 327 if ((device_file = getenv ("HAL_PROP_BLOCK_DEVICE")) == NULL) 362 printf ("Doing addon-storage for %s (bus %s) (drive_type %s) (udi %s)\n", device_file, bu [all...] |
/illumos-gate/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 88 get_kbd_layout_type(char *device_file, int *kbd_type, int *kbd_layout) argument 93 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 94 HAL_DEBUG(("Cannot open %s: %s", device_file, strerror(errno))); 102 if (strstr(device_file, "hid") != NULL) { 111 device_file, strerror(errno))); 116 device_file, strerror(errno))); 280 char *device_file; local 291 if ((device_file = getenv("HAL_PROP_INPUT_DEVICE")) == NULL) { 308 HAL_DEBUG(("Doing probe-xkb for %s (udi=%s)", device_file, udi)); 310 if (get_kbd_layout_type(device_file, [all...] |
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 41 * @param device_file Special device file, e.g. /dev/cdrom 46 is_mounted (const char *device_file) argument 58 mpref.mnt_special = (char *)device_file; 331 char *device_file; local 357 if ((device_file = getenv ("HAL_PROP_BLOCK_DEVICE")) == NULL) 386 device_file, drive_type, udi, only_check_for_media)); 430 HAL_DEBUG (("Checking for partitions on %s", device_file)); 432 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) { 433 HAL_DEBUG (("Cannot open %s: %s", device_file, strerror (errno)));
|
/illumos-gate/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 423 char *device_file, *raw_device_file; local 462 if ((device_file = getenv ("HAL_PROP_BLOCK_DEVICE")) == NULL) { 471 if (!(is_dos = dos_to_dev(device_file, &devpath, &dos_num))) { 472 devpath = device_file; 496 HAL_DEBUG (("Doing probe-volume for %s\n", device_file));
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 683 char *device_file; member in struct:LibHalDrive_s 728 char *device_file; member in struct:LibHalVolume_s 803 libhal_free_string (drive->device_file); 832 libhal_free_string (vol->device_file); 941 LIBHAL_PROP_EXTRACT_STRING ("block.device", drive->device_file); 1146 LIBHAL_PROP_EXTRACT_STRING ("block.device", vol->device_file); 1299 * @param device_file Name of special device file, e.g. '/dev/hdc' 1303 libhal_drive_from_device_file (LibHalContext *hal_ctx, const char *device_file) argument 1319 device_file, &num_hal_udis, &error)) == NULL) { 1362 * @param device_file Nam 1366 libhal_volume_from_device_file(LibHalContext *hal_ctx, const char *device_file) argument [all...] |
H A D | libhal-storage.h | 195 const char *device_file); 281 const char *device_file);
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 1579 const char *device_file; local 1586 device_file = hal_device_property_get_string (d, "block.device");
|