/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | lshal.c | 203 * @param num_devices Total number of devices in device list 209 dump_children (char *udi, int num_devices, struct Device *devices, int depth) argument 213 for (i = 0; i < num_devices; i++) { 241 dump_children(devices[i].name, num_devices, devices, depth + 1); 252 int num_devices; local 259 device_names = libhal_get_all_devices (hal_ctx, &num_devices, &error); 265 devices = malloc (sizeof(struct Device) * num_devices); 271 for (i = 0;i < num_devices;i++) { 287 num_devices); 290 dump_children(NULL, num_devices, device [all...] |
H A D | hal-device.c | 191 int num_devices; local 213 if (!(device_names = libhal_get_all_devices(hal_ctx, &num_devices, &error))) { 221 num_devices = 1; 224 for(i = 0; i < num_devices; i++) {
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1129 int num_devices = 0; local 1182 fcio.fcio_olen = sizeof (num_devices); 1184 fcio.fcio_obuf = (caddr_t)&num_devices; 1190 if (num_devices == 0) { 1196 if ((dlist = (fc_port_dev_t *)calloc(num_devices, 1206 fcio.fcio_olen = num_devices * sizeof (fc_port_dev_t); 1218 num_devices = new_count; 1220 if ((dlist = (fc_port_dev_t *)calloc(num_devices, 1229 fcio.fcio_olen = num_devices * sizeof (fc_port_dev_t); 1242 num_devices, new_coun 1542 int fd, i, j, num_devices = 0, err, pathcnt = 1; local 2154 int fd, i, num_devices = 0, err, pathcnt = 1, new_count = 0; local 5094 int fd, err, num_devices = 0; local 5288 int num_devices = 0; local [all...] |
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | acpi.c | 616 int num_devices; local 625 (ctx, "info.category", "battery", &num_devices, &error)) != 627 for (i = 0; i < num_devices; i++) { 682 int num_devices; local 690 ctx, "info.category", "ac_adapter", &num_devices, &error)) != 692 for (i = 0; i < num_devices; i++) {
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.h | 238 char **libhal_get_all_devices (LibHalContext *ctx, int *num_devices, DBusError *error); 539 int *num_devices, 559 int *num_devices,
|
H A D | libhal.c | 1070 * @num_devices: the number of devices will be stored here 1080 libhal_get_all_devices (LibHalContext *ctx, int *num_devices, DBusError *error) argument 1090 *num_devices = 0; 1125 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); 2791 * @num_devices: pointer to store number of devices 2802 const char *value, int *num_devices, DBusError *error) 2853 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); 2957 * @num_devices: pointer to store number of devices 2966 const char *capability, int *num_devices, DBusError *error) 3015 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); 2800 libhal_manager_find_device_string_match(LibHalContext *ctx, const char *key, const char *value, int *num_devices, DBusError *error) argument 2965 libhal_find_device_by_capability(LibHalContext *ctx, const char *capability, int *num_devices, DBusError *error) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1646 size_t num_devices = 0; local 1686 IBNEX_NUM_DEVICE_NODES, 0, 0, 0, &num_devices)) != 1695 DPRINTF("cfga_list_ext: num_devices = %d\n", num_devices); 1712 if (!(num_hcas || num_devices)) { 1728 *nlistp = num_devices + 1; 1763 if (!expand || (!num_hcas && !num_devices)) { 1818 if (show_dynamic == 0 && index > num_devices)
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.h | 164 int num_devices; member in struct:sun_sas_port
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 160 uint32_t num_devices; /* number of devices found */ member in struct:cistpl_device_t
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | rmc_comm_hproto.h | 634 rsci8 num_devices; member in struct:dp_get_device_r
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 8230 int num_devices; local 8232 if (fcio->fcio_olen != sizeof (num_devices) || 8242 num_devices = port->fp_total_devices; 8263 num_devices = port->fp_total_devices; 8272 num_devices = 0; 8278 if (fp_copyout((void *)&num_devices, 8291 int num_devices; local 8301 num_devices = fcio->fcio_olen / sizeof (fc_port_dev_t); 8304 if (num_devices < port->fp_total_devices) { 8453 num_devices 10047 int num_devices; local 10476 int num_devices; local [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 461 dt->num_devices = 1;
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 2679 for (ret = 0; ret < device.num_devices; ret++) {
|